Home
last modified time | relevance | path

Searched refs:FunctionTestCase (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/unittest/test/
Dtest_functiontestcase.py11 test = unittest.FunctionTestCase(lambda: None)
37 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
63 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
89 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
115 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
125 test = unittest.FunctionTestCase(lambda: None)
133 test = unittest.FunctionTestCase(lambda: None)
142 test = unittest.FunctionTestCase(lambda: None, description=desc)
Dtest_suite.py81 yield unittest.FunctionTestCase(lambda: None)
82 yield unittest.FunctionTestCase(lambda: None)
110 ftc = unittest.FunctionTestCase(lambda: None)
112 yield unittest.FunctionTestCase(lambda: None)
125 test1 = unittest.FunctionTestCase(lambda: None)
126 test2 = unittest.FunctionTestCase(lambda: None)
160 test1 = unittest.FunctionTestCase(lambda: None)
161 test2 = unittest.FunctionTestCase(lambda: None)
179 test2 = unittest.FunctionTestCase(lambda: None)
180 test3 = unittest.FunctionTestCase(lambda: None)
Dtest_loader.py629 testcase_1 = unittest.FunctionTestCase(lambda: None)
630 testcase_2 = unittest.FunctionTestCase(lambda: None)
644 testcase_1 = unittest.FunctionTestCase(lambda: None)
663 testcase_1 = unittest.FunctionTestCase(lambda: None)
1067 testcase_1 = unittest.FunctionTestCase(lambda: None)
1068 testcase_2 = unittest.FunctionTestCase(lambda: None)
1084 testcase_1 = unittest.FunctionTestCase(lambda: None)
/third_party/python/Lib/unittest/
D__init__.py60 from .case import (addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip,
Dcase.py1361 class FunctionTestCase(TestCase): class
1371 super(FunctionTestCase, self).__init__()
/third_party/python/Lib/ctypes/test/
Dtest_functions.py28 class FunctionTestCase(unittest.TestCase): class
/third_party/python/Doc/library/
Dunittest.rst348 :class:`TestCase` or use :class:`FunctionTestCase`.
472 For this reason, :mod:`unittest` provides a :class:`FunctionTestCase` class.
486 testcase = unittest.FunctionTestCase(testSomething,
492 Even though :class:`FunctionTestCase` can be used to quickly convert an
1595 .. class:: FunctionTestCase(testFunc, setUp=None, tearDown=None, description=None)