interface TestingMain { $notifyDelta(controllerId,
diff): void; $notifyTestRunCreated(controllerId,
run,
preserveFocus): void; $notifyTestRunEnded(controllerId,
runId): void; $notifyTestRunProfileCreated(controllerId,
profile): void; $notifyTestStateChanged(controllerId,
runId,
stateChanges,
outputChanges): void; $registerTestController(controllerId,
label): void; $removeTestRunProfile(controllerId,
profileId): void; $unregisterTestController(controllerId): void; $updateController(controllerId,
patch): void; $updateTestRunProfile(controllerId,
profileId,
update): void; } Methods
$notifyDelta
- $notifyDelta(controllerId, diff): void
Parameters
- controllerId: string
- diff: TreeDelta<string, TestItemDTO>[]
Returns void
$notifyTestRunCreated
- $notifyTestRunCreated(controllerId, run, preserveFocus): void
Parameters
- controllerId: string
- run: TestRunDTO
- preserveFocus: boolean
Returns void
$notifyTestRunEnded
- $notifyTestRunEnded(controllerId, runId): void
Parameters
- controllerId: string
- runId: string
Returns void
$notifyTestRunProfileCreated
- $notifyTestRunProfileCreated(controllerId, profile): void
Returns void
$notifyTestStateChanged
- $notifyTestStateChanged(controllerId, runId, stateChanges, outputChanges): void
Returns void
$registerTestController
- $registerTestController(controllerId, label): void
Parameters
- controllerId: string
- label: string
Returns void
$removeTestRunProfile
- $removeTestRunProfile(controllerId, profileId): void
Parameters
- controllerId: string
- profileId: string
Returns void
$unregisterTestController
- $unregisterTestController(controllerId): void
Returns void
$updateController
- $updateController(controllerId, patch): void
Returns void
$updateTestRunProfile
- $updateTestRunProfile(controllerId, profileId, update): void
Returns void
Called when a new test run profile is available