MCPcopy Create free account
hub / github.com/nodejs/node / __init__

Method __init__

deps/v8/test/test262/testcfg.py:154–163  ·  view source on GitHub ↗
(self, ctx, *args, **kwargs)

Source from the content-addressed store, hash-verified

152class TestSuite(testsuite.TestSuite):
153
154 def __init__(self, ctx, *args, **kwargs):
155 super(TestSuite, self).__init__(ctx, *args, **kwargs)
156 self.test_root = self.root / TEST_262_SUITE_PATH
157 # TODO: this makes the TestLoader mutable, refactor it.
158 self._test_loader.test_root = self.test_root
159 self.harnesspath = self.root / TEST_262_HARNESS_PATH
160 self.harness = [self.harnesspath / f for f in TEST_262_HARNESS_FILES]
161 self.harness += [self.root / "harness-adapt.js"]
162 self.local_test_root = self.root / TEST_262_LOCAL_TESTS_PATH
163 self.parse_test_record = self._load_parse_test_record()
164
165 def _load_parse_test_record(self):
166 root = TEST_262_TOOLS_ABS_PATH

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected