Beispiel #1
0
 public function setUp()
 {
     parent::setUp();
     // Test Subject
     require_once TESTSUBJECT_DIR . 'framework/Koch/Feed/Feed.php';
     // valid rss feed online source
     #$this->feed_url = 'http://groups.google.com/group/clansuite/feed/rss_v2_0_msgs.xml';
     $this->feed_url = __DIR__ . '/fixtures/feed/clansuite_rss_v2_0_msgs.xml';
 }
Beispiel #2
0
 public function setUp()
 {
     parent::setUp();
     // Fixtures
     set_include_path(realpath(__DIR__ . '/fixtures') . PATH_SEPARATOR . get_include_path());
     /**
      * The APC user cache needs a reset, so that the map is generated freshly each run.
      * APC is used by readAutoloadingMapApc() / writeAutoloadingMapApc().
      */
     if (extension_loaded('apc') === true and ini_get('apc.enabled') and ini_get('apc.enable_cli')) {
         apc_clear_cache('user');
     }
 }
Beispiel #3
0
 public function setUp()
 {
     parent::setUp();
     // set faked server name for getFilename()
     $_SERVER['SERVER_NAME'] = 'www.clansuite-dev.com';
 }
Beispiel #4
0
 public function setUp()
 {
     parent::setUp();
 }