コード例 #1
0
ファイル: DomainTest.php プロジェクト: gridguyz/zork
 /**
  * This method is called before the first test of this test class is run.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     static::$helperCtorArgs = array(new SiteInfo(array('subdomain' => 'sub', 'domain' => 'zork.test', 'fulldomain' => 'sub.zork.test')));
 }
コード例 #2
0
ファイル: LocaleTest.php プロジェクト: gridguyz/zork
 /**
  * This method is called before the first test of this test class is run.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     static::$helperCtorArgs = array(static::$locale = Locale::factory(array('default' => 'en', 'fallback' => 'en', 'available' => array('en' => true, 'en_US' => true))));
 }