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

Method getAllTests

src/shared/test/test_model.ts:739–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

737 return uniq([...this.groupsById.values()]);
738 }
739 public getAllTests(): TestNode[] {
740 // We need to uniq() these because we store values in the map from
741 // other runs so that concurrent runs can look up parent nodes from
742 // their own IDs.
743 return uniq([...this.testsById.values()]);
744 }
745 public getCurrentTest(sessionID: string, id: number) {
746 return this.testsById.get(`${sessionID}_${id}`);
747 }

Callers 3

flagSuiteStartMethod · 0.80
suiteDoneMethod · 0.80

Calls 2

uniqFunction · 0.90
valuesMethod · 0.80

Tested by

no test coverage detected