Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CTestDriver

Hierarchy

  • CTestDriver

Implements

  • Disposable

Index

Constructors

constructor

Properties

Private _decorationManager

_decorationManager: DecorationManager = new DecorationManager()

Private _resultsChangedEmitter

_resultsChangedEmitter: EventEmitter<null | BasicTestResults> = new vscode.EventEmitter<BasicTestResults|null>()

Private _testResults

_testResults: CTestResults | null = null

Private _testingEnabled

_testingEnabled: boolean = false

Private _testingEnabledEmitter

_testingEnabledEmitter: EventEmitter<boolean> = new vscode.EventEmitter<boolean>()

Private _tests

_tests: Test[] = []

Holds the most recent test informations

Private _testsChangedEmitter

_testsChangedEmitter: EventEmitter<Test[]> = new vscode.EventEmitter<api.Test[]>()

onResultsChanged

onResultsChanged: Event<null | BasicTestResults> = this._resultsChangedEmitter.event

onTestingEnabledChanged

onTestingEnabledChanged: Event<boolean> = this._testingEnabledEmitter.event

onTestsChanged

onTestsChanged: Event<Test[]> = this._testsChangedEmitter.event

ws

Accessors

testResults

testingEnabled

  • get testingEnabled(): boolean
  • set testingEnabled(v: boolean): void

tests

  • get tests(): Test[]
  • set tests(v: Test[]): void

Methods

Private _reloadTestResults

  • _reloadTestResults(_sourceDir: string, _tagdir: string, test_xml: string): Promise<void>
  • Parameters

    • _sourceDir: string
    • _tagdir: string
    • test_xml: string

    Returns Promise<void>

dispose

  • dispose(): void

reloadTests

runCTest

Generated using TypeDoc