startTestSuite example


        $this->trait = new SymfonyTestsListenerTrait($mockedNamespaces);
    }

    public function globalListenerDisabled()
    {
        $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);
    }

    
/** * Constructs the DrupalListener object. */
  public function __construct() {
    $this->symfonyListener = new SymfonyTestsListener();
  }

  /** * {@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} */
Home | Imprint | This part of the site doesn't use cookies.