@@ -1733,6 +1733,11 @@ declare module 'vscode' {
17331733 */
17341734 kind?: QuickPickItemKind;
17351735
1736+ /**
1737+ * The icon path or {@link ThemeIcon} for the QuickPickItem.
1738+ */
1739+ iconPath?: Uri | { light: Uri; dark: Uri } | ThemeIcon;
1740+
17361741 /**
17371742 * A human-readable string which is rendered less prominent in the same line. Supports rendering of
17381743 * {@link ThemeIcon theme icons} via the `$(<name>)`-syntax.
@@ -16299,6 +16304,24 @@ declare module 'vscode' {
1629916304 */
1630016305 createTestItem(id: string, label: string, uri?: Uri): TestItem;
1630116306
16307+ /**
16308+ * Marks an item's results as being outdated. This is commonly called when
16309+ * code or configuration changes and previous results should no longer
16310+ * be considered relevant. The same logic used to mark results as outdated
16311+ * may be used to drive {@link TestRunRequest.continuous continuous test runs}.
16312+ *
16313+ * If an item is passed to this method, test results for the item and all of
16314+ * its children will be marked as outdated. If no item is passed, then all
16315+ * test owned by the TestController will be marked as outdated.
16316+ *
16317+ * Any test runs started before the moment this method is called, including
16318+ * runs which may still be ongoing, will be marked as outdated and deprioritized
16319+ * in the editor's UI.
16320+ *
16321+ * @param item Item to mark as outdated. If undefined, all the controller's items are marked outdated.
16322+ */
16323+ invalidateTestResults(items?: TestItem | readonly TestItem[]): void;
16324+
1630216325 /**
1630316326 * Unregisters the test controller, disposing of its associated tests
1630416327 * and unpersisted results.
0 commit comments