コード例 #1
0
ファイル: Partition.php プロジェクト: mehulsbhatt/hashmark
 /**
  * Resources needed for most tests.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->_partition = Hashmark::getModule('Partition', '', $this->_db);
     $this->_core = Hashmark::getModule('Core', '', $this->_db);
     $this->_mergeTablePrefix = Hashmark::getConfig('Partition', '', 'mergetable_prefix');
 }
コード例 #2
0
ファイル: BasicDecimal.php プロジェクト: mehulsbhatt/hashmark
 /**
  * Resources needed for most tests.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $partition = Hashmark::getModule('Partition', '', $this->_db);
     $this->_analyst = Hashmark::getModule('Analyst', 'BasicDecimal', $this->_db, $partition);
     $this->_partition = Hashmark::getModule('Partition', '', $this->_db);
     $this->_core = Hashmark::getModule('Core', '', $this->_db);
 }
コード例 #3
0
ファイル: Core.php プロジェクト: mehulsbhatt/hashmark
 /**
  * Resources needed for most tests.
  *
  * @return void
  */
 protected function setUp()
 {
     parent::setUp();
     $this->_core = Hashmark::getModule('Core', '', $this->_db);
 }