testing: remove outdated auto run and invalidation code

Fixes #144618
This commit is contained in:
Connor Peet
2022-03-29 15:26:39 -07:00
parent 1c78b52a7f
commit edcfff3d4f
18 changed files with 4 additions and 330 deletions

View File

@@ -68,24 +68,6 @@ declare module 'vscode' {
readonly removed: ReadonlyArray<TestItem>;
}
/**
* A test item is an item shown in the "test explorer" view. It encompasses
* both a suite and a test, since they have almost or identical capabilities.
*/
export interface TestItem {
/**
* Marks the test as outdated. This can happen as a result of file changes,
* for example. In "auto run" mode, tests that are outdated will be
* automatically rerun after a short delay. Invoking this on a
* test with children will mark the entire subtree as outdated.
*
* Extensions should generally not override this method.
*/
// todo@api still unsure about this
invalidateResults(): void;
}
/**
* TestResults can be provided to the editor in {@link tests.publishTestResult},
* or read from it in {@link tests.testResults}.