gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

DoubleTestCase.php (496B)


      1 <?php
      2 class DoubleTestCase implements PHPUnit_Framework_Test
      3 {
      4     protected $testCase;
      5 
      6     public function __construct(PHPUnit_Framework_TestCase $testCase)
      7     {
      8         $this->testCase = $testCase;
      9     }
     10 
     11     public function count()
     12     {
     13         return 2;
     14     }
     15 
     16     public function run(PHPUnit_Framework_TestResult $result = null)
     17     {
     18         $result->startTest($this);
     19 
     20         $this->testCase->runBare();
     21         $this->testCase->runBare();
     22 
     23         $result->endTest($this, 0);
     24     }
     25 }