/external/icu4c/test/perf/unisetperf/ |
unisetperf.cpp | 135 Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {} 145 return testcase.countInputCodePoints+testcase.spanCount-1; 149 return testcase.spanCount; 152 const UnicodeSetPerformanceTest &testcase; member in class:Command 157 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { 163 if(testcase.set.contains(c)) [all...] |
/external/icu4c/test/perf/utrie2perf/ |
utrie2perf.cpp | 97 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} 106 return testcase.countInputCodePoints; 111 const UTrie2PerfTest &testcase; member in class:Command 117 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} 119 static UPerfFunction* get(const UTrie2PerfTest &testcase) { 120 return new CheckFCD(testcase); 124 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen() [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/ |
browser.js | 66 function TestCase(n, d, e, a) 87 var testcase = new TestCase(gTestName, description, expected, actual); 88 testcase.passed = _reportCompare(expected, actual, description); 96 var testcase; 100 testcase = testcases[tc - 1]; 101 testcase.passed = false; 113 testcase = new TestCase(gTestName, DESCRIPTION, EXPECTED, "error"); 117 testcase.passed = true [all...] |
/external/gtest/test/ |
gtest_xml_output_unittest.py | 53 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> 56 <testcase name="Fails" status="run" time="*" classname="FailedTest"> 60 </testcase> 63 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/> 64 <testcase name="Fails" status="run" time="*" classname="MixedResultTest"> 71 </testcase> 72 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/> 75 <testcase name="DISABLED_test_not_run" status="notrun" time="*" classname="DisabledTest"/> 78 <testcase name="OneProperty" status="run" time="*" classname="PropertyRecordingTest" key_1="1"/> 79 <testcase name="IntValuedProperty" status="run" time="*" classname="PropertyRecordingTest" key_int="1"/ [all...] |
/external/protobuf/gtest/test/ |
gtest_xml_output_unittest.py | 59 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> 62 <testcase name="Fails" status="run" time="*" classname="FailedTest"> 66 </testcase> 69 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/> 70 <testcase name="Fails" status="run" time="*" classname="MixedResultTest"> 77 </testcase> 78 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/> 81 <testcase name="OutputsCData" status="run" time="*" classname="XmlQuotingTest"> 85 </testcase> 88 <testcase name="InvalidCharactersInMessage" status="run" time="*" classname="InvalidCharactersTest" [all...] |
/external/chromium/testing/gtest/test/ |
gtest_xml_output_unittest.py | 59 <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/> 62 <testcase name="Fails" status="run" time="*" classname="FailedTest"> 66 </testcase> 69 <testcase name="Succeeds" status="run" time="*" classname="MixedResultTest"/> 70 <testcase name="Fails" status="run" time="*" classname="MixedResultTest"> 77 </testcase> 78 <testcase name="DISABLED_test" status="notrun" time="*" classname="MixedResultTest"/> 81 <testcase name="OutputsCData" status="run" time="*" classname="XmlQuotingTest"> 85 </testcase> 88 <testcase name="InvalidCharactersInMessage" status="run" time="*" classname="InvalidCharactersTest" [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...] |
tst_qscriptvalue_generated_totype.cpp | 245 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 246 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.first]; 423 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 424 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.first]; 664 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 665 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.first] 896 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 1074 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 1311 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 1543 QPair<QString, QScriptValue> testcase = initScriptValues(i); local 1775 QPair<QString, QScriptValue> testcase = initScriptValues(i); local [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
GestureDetectorTestUtil.java | 29 * @param testcase InstrumentationTestCase 32 public static void testGestureDetector(InstrumentationTestCase testcase, 35 TouchUtils.clickView(testcase, view); 36 TouchUtils.longClickView(testcase, view); 37 TouchUtils.scrollToBottom(testcase, activity, activity.getViewGroup()); 38 TouchUtils.touchAndCancelView(testcase, view); 52 TouchUtils.drag(testcase, fromX, toX, fromY, toY, stepCount); 64 TouchUtils.tapView(testcase, view); 65 TouchUtils.tapView(testcase, view);
|
/external/icu4c/test/perf/utfperf/ |
utfperf.cpp | 122 Command(const UtfPerformanceTest &testcase) 123 : testcase(testcase), 124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), 126 cnv=ucnv_open(testcase.charset, &errorCode); 128 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode)); 143 const UtfPerformanceTest &testcase; member in class:Command 153 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} [all...] |
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
OidTest.java | 26 import junit.framework.TestCase; 35 public class OidTest extends TestCase { 41 Object[][] testcase = new Object[][] { local 73 for (int i = 0; i < testcase.length; i++) { 75 String strOid = (String) testcase[i][0]; 76 byte[] enc = (byte[]) testcase[i][1]; 99 fail("Testcase: " + i + "\nUnexpected exception: " + e); 148 String[] testcase = new String[] { "", // empty string local 168 for (int i = 0; i < testcase.length; i++) { 170 new Oid(testcase[i]) [all...] |
/external/valgrind/main/none/tests/ |
tls.c | 46 struct testcase { struct 53 struct testcase *test = (struct testcase *)p; 74 static const struct testcase tests[] = {
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
outputcapture.py | 57 def assert_outputs(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stderr="", expected_exception=None): 60 return_value = testcase.assertRaises(expected_exception, function, *args, **kwargs) 64 testcase.assertEqual(stdout_string, expected_stdout) 65 testcase.assertEqual(stderr_string, expected_stderr) 70 class OutputCaptureTestCaseBase(unittest.TestCase): 72 unittest.TestCase.setUp(self) 80 unittest.TestCase.tearDown(self)
|
/cts/ |
CtsTestCoverage.mk | 66 $(foreach testcase,$(2),$(eval $(call add-testcase-apk,$(3),$(testcase)))) 74 define add-testcase-apk
|
/external/icu4c/test/iotest/ |
stream.cpp | 327 char testcase[10]; local 328 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL); 329 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF); 331 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL); 332 testString(UStr, u_austrcpy(testcase, testCase4), expectedResultD, IOSTREAM_EOF); 333 testString(UStr, u_austrcpy(testcase, testCase5), expectedResultD, IOSTREAM_GOOD); 334 testString(UStr, u_austrcpy(testcase, testCase6), expectedResultD, IOSTREAM_GOOD);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BerInputStreamTest.java | 29 import junit.framework.TestCase; 41 public class BerInputStreamTest extends TestCase { 52 Object[][] testcase = { local 80 for (int i = 0; i < testcase.length; i++) { 83 new ByteArrayInputStream((byte[]) testcase[i][0])); 85 int expected = ((BigInteger) testcase[i][1]).intValue(); 90 fail("Testcase: " + i + "\nUnexpected exception." + e); 94 // negative testcase
|
IntegerTest.java | 29 import junit.framework.TestCase; 43 public class IntegerTest extends TestCase { 142 int[] testcase = new int[] { 0, 1, -1, 127, -127, 128, -128, 32767, local 145 for (int i = 0; i < testcase.length; i++) { 146 assertEquals("Testcase: " + i, testcase[i], ASN1Integer 147 .toIntValue(ASN1Integer.fromIntValue(testcase[i])));
|
/external/icu4c/test/intltest/ |
astrotst.cpp | 440 static const double testcase[][10] = {{2012, 5, 20 , 16 , 48, 59}, local 455 for (int32_t i = 0; i < (int32_t)(sizeof(testcase)/sizeof(testcase[0])); i++) { 457 logln((UnicodeString)"CASE["+i+"]: Year "+(int32_t)testcase[i][0]+" Month "+(int32_t)testcase[i][1]+" Day "+ 458 (int32_t)testcase[i][2]+" Hour "+(int32_t)testcase[i][3]+" Minutes "+(int32_t)testcase[i][4]+ 459 " Seconds "+(int32_t)testcase[i][5]); 460 gc->set((int32_t)testcase[i][0], (int32_t)testcase[i][1]-1, (int32_t)testcase[i][2], (int32_t)testcase[i][3], (int32_t)testc (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
splice1.js | 125 var testcase = new TestCase( SECTION, testname, true, passed); 127 testcase.reason = reason; 128 return testcase;
|
splice2.js | 123 var testcase = new TestCase(SECTION, testname, true, passed); 124 if (!passed) testcase.reason = reason; 125 return testcase;
|
/frameworks/base/test-runner/src/android/test/ |
TestRunner.java | 74 mJUnitClass = Class.forName("junit.framework.TestCase", false, null); 290 TestCase testcase = null; local 291 if (test instanceof TestCase) { 292 testcase = (TestCase) test; 298 if (testcase != null) { 299 testcase.setUp(mContext); 315 if (testcase != null && didSetup) { 317 testcase.tearDown() 338 AndroidTestCase testcase = (AndroidTestCase) test; local 499 AndroidTestCase testcase = (AndroidTestCase) test; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/ |
SHA1PRNG_SecureRandomTest.java | 26 import junit.framework.TestCase; 46 public class SHA1PRNG_SecureRandomTest extends TestCase { 57 private int testcase = 0; field in class:SHA1PRNG_SecureRandomTest 127 assertTrue("NOT same: testcase =" + testcase + 176 assertFalse("the same sequencies :: testcase=" + testcase + 204 switch ( testcase ) { 370 testcase++;
|
/system/extras/tests/sdcard/ |
Android.mk | 29 testcase.cpp
|
/external/icu4c/test/cintltst/ |
cnumtst.c | 43 #define TESTCASE(x) addTest(root, &x, "tsformat/cnumtst/" #x) 47 TESTCASE(TestNumberFormat); 48 TESTCASE(TestSpelloutNumberParse); 49 TESTCASE(TestSignificantDigits); 50 TESTCASE(TestSigDigRounding); 51 TESTCASE(TestNumberFormatPadding); 52 TESTCASE(TestInt64Format); 53 TESTCASE(TestNonExistentCurrency); 54 TESTCASE(TestCurrencyRegression); 55 TESTCASE(TestTextAttributeCrash) 1711 const char *testcase; local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServer.java | 28 import junit.framework.TestCase; 85 TestCase testcase = null; field in class:Support_HttpServer 87 public Support_HttpServer(Support_ServerSocket serversocket, TestCase test) { 89 this.testcase = test;
|