MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / testOutput

Method testOutput

src/shared/test/test_model.ts:680–686  ·  view source on GitHub ↗
(dartCodeDebugSessionID: string, suitePath: string, testID: number, message: string)

Source from the content-addressed store, hash-verified

678 }
679
680 public testOutput(dartCodeDebugSessionID: string, suitePath: string, testID: number, message: string) {
681 const suite = this.suites.getForPath(suitePath)!;
682 const test = suite.getCurrentTest(dartCodeDebugSessionID, testID);
683
684 if (test)
685 this.testEventListeners.forEach((l) => l.testOutput(dartCodeDebugSessionID, test, message));
686 }
687
688 public testErrorOutput(dartCodeDebugSessionID: string, suitePath: string, testID: number, isFailure: boolean, message: string, stack: string) {
689 const suite = this.suites.getForPath(suitePath)!;

Callers

nothing calls this directly

Calls 3

getForPathMethod · 0.80
getCurrentTestMethod · 0.80
testOutputMethod · 0.65

Tested by

no test coverage detected