Home | History | Annotate | Download | only in test262-es6

Lines Matching refs:testcase

38 from testrunner.objects import testcase
60 def CommonTestName(self, testcase):
61 return testcase.path.split(os.path.sep)[-1]
76 case = testcase.TestCase(self, testname)
80 def GetFlagsForTestCase(self, testcase, context):
81 return (testcase.flags + context.mode_flags + self.harness +
82 self.GetIncludesForTest(testcase) + ["--harmony"] +
83 [os.path.join(self.testroot, testcase.path + ".js")])
101 def GetTestRecord(self, testcase):
102 if not hasattr(testcase, "test_record"):
104 testcase.test_record = ParseTestRecord(self.GetSourceForTest(testcase),
105 testcase.path)
106 return testcase.test_record
108 def GetIncludesForTest(self, testcase):
109 test_record = self.GetTestRecord(testcase)
117 def GetSourceForTest(self, testcase):
118 filename = os.path.join(self.testroot, testcase.path + ".js")
122 def IsNegativeTest(self, testcase):
123 test_record = self.GetTestRecord(testcase)