Searched defs:suiteClass (Results 1 - 2 of 2) sorted by relevance

/external/lldb/test/unittest2/
H A Dloader.py38 def _make_failed_import_test(name, suiteClass):
45 suiteClass)
47 def _make_failed_load_tests(name, exception, suiteClass):
48 return _make_failed_test('LoadTestsFailure', name, exception, suiteClass)
50 def _make_failed_test(classname, methodname, exception, suiteClass):
55 return suiteClass((TestClass(methodname),))
65 suiteClass = suite.TestSuite variable in class:TestLoader
76 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
88 tests = self.suiteClass(tests)
94 self.suiteClass)
[all...]
/external/autotest/client/common_lib/test_utils/
H A Dunittest.py1192 suiteClass = TestSuite variable in class:TestLoader
1214 return self.suiteClass(tests)
1268 return self.suiteClass(suites)
1291 def _makeLoader(prefix, sortUsing, suiteClass=None):
1295 if suiteClass: loader.suiteClass = suiteClass
1301 def makeSuite(testCaseClass, prefix='test', sortUsing=cmp, suiteClass=TestSuite):
1302 return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
1304 def findTestCases(module, prefix='test', sortUsing=cmp, suiteClass
[all...]

Completed in 50 milliseconds