Home
last modified time | relevance | path

Searched refs:MockTest (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestCaseTest.java45 public static class MockTest extends DeviceTestCase { class in DeviceTestCaseTest
104 MockTest test = new MockTest(); in testRun_suite()
107 listener.testRunStarted(MockTest.class.getName(), 2); in testRun_suite()
108 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite()
109 final TestDescription test2 = new TestDescription(MockTest.class.getName(), "test2"); in testRun_suite()
129 MockTest test = new MockTest(); in testRun_includeFilter()
132 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_includeFilter()
133 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_includeFilter()
151 MockTest test = new MockTest(); in testRun_excludeFilter()
154 listener.testRunStarted(MockTest.class.getName(), 1); in testRun_excludeFilter()
[all …]
DDeviceTestSuiteTest.java38 public static class MockTest extends DeviceTestCase { class in DeviceTestSuiteTest
61 suite.addTestSuite(MockTest.class); in testRun_suite()
65 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite()
66 final TestDescription test2 = new TestDescription(MockTest.class.getName(), "test2"); in testRun_suite()
/tools/test/connectivity/acts/framework/tests/
Dacts_test_decorators_test.py82 class MockTest(base_test.BaseTestClass): class
88 getattr(MockTest, MockTest.TEST_LOGIC_ATTR, None)()
102 MOCK_TEST_RUN_LIST = [(MockTest.__name__, [MockTest.TEST_CASE_LIST])]
108 if hasattr(MockTest, MockTest.TEST_LOGIC_ATTR):
109 delattr(MockTest, MockTest.TEST_LOGIC_ATTR)
110 setattr(MockTest, MockTest.TEST_LOGIC_ATTR, func)
113 self.test_runner.run(MockTest)