File tree Expand file tree Collapse file tree 3 files changed +20
-126
lines changed
test/vscode-tests/cli-integration/debugger Expand file tree Collapse file tree 3 files changed +20
-126
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ import { walkDirectory } from "../common/files";
3030import { QueryMetadata , SortDirection } from "../common/interface-types" ;
3131import { BaseLogger , Logger } from "../common/logging" ;
3232import { ProgressReporter } from "../common/logging/vscode" ;
33- import { CompilationMessage } from "../query-server/legacy-messages" ;
3433import { sarifParser } from "../common/sarif-parser" ;
3534import { App } from "../common/app" ;
3635import { QueryLanguage } from "../common/query-language" ;
3736import { LINE_ENDINGS , splitStreamAtSeparators } from "../common/split-stream" ;
37+ import { Position } from "../query-server/new-messages" ;
3838
3939/**
4040 * The version of the SARIF format that we are using.
@@ -159,6 +159,24 @@ export type ResolvedQueries = string[];
159159 */
160160export type ResolvedTests = string [ ] ;
161161
162+ /**
163+ * A compilation message for a test message (either an error or a warning)
164+ */
165+ export interface CompilationMessage {
166+ /**
167+ * The text of the message
168+ */
169+ message : string ;
170+ /**
171+ * The source position associated with the message
172+ */
173+ position : Position ;
174+ /**
175+ * The severity of the message
176+ */
177+ severity : number ;
178+ }
179+
162180/**
163181 * Event fired by `codeql test run`.
164182 */
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99} from "vscode" ;
1010import * as CodeQLProtocol from "../../../../src/debugger/debug-protocol" ;
1111import { DisposableObject } from "../../../../src/common/disposable-object" ;
12- import { QueryResultType } from "../../../../src/query-server/legacy -messages" ;
12+ import { QueryResultType } from "../../../../src/query-server/new -messages" ;
1313import { CoreCompletedQuery } from "../../../../src/query-server/query-runner" ;
1414import { QueryOutputDir } from "../../../../src/run-queries-shared" ;
1515import {
You can’t perform that action at this time.
0 commit comments