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

Method testErrorOutput

src/shared/test/test_model.ts:688–694  ·  view source on GitHub ↗
(dartCodeDebugSessionID: string, suitePath: string, testID: number, isFailure: boolean, message: string, stack: string)

Source from the content-addressed store, hash-verified

686 }
687
688 public testErrorOutput(dartCodeDebugSessionID: string, suitePath: string, testID: number, isFailure: boolean, message: string, stack: string) {
689 const suite = this.suites.getForPath(suitePath)!;
690 const test = suite.getCurrentTest(dartCodeDebugSessionID, testID);
691
692 if (test)
693 this.testEventListeners.forEach((l) => l.testErrorOutput(dartCodeDebugSessionID, test, message, isFailure, stack));
694 }
695
696 private removeNode(node: TreeNode) {
697 const parent = node.parent;

Callers

nothing calls this directly

Calls 3

getForPathMethod · 0.80
getCurrentTestMethod · 0.80
testErrorOutputMethod · 0.65

Tested by

no test coverage detected