| 30 | } |
| 31 | |
| 32 | export class MockTerminal implements ITerminal { |
| 33 | public onBlur!: Event<void>; |
| 34 | public onFocus!: Event<void>; |
| 35 | public onA11yChar!: Event<string>; |
| 36 | public onWriteParsed!: Event<void>; |
| 37 | public onA11yTab!: Event<number>; |
| 38 | public onCursorMove!: Event<void>; |
| 39 | public onLineFeed!: Event<void>; |
| 40 | public onSelectionChange!: Event<void>; |
| 41 | public onData!: Event<string>; |
| 42 | public onBinary!: Event<string>; |
| 43 | public onTitleChange!: Event<string>; |
| 44 | public onBell!: Event<void>; |
| 45 | public onScroll!: Event<number>; |
| 46 | public onWillOpen!: Event<HTMLElement>; |
| 47 | public onKey!: Event<{ key: string, domEvent: KeyboardEvent }>; |
| 48 | public onRender!: Event<{ start: number, end: number }>; |
| 49 | public onResize!: Event<{ cols: number, rows: number }>; |
| 50 | public markers!: IMarker[]; |
| 51 | public linkifier: ILinkifier2 | undefined; |
| 52 | public coreMouseService!: ICoreMouseService; |
| 53 | public coreService!: ICoreService; |
| 54 | public optionsService!: IOptionsService; |
| 55 | public unicodeService!: IUnicodeService; |
| 56 | public registerMarker(cursorYOffset: number): IMarker { |
| 57 | throw new Error('Method not implemented.'); |
| 58 | } |
| 59 | public selectLines(start: number, end: number): void { |
| 60 | throw new Error('Method not implemented.'); |
| 61 | } |
| 62 | public scrollToLine(line: number): void { |
| 63 | throw new Error('Method not implemented.'); |
| 64 | } |
| 65 | public static string: any; |
| 66 | public setOption(key: any, value: any): void { |
| 67 | throw new Error('Method not implemented.'); |
| 68 | } |
| 69 | public blur(): void { |
| 70 | throw new Error('Method not implemented.'); |
| 71 | } |
| 72 | public focus(): void { |
| 73 | throw new Error('Method not implemented.'); |
| 74 | } |
| 75 | public input(data: string, wasUserInput: boolean = true): void { |
| 76 | throw new Error('Method not implemented.'); |
| 77 | } |
| 78 | public resize(columns: number, rows: number): void { |
| 79 | throw new Error('Method not implemented.'); |
| 80 | } |
| 81 | public writeln(data: string): void { |
| 82 | throw new Error('Method not implemented.'); |
| 83 | } |
| 84 | public paste(data: string): void { |
| 85 | throw new Error('Method not implemented.'); |
| 86 | } |
| 87 | public open(parent: HTMLElement): void { |
| 88 | throw new Error('Method not implemented.'); |
| 89 | } |
nothing calls this directly
no outgoing calls
no test coverage detected