HomeSort by relevance Sort by last modified time
    Searched refs:test_case_class (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/build/android/pylib/host_driven/
setup.py 90 def _GetTestsFromClass(test_case_class, **kwargs):
91 """Returns one test object for each test method in |test_case_class|.
96 test_case_class: Class derived from HostDrivenTestCase which contains zero
103 test_names = [m for m in dir(test_case_class)
104 if _IsTestMethod(m, test_case_class)]
105 return [test_case_class(name, **kwargs) for name in test_names]
134 def _IsTestMethod(attrname, test_case_class):
139 test_case_class: The test case class.
142 True if test_case_class.'attrname' is callable and it starts with 'test';
145 attr = getattr(test_case_class, attrname
    [all...]
  /external/chromium_org/third_party/skia/tools/tests/
base_unittest.py 136 def main(test_case_class):
142 suite = unittest.TestLoader().loadTestsFromTestCase(test_case_class)
145 raise Exception('failed unittest %s' % test_case_class)

Completed in 180 milliseconds