setUp() protected method

See also: PHPUnit_Framework_TestCase::setUp()
protected setUp ( )
示例#1
0
 /**
  * {@inheritdoc}
  * @see PHPUnit_Framework_TestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!$this->isSkipFunctionalTests()) {
         $this->aws = $this->getEnvironment()->aws(self::REGION);
         $this->assertInstanceOf(self::CLASS_AWS, $this->aws);
     }
 }
示例#2
0
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!$this->isSkipFunctionalTests()) {
         $this->aws = $this->getEnvironment()->aws(AwsTestCase::REGION);
         $this->aws->cloudFront->enableEntityManager();
     }
 }
示例#3
0
文件: S3Test.php 项目: scalr/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!static::isSkippedFunctionalTest()) {
         $this->s3 = $this->getEnvironment()->aws(AwsTestCase::REGION)->s3;
         $this->s3->enableEntityManager();
     }
 }
示例#4
0
文件: S3Test.php 项目: rickb838/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!$this->isSkipFunctionalTests()) {
         $this->s3 = $this->getContainer()->aws->s3;
         $this->s3->enableEntityManager();
     }
 }
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
 }