(dartCodeDebugSessionID: string | undefined, suitePath: string)
| 656 | } |
| 657 | |
| 658 | public suiteDone(dartCodeDebugSessionID: string | undefined, suitePath: string): void { |
| 659 | const suite = this.suites.getForPath(suitePath); |
| 660 | if (!suite) |
| 661 | return; |
| 662 | |
| 663 | // TODO: Some notification that things are complete? |
| 664 | // TODO: Maybe a progress bar during the run? |
| 665 | |
| 666 | this.removeAllPotentiallyDeletedNodes(suite); |
| 667 | |
| 668 | // Anything marked as running should be set back to Unknown |
| 669 | suite.getAllTests().filter((t) => t.status === TestStatus.Running).forEach((t) => { |
| 670 | t.status = TestStatus.Unknown; |
| 671 | this.updateNode({ node: t }); |
| 672 | }); |
| 673 | |
| 674 | this.updateSuiteTestCountLabels(suite, false); |
| 675 | |
| 676 | if (dartCodeDebugSessionID) |
| 677 | this.testEventListeners.forEach((l) => l.suiteDone(dartCodeDebugSessionID, suite.node)); |
| 678 | } |
| 679 | |
| 680 | public testOutput(dartCodeDebugSessionID: string, suitePath: string, testID: number, message: string) { |
| 681 | const suite = this.suites.getForPath(suitePath)!; |
nothing calls this directly
no test coverage detected