1 | import { StrykerOptions, MutantTestCoverage, MutantResult, MutantStatus } from '@stryker-mutator/api/core';
|
2 | import { Logger } from '@stryker-mutator/api/logging';
|
3 | import { Reporter } from '@stryker-mutator/api/report';
|
4 | import { I, type requireResolve } from '@stryker-mutator/util';
|
5 | import { MutantRunResult } from '@stryker-mutator/api/test-runner';
|
6 | import { PassedCheckResult, CheckResult } from '@stryker-mutator/api/check';
|
7 | import { Project, FileSystem } from '../fs/index.js';
|
8 | import { TestCoverage } from '../mutants/index.js';
|
9 |
|
10 |
|
11 |
|
12 | export declare class MutationTestReportHelper {
|
13 | private readonly reporter;
|
14 | private readonly options;
|
15 | private readonly project;
|
16 | private readonly log;
|
17 | private readonly testCoverage;
|
18 | private readonly fs;
|
19 | private readonly requireFromCwd;
|
20 | static inject: ["reporter", "options", "project", "logger", "testCoverage", "fs", "requireFromCwd"];
|
21 | constructor(reporter: Required<Reporter>, options: StrykerOptions, project: Project, log: Logger, testCoverage: I<TestCoverage>, fs: I<FileSystem>, requireFromCwd: typeof requireResolve);
|
22 | reportCheckFailed(mutant: MutantTestCoverage, checkResult: Exclude<CheckResult, PassedCheckResult>): MutantResult;
|
23 | reportMutantStatus(mutant: MutantTestCoverage, status: MutantStatus): MutantResult;
|
24 | reportMutantRunResult(mutant: MutantTestCoverage, result: MutantRunResult): MutantResult;
|
25 | private reportOne;
|
26 | private checkStatusToResultStatus;
|
27 | reportAll(results: MutantResult[]): Promise<void>;
|
28 | private determineExitCode;
|
29 | private mutationTestReport;
|
30 | private toFileResults;
|
31 | private toTestFiles;
|
32 | private toFileResult;
|
33 | private toTestFile;
|
34 | private toTestDefinition;
|
35 | private determineLanguage;
|
36 | private toMutantResult;
|
37 | private toLocation;
|
38 | private toPosition;
|
39 | private discoverDependencies;
|
40 | }
|
41 | //# sourceMappingURL=mutation-test-report-helper.d.ts.map |
\ | No newline at end of file |