| /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/ |
| CtsCoverage.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);
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
| GoNegReqTestSuite.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| LocalServices.java | 16 package com.android.cts.verifier.p2p.testcase;
|
| P2pClientTestSuite.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| ServReqAllTestCase01.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| ServReqAllTestCase02.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| ServReqAllTestCase03.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| ServReqDnsPtrTestCase.java | 16 package com.android.cts.verifier.p2p.testcase;
|
| ServReqDnsTxtTestCase.java | 16 package com.android.cts.verifier.p2p.testcase;
|
| ServReqUpnpAllTestCase.java | 16 package com.android.cts.verifier.p2p.testcase;
|
| ServReqUpnpRootDeviceTestCase.java | 16 package com.android.cts.verifier.p2p.testcase;
|
| ServReqTestCase.java | 16 package com.android.cts.verifier.p2p.testcase; 24 import com.android.cts.verifier.p2p.testcase.ListenerTest.ListenerArgument;
|
| ActionListenerTest.java | 17 package com.android.cts.verifier.p2p.testcase;
|
| GoNegRespTestCase.java | 16 package com.android.cts.verifier.p2p.testcase; 30 public class GoNegRespTestCase extends TestCase {
|
| /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;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
| ResponderTestActivity.java | 32 import com.android.cts.verifier.p2p.testcase.TestCase; 33 import com.android.cts.verifier.p2p.testcase.TestCase.TestCaseListener; 48 private TestCase mTestCase; 75 abstract protected TestCase getTestCase(Context context);
|
| /cts/tests/tests/opengl/src/android/opengl/cts/ |
| OpenGLES20NativeActivity.java | 88 public OpenGLES20View(Context context, int category, int testCase, CountDownLatch latch) { 91 mRenderer = new GL2Renderer(category, testCase, latch); 114 public GL2Renderer(int category, int testcase, CountDownLatch latch) { 116 this.mTestCase = 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...] |