MCPcopy Index your code
hub / github.com/nodejs/node / _CompileAndCheck

Method _CompileAndCheck

deps/v8/tools/cppgc/gen_cmake_test.py:105–109  ·  view source on GitHub ↗
(self, expected_cmake, gn_string)

Source from the content-addressed store, hash-verified

103 return builder.GetResult()
104
105 def _CompileAndCheck(self, expected_cmake, gn_string):
106 actual_cmake = self._Compile(gn_string)
107 self.assertIn(self._Canonicalize(expected_cmake),
108 self._Canonicalize(actual_cmake))
109 pass
110
111 def _CompileExpressionAndCheck(self, expected_cmake, gn_string):
112 gn_string = f'if ({gn_string}) {{ sources = [ "source.cc" ] }}'

Calls 2

_CompileMethod · 0.95
_CanonicalizeMethod · 0.95

Tested by

no test coverage detected