JohnKary\PHPUnit\Listener\SpeedTrapListener::addSlowTest PHP Method

addSlowTest() protected method

Stores a test as slow.
protected addSlowTest ( PHPUnit_Framework_TestCase $test, integer $time )
$test PHPUnit_Framework_TestCase
$time integer Test execution time in milliseconds
    protected function addSlowTest(\PHPUnit_Framework_TestCase $test, $time)
    {
        $label = $this->makeLabel($test);
        $this->slow[$label] = $time;
    }