本文整理匯總了PHP中YouniqueTestCase::setUp方法的典型用法代碼示例。如果您正苦於以下問題:PHP YouniqueTestCase::setUp方法的具體用法?PHP YouniqueTestCase::setUp怎麽用?PHP YouniqueTestCase::setUp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類YouniqueTestCase
的用法示例。
在下文中一共展示了YouniqueTestCase::setUp方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: setUp
public function setUp()
{
parent::setUp();
$this->Coupon = ClassRegistry::init('Coupon');
$this->CouponPresenter = ClassRegistry::init('CouponPresenter');
$this->CouponPresenterUser = ClassRegistry::init('CouponPresenterUser');
}
示例2: setUp
public function setUp()
{
parent::setUp();
$this->Presenter = ClassRegistry::init('Presenter');
$this->PresenterSite = ClassRegistry::init('PresenterSite');
$this->User = ClassRegistry::init('User');
}
示例3: setUp
public function setUp()
{
parent::setUp();
$this->Look = ClassRegistry::init('Look');
$this->Item = ClassRegistry::init('Item');
$this->LookItem = ClassRegistry::init('LookItem');
}
示例4: setUp
public function setUp()
{
parent::setUp();
$this->Order = ClassRegistry::init('Order');
$this->OrderCustomer = ClassRegistry::init('OrderCustomer');
$this->Presenter = ClassRegistry::init('Presenter');
$this->Order = ClassRegistry::init('Order');
}
示例5: setUp
public function setUp()
{
parent::setUp();
$this->Party = ClassRegistry::init('Party');
$this->User = ClassRegistry::init('User');
$this->Order = ClassRegistry::init('Order');
$this->OrderCommission = ClassRegistry::init('OrderCommission');
$this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
}
示例6: setUp
public function setUp()
{
parent::setUp();
$this->Order = ClassRegistry::init('Order');
$this->OrderCustomer = ClassRegistry::init('OrderCustomer');
$this->Presenter = ClassRegistry::init('Presenter');
$this->Order = ClassRegistry::init('Order');
$this->OrderCommission = ClassRegistry::init('OrderCommission');
$this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
}
示例7: setUp
public function setUp()
{
parent::setUp();
PHPUnit_Framework_Error_Notice::$enabled = FALSE;
$CakeRequest = new CakeRequest();
$CakeResponse = new CakeResponse();
$this->Controller = new TestController($CakeRequest, $CakeResponse);
$Collection = new ComponentCollection();
$this->Payment = new PaymentComponent($Collection);
$this->Payment->startup($this->Controller);
}
示例8: setUp
public function setUp()
{
parent::setUp();
$this->Party = ClassRegistry::init('Party');
$this->Order = ClassRegistry::init('Order');
$this->OrderCustomer = ClassRegistry::init('OrderCustomer');
$this->Presenter = ClassRegistry::init('Presenter');
$this->OrderCommission = ClassRegistry::init('OrderCommission');
$this->RoyaltiesEarned = ClassRegistry::init('RoyaltiesEarned');
$CakeRequest = new CakeRequest();
$CakeResponse = new CakeResponse();
}
示例9: setUp
public function setUp()
{
parent::setUp();
$this->SystemSetting = ClassRegistry::init('SystemSetting');
}
示例10: setUp
public function setUp()
{
parent::setUp('app.country');
$this->LookAction = ClassRegistry::init('LookAction');
}
示例11: setUp
public function setUp()
{
parent::setUp();
$this->ShoppingCart = new ShoppingCartItem();
$this->ShoppingCart->session = new SessionStub();
}
示例12: setUp
public function setUp()
{
parent::setUp('app.country');
$this->Geolocation = ClassRegistry::init('Geolocation');
}
示例13: setUp
public function setUp()
{
parent::setUp();
$this->PresenterType = ClassRegistry::init('PresenterType');
}
示例14: setUp
public function setUp()
{
parent::setUp();
$this->State = ClassRegistry::init('State');
}
示例15: setUp
public function setUp()
{
parent::setUp();
$this->resetModel();
}