/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
LineVerifierElem.java | 23 import junit.framework.TestCase; 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); 65 TestCase.fail("Multiple \"END:VCARD\" line found"); 74 TestCase.fail("Multiple VERSION line + found"); 82 TestCase.fail("Property other than BEGIN came before BEGIN property: " + line); 84 TestCase.fail("Property other than END came after END property: " + line); 91 TestCase.fail("Unexpected line: " + line); 102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
|
/ndk/tests/device/test-gnustl-full/unit/ |
advance_test.cpp | 11 // TestCase class 13 class AdvanceTest : public CPPUNIT_NS::TestCase
|
modulus_test.cpp | 11 // TestCase class 13 class ModulusTest : public CPPUNIT_NS::TestCase
|
strstream_test.cpp | 14 // TestCase class 16 class StrstreamTest : public CPPUNIT_NS::TestCase
|
/ndk/tests/device/test-stlport/unit/ |
advance_test.cpp | 11 // TestCase class 13 class AdvanceTest : public CPPUNIT_NS::TestCase
|
modulus_test.cpp | 11 // TestCase class 13 class ModulusTest : public CPPUNIT_NS::TestCase
|
strstream_test.cpp | 14 // TestCase class 16 class StrstreamTest : public CPPUNIT_NS::TestCase
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityRecordTest.java | 25 import junit.framework.TestCase; 83 TestCase.assertEquals("addedCount not properly recycled", -1, record.getAddedCount()); 84 TestCase.assertNull("beforeText not properly recycled", record.getBeforeText()); 85 TestCase.assertFalse("checked not properly recycled", record.isChecked()); 86 TestCase.assertNull("className not properly recycled", record.getClassName()); 87 TestCase.assertNull("contentDescription not properly recycled", 89 TestCase.assertEquals("currentItemIndex not properly recycled", -1, 91 TestCase.assertFalse("enabled not properly recycled", record.isEnabled()); 92 TestCase.assertEquals("fromIndex not properly recycled", -1, record.getFromIndex()); 93 TestCase.assertFalse("fullScreen not properly recycled", record.isFullScreen()) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.4.js | 84 array[item++] = new TestCase( SECTION, "escape.length", 1, escape.length ); 85 array[item++] = new TestCase( SECTION, "escape.length = null; escape.length", 1, eval("escape.length = null; escape.length") ); 86 array[item++] = new TestCase( SECTION, "delete escape.length", false, delete escape.length ); 87 array[item++] = new TestCase( SECTION, "delete escape.length; escape.length", 1, eval("delete escape.length; escape.length") ); 88 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS", "", eval("var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS") ); 90 array[item++] = new TestCase( SECTION, "escape()", "undefined", escape() ); 91 array[item++] = new TestCase( SECTION, "escape('')", "", escape('') ); 92 array[item++] = new TestCase( SECTION, "escape( null )", "null", escape(null) ); 93 array[item++] = new TestCase( SECTION, "escape( void 0 )", "undefined", escape(void 0) ); 94 array[item++] = new TestCase( SECTION, "escape( true )", "true", escape( true ) ) [all...] |
15.1.2.5-1.js | 82 array[item++] = new TestCase( SECTION, "unescape.length", 1, unescape.length ); 83 array[item++] = new TestCase( SECTION, "unescape.length = null; unescape.length", 1, eval("unescape.length=null; unescape.length") ); 84 array[item++] = new TestCase( SECTION, "delete unescape.length", false, delete unescape.length ); 85 array[item++] = new TestCase( SECTION, "delete unescape.length; unescape.length", 1, eval("delete unescape.length; unescape.length") ); 86 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in unescape ) { MYPROPS+= p }; MYPROPS", "", eval("var MYPROPS=''; for ( var p in unescape ) { MYPROPS+= p }; MYPROPS") ); 88 array[item++] = new TestCase( SECTION, "unescape()", "undefined", unescape() ); 89 array[item++] = new TestCase( SECTION, "unescape('')", "", unescape('') ); 90 array[item++] = new TestCase( SECTION, "unescape( null )", "null", unescape(null) ); 91 array[item++] = new TestCase( SECTION, "unescape( void 0 )", "undefined", unescape(void 0) ); 92 array[item++] = new TestCase( SECTION, "unescape( true )", "true", unescape( true ) ) [all...] |
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
tst_qscriptvalue_generated_istype.cpp | 176 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 177 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(testcase.first); 211 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 212 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(testcase.first); 246 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 247 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(testcase.first) 329 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 365 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 397 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 459 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 492 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 546 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 578 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 611 QPair<QString, QScriptValue> testcase = initScriptValues(i); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.6-2.js | 101 array[item++] = new TestCase( SECTION, "function f() { return this; }; function g() { var h = f; return h(); }; g().toString()", GLOBAL, g().toString() ); 104 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length", 1, String.prototype.indexOf.length ); 105 array[item++] = new TestCase( SECTION, "String.prototype.indexOf.length = null; String.prototype.indexOf.length", 1, eval("String.prototype.indexOf.length = null; String.prototype.indexOf.length") ); 106 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length", false, delete String.prototype.indexOf.length ); 107 array[item++] = new TestCase( SECTION, "delete String.prototype.indexOf.length; String.prototype.indexOf.length", 1, eval("delete String.prototype.indexOf.length; String.prototype.indexOf.length") ); 109 array[item++] = new TestCase( SECTION, "var s = new String(); s.indexOf()", -1, eval("var s = new String(); s.indexOf()") ); 122 array[item++] = new TestCase( SECTION, 128 array[item++] = new TestCase( SECTION, 138 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('h')", 0, foo.indexOf("h") ); 139 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('e')", 1, foo.indexOf("e") ) [all...] |
15.5.4.4-4.js | 64 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "n", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 65 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "u", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 66 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 67 array[item++] = new TestCase( SECTION, "x = null; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "l", eval("x=null; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") ); 69 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "u", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 70 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "n", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(1)") ); 71 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(2)", "d", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(2)") ); 72 array[item++] = new TestCase( SECTION, "x = undefined; x.__proto.charAt = String.prototype.charAt; x.charAt(3)", "e", eval("x=undefined; x.__proto__.charAt = String.prototype.charAt; x.charAt(3)") ); 74 array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt; x.charAt(0)", "f", eval("x=false; x.__proto__.charAt = String.prototype.charAt; x.charAt(0)") ); 75 array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt; x.charAt(1)", "a" (…) [all...] |
15.5.4.4-2.js | 61 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)", "t", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(0)") ); 62 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(1)") ); 63 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)", "u", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(2)") ); 64 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)", "e", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(3)") ); 65 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(4)") ); 66 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)", "", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(-1)") ); 68 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)", "r", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(true)") ); 69 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(false)", "t", eval("x = new Boolean(true); x.charAt=String.prototype.charAt;x.charAt(false)") ); 71 array[item++] = new TestCase( SECTION, "x = new String(); x.charAt(0)", "", eval("x=new String();x.charAt(0)") ); 72 array[item++] = new TestCase( SECTION, "x = new String(); x.charAt(1)", "", eval("x=new String();x.charAt(1)") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/String/ |
charCodeAt.js | 44 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-2)", NaN, aString.charCodeAt(-2)); 45 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-1)", NaN, aString.charCodeAt(-1)); 46 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 0)", 116, aString.charCodeAt( 0)); 47 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 1)", 69, aString.charCodeAt( 1)); 48 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 2)", 115, aString.charCodeAt( 2)); 49 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 3)", 53, aString.charCodeAt( 3)); 50 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 4)", NaN, aString.charCodeAt( 4)); 51 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 5)", NaN, aString.charCodeAt( 5)); 52 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( Infinity)", NaN, aString.charCodeAt( Infinity)); 53 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-Infinity)", NaN, aString.charCodeAt(-Infinity)) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/operator/ |
strictEquality.js | 42 testcases[count++] = new TestCase( SECTION, "('8' === 8) ", 45 testcases[count++] = new TestCase( SECTION, "(8 === 8) ", 48 testcases[count++] = new TestCase( SECTION, "(8 === true) ", 51 testcases[count++] = new TestCase( SECTION, "(new String('') === new String('')) ", 54 testcases[count++] = new TestCase( SECTION, "(new Boolean(true) === new Boolean(true))", 59 testcases[count++] = new TestCase( SECTION, "(anObject === anObject) ", 62 testcases[count++] = new TestCase( SECTION, "(anObject === { one:1 , two:2 }) ", 65 testcases[count++] = new TestCase( SECTION, "({ one:1 , two:2 } === anObject) ", 68 testcases[count++] = new TestCase( SECTION, "(null === null) ", 71 testcases[count++] = new TestCase( SECTION, "(null === 0) " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.2.2-1.js | 68 array[item++] = new TestCase( SECTION, "new Array(0)", "", (new Array(0)).toString() ); 69 array[item++] = new TestCase( SECTION, "typeof new Array(0)", "object", (typeof new Array(0)) ); 70 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length ); 71 array[item++] = new TestCase( SECTION, "(new Array(0)).toString", Array.prototype.toString, (new Array(0)).toString ); 73 array[item++] = new TestCase( SECTION, "new Array(1)", "", (new Array(1)).toString() ); 74 array[item++] = new TestCase( SECTION, "new Array(1).length", 1, (new Array(1)).length ); 75 array[item++] = new TestCase( SECTION, "(new Array(1)).toString", Array.prototype.toString, (new Array(1)).toString ); 77 array[item++] = new TestCase( SECTION, "(new Array(-0)).length", 0, (new Array(-0)).length ); 78 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length ); 80 array[item++] = new TestCase( SECTION, "(new Array(10)).length", 10, (new Array(10)).length ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.13.2-1.js | 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2; VAR1") ); 64 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 *= VAR2", 0, eval("VAR1 = 0; VAR2=1; VAR1 *= VAR2") ); 65 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2=1; VAR1 *= VAR2;VAR1", 0, eval("VAR1 = 0; VAR2=1; VAR1 *= VAR2;VAR1") ); 67 array[item++] = new TestCase( SECTION, "VAR1 = 0xFF; VAR2 = 0xA, VAR1 *= VAR2", 2550, eval("VAR1 = 0XFF; VAR2 = 0XA, VAR1 *= VAR2") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = 0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 72 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 73 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.NEGATIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 74 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = 0; VAR2 = Number.NEGATIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 76 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= Infinity; VAR2 *= VAR1", Number.NaN, eval("VAR1 = 0; VAR2 = (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.34-1.js | 68 testcases[testcases.length] = new TestCase( 74 testcases[testcases.length] = new TestCase( 83 testcases[testcases.length] = new TestCase( 154 testcases[item++] = new TestCase( SECTION, DateString+".getTime()", UTCDate.value, DateCase.getTime() ); 155 testcases[item++] = new TestCase( SECTION, DateString+".valueOf()", UTCDate.value, DateCase.valueOf() ); 157 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 158 testcases[item++] = new TestCase( SECTION, DateString+".getUTCMonth()", UTCDate.month, DateCase.getUTCMonth() ); 159 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() ); 160 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDay()", UTCDate.day, DateCase.getUTCDay() ); 161 testcases[item++] = new TestCase( SECTION, DateString+".getUTCHours()", UTCDate.hours, DateCase.getUTCHours() ) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
GoNegResponderTestActivity.java | 22 import com.android.cts.verifier.p2p.testcase.GoNegRespTestCase; 23 import com.android.cts.verifier.p2p.testcase.TestCase; 38 protected TestCase getTestCase(Context context) {
|
GoTestActivity.java | 22 import com.android.cts.verifier.p2p.testcase.GoTestCase; 23 import com.android.cts.verifier.p2p.testcase.TestCase; 38 protected TestCase getTestCase(Context context) {
|
ServiceResponderTestActivity.java | 22 import com.android.cts.verifier.p2p.testcase.ServRespTestCase; 23 import com.android.cts.verifier.p2p.testcase.TestCase; 38 protected TestCase getTestCase(Context context) {
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
TestCase.java | 23 class TestCase implements Comparable<TestCase> { 29 public TestCase(String name) { 46 public int compareTo(TestCase another) {
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testrecognizers.py | 7 class TestBaseRecognizer(unittest.TestCase): 20 class TestTokenSource(unittest.TestCase): 21 """Testcase to the antlr3.TokenSource class""" 54 class TestLexer(unittest.TestCase):
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
NodeChangeListenerTest.java | 23 import junit.framework.TestCase; 28 public class NodeChangeListenerTest extends TestCase { 33 * @see TestCase#setUp() 42 * @see TestCase#tearDown()
|