Home | History | Annotate | Download | only in local

Lines Matching refs:testcase

35 from ..objects import testcase
57 self.tests = None # list of TestCase objects
72 def CommonTestName(self, testcase):
74 return testcase.path.replace("\\", "/")
76 return testcase.path
81 def VariantFlags(self, testcase, default_flags):
82 if testcase.outcomes and statusfile.OnlyStandardVariant(testcase.outcomes):
121 # Even for skipped tests, as the TestCase object stays around and
178 def GetFlagsForTestCase(self, testcase, context):
181 def GetSourceForTest(self, testcase):
187 def IsNegativeTest(self, testcase):
190 def HasFailed(self, testcase):
191 execution_failed = self.IsFailureOutput(testcase.output, testcase.path)
192 if self.IsNegativeTest(testcase):
197 def GetOutcome(self, testcase):
198 if testcase.output.HasCrashed():
200 elif testcase.output.HasTimedOut():
202 elif self.HasFailed(testcase):
207 def HasUnexpectedOutput(self, testcase):
208 outcome = self.GetOutcome(testcase)
209 return not outcome in (testcase.outcomes or [statusfile.PASS])
211 def StripOutputForTransmit(self, testcase):
212 if not self.HasUnexpectedOutput(testcase):
213 testcase.output.stdout = ""
214 testcase.output.stderr = ""
245 test = testcase.TestCase(self, test_case + test_desc, dependency=None)
250 def GetFlagsForTestCase(self, testcase, context):
251 return (testcase.flags + ["--gtest_filter=" + testcase.path] +