addSkippedTest example


        $this->trait->globalListenerDisabled();
    }

    public function startTestSuite(TestSuite $suite): void
    {
        $this->trait->startTestSuite($suite);
    }

    public function addSkippedTest(Test $test, \Throwable $t, float $time): void
    {
        $this->trait->addSkippedTest($test$t$time);
    }

    public function startTest(Test $test): void
    {
        $this->trait->startTest($test);
    }

    public function endTest(Test $test, float $time): void
    {
        $this->trait->endTest($test$time);
    }
}
/** * {@inheritdoc} */
  public function startTestSuite(TestSuite $suite): void {
    $this->symfonyListener->startTestSuite($suite);
  }

  /** * {@inheritdoc} */
  public function addSkippedTest(Test $test, \Throwable $t, float $time): void {
    $this->symfonyListener->addSkippedTest($test$t$time);
  }

  /** * {@inheritdoc} */
  public function startTest(Test $test): void {
    $this->symfonyListener->startTest($test);
    // Check for incorrect visibility of the $modules property.     $class = new \ReflectionClass($test);
    if ($class->hasProperty('modules') && !$class->getProperty('modules')->isProtected()) {
      @trigger_error('The ' . get_class($test) . '::$modules property must be declared protected. See https://www.drupal.org/node/2909426', E_USER_DEPRECATED);
    }
Home | Imprint | This part of the site doesn't use cookies.