예제 #1
0
파일: Xml.php 프로젝트: reoring/sabel
 public function testConfigNoDot()
 {
     $preference = Sabel_Preference::create(new __PrefConfigNoDot());
     $this->assertTrue(is_readable("/tmp/data/preferences/test.xml"));
 }
예제 #2
0
파일: Database.php 프로젝트: reoring/sabel
 public function testUseCustomModelClass()
 {
     $pref = Sabel_Preference::create(new __Preference_Database_Config_CustomModel());
     $pref->setInt("test", 1);
 }
예제 #3
0
파일: Memcache.php 프로젝트: reoring/sabel
 /**
  * set up
  *
  * @access public
  * @return void
  */
 public function setUp()
 {
     $this->pref = Sabel_Preference::create(new __Preference_Memcache_Config());
 }