コード例 #1
0
 /**
  * setUp
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Category = ClassRegistry::init('Categories.Category');
     $this->CategoryOrder = ClassRegistry::init('Categories.CategoryOrder');
     $this->Block = ClassRegistry::init('Blocks.Block');
 }
コード例 #2
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Block = ClassRegistry::init('Blocks.Block');
     $this->RssReader = ClassRegistry::init('RssReaders.RssReader');
     $this->RssReaderItem = ClassRegistry::init('RssReaders.RssReaderItem');
     $this->RssReaderFrameSetting = ClassRegistry::init('RssReaders.RssReaderFrameSetting');
 }
コード例 #3
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->FileModel = ClassRegistry::init('Files.FileModel');
     $this->FilesPlugin = ClassRegistry::init('Files.FilesPlugin');
     $this->FilesRoom = ClassRegistry::init('Files.FilesRoom');
     $this->FilesUser = ClassRegistry::init('Files.FilesUser');
     $this->FileModel->Behaviors->attach('YAUpload');
     $this->FileModel->Behaviors->YAUpload->setup($this->FileModel, array('upload' => array()));
 }
コード例 #4
0
ファイル: VideoTestBase.php プロジェクト: Onasusweb/Videos
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Block = ClassRegistry::init('Blocks.Block');
     // VideoBlockSetting Test用
     $this->Video = ClassRegistry::init('Videos.Video');
     $this->Video->ContentComment = ClassRegistry::init('ContentComments.ContentComment');
     $this->Video->FileModel = ClassRegistry::init('Files.FileModel');
     $this->VideoBlockSetting = ClassRegistry::init('Videos.VideoBlockSetting');
     $this->VideoFrameSetting = ClassRegistry::init('Videos.VideoFrameSetting');
     $this->VideoViewLog = ClassRegistry::init('Videos.VideoViewLog');
 }
コード例 #5
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     //$this->Edumap = ClassRegistry::init('Edumap.Edumap');
     //$this->EdumapStudent = ClassRegistry::init('Edumap.EdumapStudent');
     //$this->EdumapSocialMedium = ClassRegistry::init('Edumap.EdumapSocialMedium');
     //$this->EdumapVisibilitySetting = ClassRegistry::init('Edumap.EdumapVisibilitySetting');
     //$this->FileModel = ClassRegistry::init('Files.FileModel');
     //$this->Block = ClassRegistry::init('Blocks.Block');
 }
コード例 #6
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->ThemeSettingsSite = ClassRegistry::init('ThemeSettings.ThemeSettingsSite');
     $this->siteValue = ClassRegistry::init('ThemeSettings.ThemeSettingsSiteValue');
 }
コード例 #7
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Topic = ClassRegistry::init('Topics.Topic');
     $this->TopicFrameSetting = ClassRegistry::init('Topics.TopicFrameSetting');
 }
コード例 #8
0
ファイル: BoxesPageTest.php プロジェクト: Onasusweb/Boxes
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->BoxesPage = ClassRegistry::init('Boxes.BoxesPage');
 }
コード例 #9
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->ContainersPage = ClassRegistry::init('Containers.ContainersPage');
 }
コード例 #10
0
ファイル: LikeTest.php プロジェクト: Onasusweb/Likes
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Like = ClassRegistry::init('Likes.Like');
 }
コード例 #11
0
ファイル: FrameTest.php プロジェクト: Onasusweb/Frames
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Frame = ClassRegistry::init('Frames.Frame');
     YACakeTestCase::loadTestPlugin($this, 'Frames', 'ModelWithAfterFrameSaveTestPlugin');
 }
コード例 #12
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->DefaultRolePermission = ClassRegistry::init('Roles.DefaultRolePermission');
 }
コード例 #13
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->BlockRolePermission = ClassRegistry::init('Blocks.BlockRolePermission');
 }
コード例 #14
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Comment = ClassRegistry::init('Comments.Comment');
 }
コード例 #15
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->SearchBox = ClassRegistry::init('SearchBoxes.SearchBox');
 }
コード例 #16
0
ファイル: PageTest.php プロジェクト: Onasusweb/Pages
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Page = ClassRegistry::init('Pages.Page');
 }
コード例 #17
0
ファイル: BoxTest.php プロジェクト: Onasusweb/Boxes
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     Configure::write('Config.languageId', '2');
     $this->Box = ClassRegistry::init('Boxes.Box');
 }
コード例 #18
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
 }
コード例 #19
0
 /**
  * setUp
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     Configure::write('Config.language', 'ja');
     ////テストコントローラ読み込み
     //$this->_initCategoriesComponent();
 }
コード例 #20
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->Block = ClassRegistry::init('Blocks.Block');
     $this->Frame = ClassRegistry::init('Frames.Frame');
 }
コード例 #21
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     Configure::write('Config.languageId', '2');
     $this->Container = ClassRegistry::init('Containers.Container');
 }
コード例 #22
0
 /**
  * setUp method
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->PluginsRoom = ClassRegistry::init('PluginManager.PluginsRoom');
 }