Lines Matching refs:testcase
35 from testrunner.objects import testcase
102 tests.append(testcase.TestCase(self, test))
105 def GetFlagsForTestCase(self, testcase, context):
108 if testcase.path.startswith("kraken"):
109 result.append(os.path.join(self.testroot, "%s-data.js" % testcase.path))
110 result.append(os.path.join(self.testroot, "%s.js" % testcase.path))
111 elif testcase.path.startswith("octane"):
113 result.append(os.path.join(self.testroot, "%s.js" % testcase.path))
115 elif testcase.path.startswith("sunspider"):
116 result.append(os.path.join(self.testroot, "%s.js" % testcase.path))
117 return testcase.flags + result
119 def GetSourceForTest(self, testcase):
120 filename = os.path.join(self.testroot, testcase.path + ".js")