Home | History | Annotate | Download | only in host_driven

Lines Matching refs:test_case_class

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)