Exemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     // these are static because it takes a long time to create new Segment instances (for some reason)
     self::$segment1 = new Segment(self::TEST_SEGMENT_1, array());
     self::$segment2 = new Segment(self::TEST_SEGMENT_2, array());
 }
Exemplo n.º 2
0
 public static function setUpBeforeClass()
 {
     \Piwik\Log::debug('\\DatabaseTestCase is deprecated since 2.8.0 extend \\Piwik\\Tests\\Framework\\TestCase\\IntegrationTestCase instead');
     parent::setUpBeforeClass();
 }
Exemplo n.º 3
0
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     Error::setErrorHandler();
     ExceptionHandler::setUp();
 }