1 | import { Location } from '@stryker-mutator/api/core';
|
2 | import { Mutant } from '@stryker-mutator/api/mutant';
|
3 | import { MutantResult, MutantStatus } from '@stryker-mutator/api/report';
|
4 | import { TestSelection } from '@stryker-mutator/api/test_framework';
|
5 | import { RunResult, TestResult } from '@stryker-mutator/api/test_runner';
|
6 | import SourceFile from './SourceFile';
|
7 | export declare enum TestSelectionResult {
|
8 | Failed = 0,
|
9 | FailedButAlreadyReported = 1,
|
10 | Success = 2
|
11 | }
|
12 | export default class TestableMutant {
|
13 | readonly id: string;
|
14 | mutant: Mutant;
|
15 | sourceFile: SourceFile;
|
16 | specsRan: string[];
|
17 | private readonly filter;
|
18 | private _location;
|
19 | testSelectionResult: TestSelectionResult;
|
20 | get selectedTests(): TestSelection[];
|
21 | get runAllTests(): boolean;
|
22 | get timeSpentScopedTests(): number;
|
23 | get fileName(): string;
|
24 | get mutatorName(): string;
|
25 | get range(): import("@stryker-mutator/api/src/core/Range").default;
|
26 | get replacement(): string;
|
27 | get location(): Location;
|
28 | get mutatedCode(): string;
|
29 | get originalCode(): string;
|
30 | selectAllTests(runResult: RunResult, testSelectionResult: TestSelectionResult): void;
|
31 | selectTest(testResult: TestResult, index: number): void;
|
32 | constructor(id: string, mutant: Mutant, sourceFile: SourceFile);
|
33 | get originalLines(): string;
|
34 | get mutatedLines(): string;
|
35 | private getMutationLineIndexes;
|
36 | createResult(status: MutantStatus, testsRan: string[]): MutantResult;
|
37 | toString(): string;
|
38 | }
|
39 | //# sourceMappingURL=TestableMutant.d.ts.map |
\ | No newline at end of file |