1 | import { Executor } from '../executors/Executor';
|
2 | import Reporter, { ReporterProperties } from './Reporter';
|
3 | import Test from '../Test';
|
4 | import Suite from '../Suite';
|
5 | export default class Html extends Reporter implements HtmlProperties {
|
6 | document: Document;
|
7 | location: Location;
|
8 | protected _reportContainer: Element | undefined;
|
9 | protected _reportControls: Element | undefined;
|
10 | protected _reportNode: Element | undefined;
|
11 | protected _summaryNode: Element | undefined;
|
12 | protected _summaryNodes: Element[];
|
13 | protected _suiteCount: number;
|
14 | protected _testCount: number;
|
15 | protected _testsInSuite: number;
|
16 | protected _testIndex: number;
|
17 | protected _processedTests: any;
|
18 | protected _passedFilter: any;
|
19 | protected _skippedFilter: any;
|
20 | protected _fragment: DocumentFragment;
|
21 | protected _indentLevel: number;
|
22 | protected _runningSuites: any;
|
23 | constructor(executor: Executor, options?: HtmlOptions);
|
24 | protected _generateSummary(suite: Suite): void;
|
25 | private _createToggleFilter;
|
26 | protected _injectCSS(): void;
|
27 | protected _getIndentLevel(node: Element): number;
|
28 | protected _setCollapsed(node: Element, shouldCollapse?: boolean): void;
|
29 | error(error: Error): void;
|
30 | runStart(): void;
|
31 | suiteStart(suite: Suite): void;
|
32 | suiteEnd(suite: Suite): void;
|
33 | testEnd(test: Test): void;
|
34 | private createLinkNode;
|
35 | }
|
36 | export interface HtmlProperties extends ReporterProperties {
|
37 | document: Document;
|
38 | location: Location;
|
39 | }
|
40 | export declare type HtmlOptions = Partial<HtmlProperties>;
|