summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/common/internal/test_suite_listing.ts
blob: 2d2b555366e4d74fcd3aa3f543670d25653e8796 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// A listing of all specs within a single suite. This is the (awaited) type of
// `groups` in '{cts,unittests}/listing.ts' and `listing` in the auto-generated
// 'out/{cts,unittests}/listing.js' files (see tools/gen_listings).
export type TestSuiteListing = TestSuiteListingEntry[];

export type TestSuiteListingEntry = TestSuiteListingEntrySpec | TestSuiteListingEntryReadme;

interface TestSuiteListingEntrySpec {
  readonly file: string[];
}

interface TestSuiteListingEntryReadme {
  readonly file: string[];
  readonly readme: string;
}