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.py33 class FakeRunner(object): class
38 runner = FakeRunner()
74 class FakeRunner(object): class
81 runner = FakeRunner()
89 class FakeRunner(object): class
96 runner = FakeRunner()
148 class FakeRunner(object): class
154 FakeRunner.initArgs = kwargs
155 if FakeRunner.raiseError:
156 FakeRunner.raiseError -= 1
[all …]
Dtest_break.py199 class FakeRunner(object): class
215 self.testRunner = FakeRunner
222 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
227 self.assertEqual(FakeRunner.runArgs, [test])
232 FakeRunner.initArgs = []
233 FakeRunner.runArgs = []
237 self.assertEqual(FakeRunner.initArgs, [((), {'buffer': None,
242 self.assertEqual(FakeRunner.runArgs, [test])