Home
last modified time | relevance | path

Searched refs:test1 (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestCaseTest.java47 public void test1() { in test1() method in DeviceTestCaseTest.MockTest
58 public void test1() {} in test1() method in DeviceTestCaseTest.MockAnnotatedTest
66 public void test1() { in test1() method in DeviceTestCaseTest.DuplicateTest
67 test1(""); in test1()
70 private void test1(String arg) { in test1() method in DeviceTestCaseTest.DuplicateTest
96 public void test1() throws DeviceNotAvailableException { in test1() method in DeviceTestCaseTest.MockAbortTest
108 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite() local
110 listener.testStarted(test1); in testRun_suite()
113 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite()
133 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_includeFilter() local
[all …]
DDeviceTestSuiteTest.java40 public void test1() { in test1() method in DeviceTestSuiteTest.MockTest
52 public void test1() throws DeviceNotAvailableException { in test1() method in DeviceTestSuiteTest.MockAbortTest
65 final TestDescription test1 = new TestDescription(MockTest.class.getName(), "test1"); in testRun_suite() local
67 listener.testStarted(test1); in testRun_suite()
70 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite()
89 final TestDescription test1 = new TestDescription(MockAbortTest.class.getName(), "test1"); in testRun_deviceNotAvail() local
91 listener.testStarted(test1); in testRun_deviceNotAvail()
92 listener.testFailed(EasyMock.eq(test1), in testRun_deviceNotAvail()
94 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_deviceNotAvail()
DInstrumentationFileTestTest.java147 final TestDescription test1 = new TestDescription("ClassFoo1", "methodBar1"); in testRun_reRunOneFailedToCompleteTest() local
150 testsList.add(test1); in testRun_reRunOneFailedToCompleteTest()
162 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_reRunOneFailedToCompleteTest()
164 TestDescription.convertToIdentifier(test1), Collections.emptyMap()); in testRun_reRunOneFailedToCompleteTest()
217 mMockListener.testStarted(EasyMock.eq(test1), EasyMock.anyLong()); in testRun_reRunOneFailedToCompleteTest()
219 EasyMock.eq(test1), EasyMock.anyLong(), EasyMock.eq(new HashMap<String, Metric>())); in testRun_reRunOneFailedToCompleteTest()
247 final TestDescription test1 = new TestDescription("ClassFoo1", "methodBar1"); in testRun_serialReRunOfTwoFailedToCompleteTests() local
249 testsList.add(test1); in testRun_serialReRunOfTwoFailedToCompleteTests()
260 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_serialReRunOfTwoFailedToCompleteTests()
277 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_serialReRunOfTwoFailedToCompleteTests()
[all …]
DGoogleBenchmarkTestTest.java92 final String test1 = "test1"; in testRun() local
94 MockFileUtil.setMockDirContents(mMockITestDevice, nativeTestPath, test1, test2); in testRun()
103 mMockITestDevice.executeShellCommand(EasyMock.contains(test1), EasyMock.same(mMockReceiver), in testRun()
125 mMockInvocationListener.testRunStarted(test1, 3); in testRun()
174 final String test1 = "test1"; in testRun_withModuleName() local
176 MockFileUtil.setMockDirContents(mMockITestDevice, nativeTestPath, test1, test2); in testRun_withModuleName()
185 mMockITestDevice.executeShellCommand(EasyMock.contains(test1), EasyMock.same(mMockReceiver), in testRun_withModuleName()
207 mMockInvocationListener.testRunStarted(test1, 3); in testRun_withModuleName()
223 final String test1 = "test1"; in testRun_withRunReportName() local
226 MockFileUtil.setMockDirContents(mMockITestDevice, nativeTestPath, test1); in testRun_withRunReportName()
[all …]
DDeviceSuiteTest.java167 TestDescription test1 = in testRunDeviceSuite() local
171 mListener.testStarted(EasyMock.eq(test1)); in testRunDeviceSuite()
172 mListener.testEnded(EasyMock.eq(test1), EasyMock.eq(new HashMap<String, Metric>())); in testRunDeviceSuite()
196 TestDescription test1 = in testRun_withFiltering() local
198 mListener.testStarted(EasyMock.eq(test1)); in testRun_withFiltering()
199 mListener.testEnded(EasyMock.eq(test1), EasyMock.eq(new HashMap<String, Metric>())); in testRun_withFiltering()
215 TestDescription test1 = in testRun_withOption() local
219 mListener.testStarted(EasyMock.eq(test1)); in testRun_withOption()
223 EasyMock.eq(test1), EasyMock.eq(TfMetricProtoUtil.upgradeConvert(expected))); in testRun_withOption()
240 TestDescription test1 = in testRunDeviceSuite_junit3() local
[all …]
DHostTestTest.java461 TestDescription test1 = new TestDescription(SuccessTestCase.class.getName(), "testPass"); in testRun_testcase() local
464 mListener.testStarted(EasyMock.eq(test1)); in testRun_testcase()
465 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase()
480 TestDescription test1 = new TestDescription(TestMetricTestCase.class.getName(), "testPass"); in testRun_MetricTestCase() local
484 mListener.testStarted(EasyMock.eq(test1)); in testRun_MetricTestCase()
488 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); in testRun_MetricTestCase()
506 TestDescription test1 = new TestDescription(LogMetricTestCase.class.getName(), "testPass"); in testRun_LogMetricTestCase() local
509 mListener.testStarted(EasyMock.eq(test1)); in testRun_LogMetricTestCase()
511 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_LogMetricTestCase()
538 TestDescription test1 = new TestDescription(TestMetricTestCase.class.getName(), "testPass"); in testRun_MetricTestCase_withOption() local
[all …]
DGTestTest.java126 final String test1 = "test1"; in testRun() local
128 final String testPath1 = String.format("%s/%s", nativeTestPath, test1); in testRun()
131 MockFileUtil.setMockDirContents(mMockITestDevice, nativeTestPath, test1, test2); in testRun()
143 mMockITestDevice.executeShellCommand(EasyMock.contains(test1), in testRun()
186 final String test1 = "test1"; in testRun_nested() local
190 FileListingService.FILE_SEPARATOR, test1); in testRun_nested()
191 MockFileUtil.setMockDirPath(mMockITestDevice, nativeTestPath, subFolderName, test1); in testRun_nested()
397 final String test1 = "test1"; in testRunXml() local
399 final String testPath1 = String.format("%s/%s", nativeTestPath, test1); in testRunXml()
402 MockFileUtil.setMockDirContents(mMockITestDevice, nativeTestPath, test1, test2); in testRunXml()
[all …]
DGTestListTestParserTest.java107 TestDescription test1 = in testParseSimpleList_withSpecialChar() local
111 mockRunListener.testStarted(test1); in testParseSimpleList_withSpecialChar()
113 EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testParseSimpleList_withSpecialChar()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJUnitXmlParserTest.java67 TestDescription test1 = new TestDescription("PassTest", "testPass"); in testParse() local
68 mMockListener.testStarted(test1); in testParse()
69 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParse()
91 TestDescription test1 = new TestDescription("PassTest", "testPass"); in testParseErrorAndSkipped() local
92 mMockListener.testStarted(test1); in testParseErrorAndSkipped()
93 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParseErrorAndSkipped()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java112 TestDescription test1 = in testRun() local
114 mListener.testStarted(test1); in testRun()
115 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun()
142 TestDescription test1 = in testRun_collectOnly() local
144 mListener.testStarted(test1); in testRun_collectOnly()
145 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_collectOnly()
215 TestDescription test1 = in testRun_excludeFilter_paramMethod() local
217 mListener.testStarted(test1); in testRun_excludeFilter_paramMethod()
218 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_excludeFilter_paramMethod()
/tools/tradefederation/core/tests/res/testtype/
DtestJar1.jar ... () throws java.lang.Exception public void test1 () public void test2 () public void test3 ...
/tools/tradefederation/core/atest/unittest_data/test_mapping/
Dtest_mapping_sample4 "name": "test1"
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DCollectingTestListenerTest.java104 final TestDescription test1 = injectTestRun("run1", "testFoo1", METRIC_VALUE); in testTwoRuns() local
116 runResult1.getTestResults().get(test1).getStatus()); in testTwoRuns()
122 runResult1.getTestResults().get(test1).getMetrics().get(TEST_KEY)); in testTwoRuns()
131 final TestDescription test1 = injectTestRun("run", "testFoo1", METRIC_VALUE); in testReRun() local
138 assertTrue(runResult.getCompletedTests().contains(test1)); in testReRun()
/tools/tradefederation/core/tests/res/testdata/
Dtest_mapping_14 "name": "test1"
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteMultiTest.java149 TestDescription test1 = in testMultiDeviceITestSuite() local
151 mMockListener.testStarted(test1, 0l); in testMultiDeviceITestSuite()
152 mMockListener.testEnded(test1, 5l, new HashMap<String, Metric>()); in testMultiDeviceITestSuite()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java410 TestDescription test1 = new TestDescription(TestRunAnnotated.class.getName(), "testOne"); in testActualRunAnnotated_include() local
414 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testActualRunAnnotated_include()
416 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include()
458 TestDescription test1 = new TestDescription(TestRunAnnotated.class.getName(), "testOne"); in testActualRunAnnotated_exclude() local
462 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testActualRunAnnotated_exclude()
464 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_exclude()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java231 IRemoteTest test1 = EasyMock.createMock(IRemoteTest.class); in testGetTests() local
232 mConfig.setTest(test1); in testGetTests()
233 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests()