()
| 44 | |
| 45 | class DummyCompiler extends BaseCompiler { |
| 46 | constructor() { |
| 47 | const env = { |
| 48 | ceProps: properties.fakeProps({}), |
| 49 | getCompilerPropsForLanguage: () => { |
| 50 | return (prop, def) => def; |
| 51 | }, |
| 52 | } as unknown as CompilationEnvironment; |
| 53 | |
| 54 | // using c++ as the compiler needs at least one language |
| 55 | const compiler = makeFakeCompilerInfo({lang: 'c++', exe: 'gcc'}); |
| 56 | |
| 57 | super(compiler, env); |
| 58 | } |
| 59 | override exec(command, args, options) { |
| 60 | return exec.execute(command, args, options); |
| 61 | } |
nothing calls this directly
no test coverage detected