Lines Matching refs:testcase
37 from testrunner.objects import testcase
71 def CommonTestName(self, testcase):
72 return testcase.path.split(os.path.sep)[-1]
75 return [testcase.TestCase(self, fname[:-len('.js')]) for fname in
79 def GetFlagsForTestCase(self, testcase, context):
80 return (testcase.flags + context.mode_flags + ['--allow-natives-syntax'] +
82 [os.path.join(self.test_files_root, testcase.path + '.js')] +
85 def GetSourceForTest(self, testcase):
87 'lib', 'tests', testcase.path + '.js')
91 def IsNegativeTest(self, testcase):
92 return '@negative' in self.GetSourceForTest(testcase)