* Handles when a suite is discovered during a test run. * * This is similar to suiteDiscovered, however that method fires also when a suite is discovered * statically, whereas this is specifically when it's discovered as part of a test run (eg. from * a pkg:test JSON notification).
(dartCodeDebugSessionID: string, suitePath: string)
| 448 | * a pkg:test JSON notification). |
| 449 | */ |
| 450 | public suiteStarted(dartCodeDebugSessionID: string, suitePath: string): SuiteData { |
| 451 | const [suite] = this.getOrCreateSuite(suitePath); |
| 452 | this.updateNode({ node: suite.node }); |
| 453 | |
| 454 | this.testEventListeners.forEach((l) => l.suiteStarted(dartCodeDebugSessionID, suite.node)); |
| 455 | |
| 456 | return suite; |
| 457 | } |
| 458 | |
| 459 | public groupDiscovered(dartCodeDebugSessionID: string, suitePath: string, source: TestSource, groupID: number, groupName: string | undefined, parentID: number | undefined, groupPath: string | undefined, range: Range | undefined, _hasStarted = false): GroupNode { |
| 460 | groupPath ??= suitePath; |
nothing calls this directly
no test coverage detected