Home
last modified time | relevance | path

Searched refs:FakeRunner (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/unittest/test/
Dtest_program.py32 class FakeRunner(object): class
37 runner = FakeRunner()
110 class FakeRunner(object): class
116 FakeRunner.initArgs = kwargs
117 if FakeRunner.raiseError:
118 FakeRunner.raiseError = False
122 FakeRunner.test = test
130 FakeRunner.initArgs = None
131 FakeRunner.test = None
132 FakeRunner.raiseError = False
[all …]
Dtest_break.py201 class FakeRunner(object): class
216 self.testRunner = FakeRunner
223 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
226 self.assertEqual(FakeRunner.runArgs, [test])
231 FakeRunner.initArgs = []
232 FakeRunner.runArgs = []
236 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
239 self.assertEqual(FakeRunner.runArgs, [test])
/external/python/cpython3/Lib/unittest/test/
Dtest_program.py34 class FakeRunner(object): class
39 runner = FakeRunner()
75 class FakeRunner(object): class
82 runner = FakeRunner()
90 class FakeRunner(object): class
97 runner = FakeRunner()
149 class FakeRunner(object): class
155 FakeRunner.initArgs = kwargs
156 if FakeRunner.raiseError:
157 FakeRunner.raiseError -= 1
[all …]
Dtest_break.py194 class FakeRunner(object): class
210 self.testRunner = FakeRunner
217 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
222 self.assertEqual(FakeRunner.runArgs, [test])
227 FakeRunner.initArgs = []
228 FakeRunner.runArgs = []
232 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
237 self.assertEqual(FakeRunner.runArgs, [test])