Searched refs:test_obj (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 282 test_obj = self._MethodDecoratorTestObject(self) 286 test_obj.alwaysTimesOut(timeout=1, retries=0) 292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut']) 296 test_obj = self._MethodDecoratorTestObject(self) 299 test_obj.alwaysRaisesCommandFailedError(retries=10) 304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError']) 308 test_obj = self._MethodDecoratorTestObject( 310 self.assertEquals(42, test_obj.alwaysReturnsTimeout()) 311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41)) 312 self.assertEquals(31, test_obj.alwaysReturnsRetries()) [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | decorators_test.py | 282 test_obj = self._MethodDecoratorTestObject(self) 286 test_obj.alwaysTimesOut(timeout=1, retries=0) 292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut']) 296 test_obj = self._MethodDecoratorTestObject(self) 299 test_obj.alwaysRaisesCommandFailedError(retries=10) 304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError']) 308 test_obj = self._MethodDecoratorTestObject( 310 self.assertEquals(42, test_obj.alwaysReturnsTimeout()) 311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41)) 312 self.assertEquals(31, test_obj.alwaysReturnsRetries()) [all …]
|
/external/autotest/client/common_lib/cros/graphite/ |
D | stats_es_functionaltest.py | 134 test_obj = StatsFunctionalTest(es_host, 138 test_obj.run_tests() 140 test_obj.run_tests([options.test_to_run])
|
/external/autotest/client/common_lib/ |
D | powerplay_util.py | 19 def __init__(self, test_obj, record_interval=0): argument 25 self.test = test_obj
|
/external/autotest/client/site_tests/platform_TLSDate/ |
D | platform_TLSDate.py | 15 def __init__(self, test_obj): argument 21 self._test_obj = test_obj
|
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/ |
D | test_mox.py | 1705 test_obj = TestClass() 1706 method_type = type(test_obj.OtherValidCall) 1708 self.mox.StubOutWithMock(test_obj, 'OtherValidCall') 1709 self.assertTrue(isinstance(test_obj.OtherValidCall, mox.MockObject)) 1710 self.assertFalse(type(test_obj.OtherValidCall) is method_type) 1712 test_obj.OtherValidCall().AndReturn('foo') 1715 actual = test_obj.OtherValidCall() 1720 self.assertTrue(type(test_obj.OtherValidCall) is method_type) 1881 test_obj = TestClass() 1882 self.mox.StubOutWithMock(test_obj, 'MethodWithArgs') [all …]
|
/external/autotest/server/cros/dynamic_suite/ |
D | suite.py | 761 test_obj = self._afe.create_job( 779 test_obj.test_name = test.name 780 return test_obj
|