azure-pipelines-task-lib 4.0.0-preview → 4.0.1-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mock-test.d.ts CHANGED
@@ -1,28 +1,28 @@
1
- export declare class MockTestRunner {
2
- constructor(testPath: string, taskJsonPath?: string);
3
- private _testPath;
4
- private _taskJsonPath;
5
- nodePath: string;
6
- stdout: string;
7
- stderr: string;
8
- cmdlines: {};
9
- invokedToolCount: number;
10
- succeeded: boolean;
11
- errorIssues: string[];
12
- warningIssues: string[];
13
- get failed(): boolean;
14
- ran(cmdline: string): boolean;
15
- createdErrorIssue(message: string): boolean;
16
- createdWarningIssue(message: string): boolean;
17
- stdOutContained(message: string): boolean;
18
- stdErrContained(message: string): boolean;
19
- run(nodeVersion?: number): void;
20
- private getNodePath;
21
- private getNodeVersion;
22
- private getTaskJsonPath;
23
- private downloadNode;
24
- private downloadFile;
25
- private downloadTarGz;
26
- private getPathToNodeExe;
27
- private getPlatform;
28
- }
1
+ export declare class MockTestRunner {
2
+ constructor(testPath: string, taskJsonPath?: string);
3
+ private _testPath;
4
+ private _taskJsonPath;
5
+ nodePath: string;
6
+ stdout: string;
7
+ stderr: string;
8
+ cmdlines: {};
9
+ invokedToolCount: number;
10
+ succeeded: boolean;
11
+ errorIssues: string[];
12
+ warningIssues: string[];
13
+ get failed(): boolean;
14
+ ran(cmdline: string): boolean;
15
+ createdErrorIssue(message: string): boolean;
16
+ createdWarningIssue(message: string): boolean;
17
+ stdOutContained(message: string): boolean;
18
+ stdErrContained(message: string): boolean;
19
+ run(nodeVersion?: number): void;
20
+ private getNodePath;
21
+ private getNodeVersion;
22
+ private getTaskJsonPath;
23
+ private downloadNode;
24
+ private downloadFile;
25
+ private downloadTarGz;
26
+ private getPathToNodeExe;
27
+ private getPlatform;
28
+ }