Theia API Documentation v1.65.0
    Preparing search index...
    interface TestingMain {
        $notifyDelta(
            controllerId: string,
            diff: TreeDelta<string, TestItemDTO>[],
        ): void;
        $notifyTestRunCreated(
            controllerId: string,
            run: TestRunDTO,
            preserveFocus: boolean,
        ): void;
        $notifyTestRunEnded(controllerId: string, runId: string): void;
        $notifyTestRunProfileCreated(
            controllerId: string,
            profile: TestRunProfileDTO,
        ): void;
        $notifyTestStateChanged(
            controllerId: string,
            runId: string,
            stateChanges: TestStateChangeDTO[],
            outputChanges: TestOutputDTO[],
        ): void;
        $registerTestController(controllerId: string, label: string): void;
        $removeTestRunProfile(controllerId: string, profileId: string): void;
        $unregisterTestController(controllerId: string): void;
        $updateController(
            controllerId: string,
            patch: Partial<TestControllerUpdate>,
        ): void;
        $updateTestRunProfile(
            controllerId: string,
            profileId: string,
            update: Partial<TestRunProfileDTO>,
        ): void;
    }
    Index

    Methods

    • Parameters

      Returns void

    • Parameters

      • controllerId: string
      • run: TestRunDTO
      • preserveFocus: boolean

      Returns void

    • Parameters

      • controllerId: string
      • runId: string

      Returns void

    • Called when a new test run profile is available

      Parameters

      Returns void

    • Parameters

      Returns void

    • Registers that there's a test controller with the given ID

      Parameters

      • controllerId: string
      • label: string

      Returns void

    • Removes a previously-published test run profile

      Parameters

      • controllerId: string
      • profileId: string

      Returns void

    • Disposes of the test controller with the given ID

      Parameters

      • controllerId: string

      Returns void

    • Updates the label of an existing test controller.

      Parameters

      Returns void

    • Updates an existing test run profile

      Parameters

      Returns void