Home
last modified time | relevance | path

Searched refs:Test (Results 1 – 25 of 81) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java35 private Test[] mTests;
47 mTests = new Test[] { in onCreate()
145 private final Test mCheckStartedUnpinned = new Test(0) {
156 private final Test mCheckStartPinning = new Test(R.string.screen_pin_instructions) {
166 private final Test mCheckIsPinned = new Test(R.string.screen_pin_check_pinned) {
177 private final Test mCheckTryLeave = new Test(R.string.screen_pin_no_exit) {
188 private final Test mCheckUnpin = new Test(R.string.screen_pin_exit) {
199 private final Test mCheckUnpinFromCode = new Test(0) {
214 private final Test mDone = new Test(R.string.screen_pinning_done) {
221 private abstract class Test { class in ScreenPinningTestActivity
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestCase.java40 Map<String, Test> mChildTestMap = new LinkedHashMap<String, Test>();
64 public Collection<Test> getTests() { in getTests()
73 public Test findTest(String testName, boolean insertIfMissing) { in findTest()
74 Test t = mChildTestMap.get(testName); in findTest()
76 t = new Test(testName); in findTest()
93 for (Test t : mChildTestMap.values()) { in serialize()
114 if (eventType == XmlPullParser.START_TAG && parser.getName().equals(Test.TAG)) { in parse()
115 Test test = new Test(); in parse()
139 for (Test test : mChildTestMap.values()) { in addTestsWithStatus()
157 for (Test test : mChildTestMap.values()) { in countTests()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DTestTest.java32 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_empty()
40 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneLine()
49 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_oneNewLine()
57 assertEquals(stack, Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_twoLines()
66 Test.getFailureMessageFromStackTrace(stack)); in testGetFailureMessageFromStackTrace_multiLines()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DTest.java19 public class Test implements Comparable<Test> { class
23 public Test(String name, int timeout) { in Test() method in Test
37 public int compareTo(Test another) { in compareTo()
DTestCase.java27 private final List<Test> mTests = new ArrayList<Test>();
38 mTests.add(new Test(testName, timeout)); in addTest()
41 public Collection<Test> getTests() { in getTests()
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DTestCase.java24 private final ArrayList<Test> mTests = new ArrayList<Test>();
30 public void addTest(Test test) { in addTest()
38 public ArrayList<Test> getTests() { in getTests()
DTest.java19 public class Test { class
23 public Test(String name) { in Test() method in Test
/cts/tools/signature-tools/test/signature/comparator/
DClassCompareTest.java24 import org.junit.Test;
43 @Test
56 @Test
72 @Test
88 @Test
112 @Test
132 @Test
144 @Test
161 @Test
181 @Test
[all …]
DMethodCompareTests.java25 import org.junit.Test;
37 @Test
49 @Test
69 @Test
89 @Test
110 @Test
130 @Test
154 @Test
178 @Test
199 @Test
[all …]
DPackageCompareTest.java23 import org.junit.Test;
36 @Test
47 @Test
60 @Test
78 @Test
DAnnotationCompareTest.java22 import org.junit.Test;
32 @Test
56 @Test
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestSuite.java19 import junit.framework.Test;
47 public void addTest(Test test) { in addTest()
62 public void runTest(Test test, TestResult testResult) { in runTest()
72 public Test testAt(int index) { in testAt()
82 public Enumeration<Test> tests() { in tests()
DSensorCtsTestResult.java21 import junit.framework.Test;
52 public void addError(Test test, Throwable throwable) { in addError()
57 public void addFailure(Test test, AssertionFailedError assertionFailedError) { in addFailure()
72 public void endTest(Test test) { in endTest()
102 public void runProtected(Test test, Protectable protectable) { in runProtected()
123 public void startTest(Test test) { in startTest()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexUtilTest.java27 import org.junit.Test;
48 @Test
57 @Test
64 @Test
71 @Test
82 @Test
/cts/tools/signature-tools/test/signature/converter/
DConvertVisibilityTest.java25 import org.junit.Test;
38 @Test
56 @Test
74 @Test
92 @Test
110 @Test
125 @Test
141 @Test
157 @Test
DConvertParameterizedTypeTest.java24 import org.junit.Test;
42 @Test
63 @Test
85 @Test
96 @Test
109 @Test
DConvertPackageTest.java23 import org.junit.Test;
35 @Test
47 @Test
57 @Test
DConvertClassTest.java30 import org.junit.Test;
55 @Test
66 @Test
77 @Test
88 @Test
99 @Test
110 @Test
124 @Test
146 @Test
165 @Test
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestAdapter.java35 List<Test> tests;
38 private class Test { class in TestAdapter
42 protected Test(int instructions) { in Test() method in TestAdapter.Test
51 this.tests = new ArrayList<Test>(); in TestAdapter()
53 this.tests.add(new Test(t)); in TestAdapter()
86 Test test = tests.get(position); in getView()
/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java31 import org.junit.Test;
53 @Test
80 @Test
133 @Test
148 @Test
172 @Test
193 @Test
215 @Test
240 @Test
270 @Test
[all …]
/cts/tests/signature-tests/src/android/signature/cts/tests/
DAllTests.java19 import junit.framework.Test;
33 public static Test suite() { in suite()
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DUnitTests.java20 import junit.framework.Test;
37 public static Test suite() { in suite()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DJarHostTest.java37 import junit.framework.Test;
52 public class JarHostTest implements IDeviceTest, IRemoteTest, IBuildReceiver, Test {
193 Test junitTest = loadTest(testId.getClassName(), testId.getTestName()); in run()
203 … private void runTest(TestIdentifier testId, final Test junitTest, final TestResult junitResult) { in runTest()
233 private final Test mJunitTest;
237 TestRunnable(Test junitTest, TestResult junitResult) { in TestRunnable()
275 private Test loadTest(String className, String testName) { in loadTest()
285 } else if (Test.class.isAssignableFrom(testClass)) { in loadTest()
286 Test test = (Test)testClass.newInstance(); in loadTest()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/
DFuncTests.java21 import junit.framework.Test;
37 public static Test suite() { in suite()
/cts/tools/vm-tests-tf/src/dot/junit/format/
DAllTests.java19 import junit.framework.Test;
32 public static final Test suite() { in suite()

1234