Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 898) sorted by relevance

12345678910>>...36

/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java23 import android.test.AndroidTestCase;
329 DateTest test = dayTests[index]; in testNormalize1() local
330 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
333 local.monthDay += test.offset; in testNormalize1()
335 if (local.year != test.year2 || local.month != test.month2 in testNormalize1()
336 || local.monthDay != test.day2 || local.hour != test.hour2 in testNormalize1()
337 || local.minute != test.minute2) { in testNormalize1()
339 test.year2, test.month2, test.day2, test.hour2, test.minute2); in testNormalize1()
347 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
350 local.monthDay += test.offset; in testNormalize1()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DResultFilter.java78 public void testStarted(TestIdentifier test) { in testStarted() argument
79 if (isKnownTest(test)) { in testStarted()
80 super.testStarted(test); in testStarted()
82 CLog.d("Skipping reporting unknown test %s", test); in testStarted()
90 public void testFailed(TestFailure status, TestIdentifier test, String trace) { in testFailed() argument
91 if (isKnownTest(test)) { in testFailed()
92 super.testFailed(status, test, trace); in testFailed()
100 public void testEnded(TestIdentifier test, Map<String, String> testMetrics) { in testEnded() argument
101 if (isKnownTest(test)) { in testEnded()
102 super.testEnded(test, testMetrics); in testEnded()
[all …]
DTestFilter.java59 public void addExcludedTest(TestIdentifier test) { in addExcludedTest() argument
60 mExcludedTests.add(test); in addExcludedTest()
101 for (TestIdentifier test : tests) { in filter()
102 if (mIncludedClass != null && !test.getClassName().equals(mIncludedClass)) { in filter()
106 if (mIncludedMethod != null && !test.getTestName().equals(mIncludedMethod)) { in filter()
110 if (mExcludedClasses.contains(test.getClassName())) { in filter()
114 if (mExcludedTests.contains(test)) { in filter()
118 filteredTests.add(test); in filter()
/cts/tests/core/runner/src/android/test/
DInstrumentationCtsTestRunner.java17 package android.test;
29 import android.test.suitebuilder.TestMethod;
30 import android.test.suitebuilder.annotation.HasAnnotation;
123 public void startTest(Test test) { in getAndroidTestRunner()
124 if (test.getClass() != lastClass) { in getAndroidTestRunner()
125 lastClass = test.getClass(); in getAndroidTestRunner()
126 printMemory(test.getClass()); in getAndroidTestRunner()
130 test.getClass().getClassLoader()); in getAndroidTestRunner()
136 public void endTest(Test test) { in getAndroidTestRunner()
137 if (test instanceof TestCase) { in getAndroidTestRunner()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestCase.java115 Test test = new Test(); in parse() local
116 test.parse(parser); in parse()
117 mChildTestMap.put(test.getName(), test); in parse() local
139 for (Test test : mChildTestMap.values()) { in addTestsWithStatus()
140 if (resultFilter.equals(test.getResult())) { in addTestsWithStatus()
141 tests.add(new TestIdentifier(fullClassName, test.getName())); in addTestsWithStatus()
157 for (Test test : mChildTestMap.values()) { in countTests()
158 if (test.getResult().equals(status)) { in countTests()
/cts/tools/tradefed-host/
DREADME5 generation test harness for CTS.
7 cts-tradefed is built on top of the Android Trade Federation test harness.
13 support running CTS in a continuous test environment.
14 - supports sharding a CTS test run across multiple devices in parallel
15 - automatically continue a CTS test run on another device if connection
38 To run a test plan on a single device:
48 To run a test package:
51 To run a test class:
52 'run cts --class <full test class name>'
54 To shard a plan test run on multiple devices
/cts/tests/tests/content/src/android/content/cts/
DSearchRecentSuggestionsProviderTest.java23 import android.test.AndroidTestCase;
24 import android.test.IsolatedContext;
25 import android.test.RenamingDelegatingContext;
26 import android.test.mock.MockContentResolver;
27 import android.test.mock.MockContext;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DGoNegReqTestSuite.java50 for (ReqTestCase test: sTestSuite) { in getTestCase()
51 if (test.getTestId().equals(testId)) { in getTestCase()
52 return test; in getTestCase()
DP2pClientTestSuite.java50 for (ReqTestCase test: sTestSuite) { in getTestCase()
51 if (test.getTestId().equals(testId)) { in getTestCase()
52 return test; in getTestCase()
/cts/tests/tests/calendarcommon/src/android/calendarcommon2/cts/
DCalendarcommon2Test.java19 import android.test.InstrumentationCtsTestRunner;
20 import android.test.InstrumentationTestCase;
21 import android.test.suitebuilder.annotation.MediumTest;
/cts/tests/tests/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java24 import android.test.ActivityInstrumentationTestCase2;
25 import android.test.suitebuilder.annotation.MediumTest;
26 import android.test.suitebuilder.annotation.Suppress;
/cts/tools/utils/
DCollectAllTests.java376 Class<? extends TestCase> test) { in addToTests() argument
377 Class testClass = test; in addToTests()
399 addToTests(expectations, testCases, test, testName); in addToTests()
407 Class<? extends TestCase> test, in addToTests() argument
410 String testClassName = test.getName(); in addToTests()
411 String knownFailure = getKnownFailure(test, testName); in addToTests()
413 if (isKnownFailure(test, testName)) { in addToTests()
414 System.out.println("ignoring known failure: " + test + "#" + testName); in addToTests()
416 } else if (isBrokenTest(test, testName)) { in addToTests()
417 System.out.println("ignoring broken test: " + test + "#" + testName); in addToTests()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DT_invoke_super_range_4.java21 public native void test(); in test() method in T_invoke_super_range_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DT_invoke_virtual_range_4.java21 public native void test(); in test() method in T_invoke_virtual_range_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_6.java21 public static native void test(); in test() method in T_invoke_static_6
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_void/d/
DT_return_void_3.java21 private synchronized void test() { in test() method in T_return_void_3
26 test(); in run()
DT_return_void_1.java22 test(); in run()
26 private static void test() { in test() method in T_return_void_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_wide/d/
DT_return_wide_3.java21 private synchronized long test() { in test() method in T_return_wide_3
26 test(); in run()
DT_return_wide_1.java22 test(); in run()
26 private static long test() { in test() method in T_return_wide_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
DT_invoke_static_range_6.java21 public static native void test(); in test() method in T_invoke_static_range_6
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_4.java21 public native void test(); in test() method in T_invoke_virtual_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DT_invoke_super_4.java21 public native void test(); in test() method in T_invoke_super_4
24 test(); in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_return/d/
DT_opc_return_3.java21 private synchronized long test() { in test() method in T_opc_return_3
26 test(); in run()
DT_opc_return_1.java22 test(); in run()
26 private static int test() { in test() method in T_opc_return_1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/
DT_return_object_8.java21 private synchronized String test() { in test() method in T_return_object_8
26 test(); in run()

12345678910>>...36