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

Function testExpectations

deps/v8/test/mjsunit/tools/tickprocessor.mjs:536–545  ·  view source on GitHub ↗
(dir, logInput, refOutput, params)

Source from the content-addressed store, hash-verified

534}
535
536async function testExpectations(dir, logInput, refOutput, params) {
537 const symbolsFile = dir + logInput + '.symbols.json';
538 const cppEntries = new CppEntriesProviderMock(
539 symbolsFile, params.useBigIntAddresses);
540 const tickProcessor = TickProcessor.fromParams(params, cppEntries);
541 const printMonitor = new PrintMonitor(dir + refOutput);
542 await tickProcessor.processLogFileInTest(dir + logInput);
543 tickProcessor.printStatistics();
544 printMonitor.finish();
545};
546
547async function testEndToEnd(dir, sourceFile, ignoredRefOutput, params) {
548 // This test only works on linux.

Callers 1

testTickProcessorBasicFunction · 0.85

Calls 4

finishMethod · 0.95
fromParamsMethod · 0.80
printStatisticsMethod · 0.80
processLogFileInTestMethod · 0.45

Tested by

no test coverage detected