Lines Matching refs:def
30 def __init__(self, test, time):
37 def create_success(test, time):
42 def create_failure(test, time, failure):
49 def create_error(test, time, error):
55 def print_report(self, stream):
72 def _print_error(self, stream, tagname, error):
93 def __init__(self, classname):
101 def startTest(self, test):
107 def stopTest(self, test):
118 def addError(self, test, err):
122 def addFailure(self, test, err):
126 def print_report(self, stream, time_taken, out, err):
161 def __init__(self, stream=None):
165 def run(self, test):
206 def _set_path(self, path):
217 def setUp(self):
220 def _try_test_run(self, test_class, expected):
244 def test_no_tests(self):
257 def test_success(self):
263 def test_foo(self):
272 def test_failure(self):
278 def test_foo(self):
289 def test_error(self):
295 def test_foo(self):
306 def test_stdout_capture(self):
312 def test_foo(self):
322 def test_stderr_capture(self):
328 def test_foo(self):
340 def write(self, buffer):
343 def test_unittests_changing_stdout(self):
349 def test_foo(self):
355 def test_unittests_changing_stderr(self):
361 def test_foo(self):
369 def runTests(self):