Home
last modified time | relevance | path

Searched refs:mTest (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java87 private HostTest mTest; field in DeviceParameterizedRunnerTest
97 mTest = new HostTest(); in setUp()
98 mTest.setDevice(mDevice); in setUp()
99 mTest.setBuild(mBuild); in setUp()
100 OptionSetter setter = new OptionSetter(mTest); in setUp()
108 OptionSetter setter = new OptionSetter(mTest); in testRun()
130 mTest.run(mListener); in testRun()
137 OptionSetter setter = new OptionSetter(mTest); in testRun_collectOnly()
139 mTest.setCollectTestsOnly(true); in testRun_collectOnly()
160 mTest.run(mListener); in testRun_collectOnly()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java57 private HostTest mTest; field in JarHostTestTest
76 mTest = new HostTest(); in setUp()
79 OptionSetter setter = new OptionSetter(mTest); in setUp()
134 mTest = new HostTestLoader(mTestDir, testJar); in testGetTestShard_withJar()
135 mTest.setBuild(mStubBuildInfo); in testGetTestShard_withJar()
137 mTest.setDevice(device); in testGetTestShard_withJar()
138 OptionSetter setter = new OptionSetter(mTest); in testGetTestShard_withJar()
142 assertEquals(238, mTest.countTestCases()); in testGetTestShard_withJar()
145 IRemoteTest oneShard = mTest.getTestShard(1, 0); in testGetTestShard_withJar()
153 IRemoteTest shard1 = mTest.getTestShard(5, 0); in testGetTestShard_withJar()
[all …]
DFakeTestTest.java39 private FakeTest mTest = null; field in FakeTestTest
45 mTest = new FakeTest(); in setUp()
46 mOption = new OptionSetter(mTest); in setUp()
52 assertEquals(55, mTest.toIntOrDefault(null, 55)); in testIntOrDefault()
53 assertEquals(45, mTest.toIntOrDefault("45", 55)); in testIntOrDefault()
54 assertEquals(-13, mTest.toIntOrDefault("-13", 55)); in testIntOrDefault()
56 mTest.toIntOrDefault("thirteen", 55); in testIntOrDefault()
75 assertEquals(output, mTest.decodeRle(input)); in testDecodeRle()
81 mTest.decodeRle(error); in testDecodeRle()
114 assertEquals(output, mTest.decode(input)); in testDecode()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java42 private PythonBinaryHostTest mTest; field in PythonBinaryHostTestTest
54 mTest = in setUp()
61 mTest.setBuild(mMockBuildInfo); in setUp()
62 mTest.setDevice(mMockDevice); in setUp()
70 OptionSetter setter = new OptionSetter(mTest); in testRun()
88 mTest.run(mMockListener); in testRun()
103 OptionSetter setter = new OptionSetter(mTest); in testRunFail_exception()
117 mTest.run(mMockListener); in testRunFail_exception()
136 OptionSetter setter = new OptionSetter(mTest); in testRunFail_failureOnly()
154 mTest.run(mMockListener); in testRunFail_failureOnly()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapper.java64 private IRemoteTest mTest; field in GranularRetriableTestWrapper
84 mTest = test; in GranularRetriableTestWrapper()
260 if (mTest instanceof ITestFilterReceiver) { in addRetriedTestsToIncludeFilters()
263 ((ITestFilterReceiver) mTest).addIncludeFilter(filter); in addRetriedTestsToIncludeFilters()
276 mTest.run(runListener); in intraModuleRun()
278 CLog.e("Module '%s' - test '%s' threw exception:", mModuleId, mTest.getClass()); in intraModuleRun()