PHPUnit\Runner\CleverAndSmart\TestListener::onCancel PHP Method

onCancel() public method

public onCancel ( )
    public function onCancel()
    {
        if (!$this->currentTest) {
            return;
        }
        $this->storage->record($this->run, $this->currentTest, 0, StorageInterface::STATUS_CANCEL);
        exit(1);
    }