mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
18
src/vscode-dts/vscode.proposed.testObserver.d.ts
vendored
18
src/vscode-dts/vscode.proposed.testObserver.d.ts
vendored
@@ -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}.
|
||||
|
||||
Reference in New Issue
Block a user