コード例 #1
0
ファイル: GroupTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->group = new Group($this->client->reveal(), new Api());
     $this->group->id = 'GROUP_ID';
 }
コード例 #2
0
ファイル: TokenTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
     $this->token->id = 'TOKEN_ID';
 }
コード例 #3
0
ファイル: ImageTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = 'imageId';
 }
コード例 #4
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->container = new Container($this->client->reveal(), new Api());
     $this->container->name = self::NAME;
 }
コード例 #5
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->volume = new Volume($this->client->reveal(), new Api());
     $this->volume->id = '1';
 }
コード例 #6
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->credential = new Credential($this->client->reveal(), new Api());
     $this->credential->id = 'CRED_ID';
 }
コード例 #7
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->def = ['method' => 'GET', 'path' => 'test', 'params' => []];
     $this->operator = new TestOperator($this->client->reveal(), new ComputeV2Api());
 }
コード例 #8
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->project = new Project($this->client->reveal(), new Api());
     $this->project->id = 'PROJECT_ID';
 }
コード例 #9
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->flavor = new Flavor($this->client->reveal(), new Api());
     $this->flavor->id = 1;
 }
コード例 #10
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->subnet = new Subnet($this->client->reveal(), new Api());
     $this->subnet->id = 'subnetId';
 }
コード例 #11
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->network = new Network($this->client->reveal(), new Api());
     $this->network->id = 'networkId';
 }
コード例 #12
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->domain = new Domain($this->client->reveal(), new Api());
     $this->domain->id = 'DOMAIN_ID';
 }
コード例 #13
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->snapshot = new Snapshot($this->client->reveal(), new Api());
     $this->snapshot->id = '1';
 }
コード例 #14
0
ファイル: UserTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->user = new User($this->client->reveal(), new Api());
     $this->user->id = 'USER_ID';
 }
コード例 #15
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->policy = new Policy($this->client->reveal(), new Api());
     $this->policy->id = 'POLICY_ID';
 }
コード例 #16
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->server = new Server($this->client->reveal(), new Api());
     $this->server->id = 'serverId';
 }
コード例 #17
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->service = new Service($this->client->reveal(), new Api());
     $this->service->id = 'SERVICE_ID';
 }
コード例 #18
0
ファイル: RoleTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->role = new Role($this->client->reveal(), new Api());
     $this->role->id = 'ROLE_ID';
 }
コード例 #19
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->member = new Member($this->client->reveal(), new Api());
     $this->member->imageId = 'foo';
     $this->member->id = 'bar';
 }
コード例 #20
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->service = new Service($this->client->reveal(), new Api());
     $this->endpoint = new Endpoint($this->client->reveal(), new Api());
     $this->endpoint->id = 'ENDPOINT_ID';
 }
コード例 #21
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->object = new Object($this->client->reveal(), new Api());
     $this->object->containerName = self::CONTAINER;
     $this->object->name = self::NAME;
 }
コード例 #22
0
ファイル: PortTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->port = new Port($this->client->reveal(), new Api());
     $this->port->id = self::PORT_ID;
     $this->port->networkId = self::NETWORK_ID;
 }
コード例 #23
0
ファイル: ImageTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = dirname(__DIR__);
     $this->image = new Image($this->client->reveal(), new Api());
     $this->image->id = '386f0425-3ee8-4688-b73f-272328fe4c71';
     $this->path = sprintf("v2/images/%s", $this->image->id);
 }
コード例 #24
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->service = new Service($this->client->reveal(), new Api());
 }
コード例 #25
0
 public function setUp()
 {
     $this->rootFixturesDir = dirname(__DIR__);
     parent::setUp();
     $this->catalog = new Catalog($this->client->reveal(), new Api());
 }
コード例 #26
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestResource();
 }
コード例 #27
0
 public function setUp()
 {
     parent::setUp();
     $this->endpoint = new Endpoint($this->client->reveal(), new Api());
 }
コード例 #28
0
 public function setUp()
 {
     parent::setUp();
     $this->rootFixturesDir = __DIR__;
     $this->resource = new TestOperatorResource($this->client->reveal(), new Api());
 }
コード例 #29
0
ファイル: EntryTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     parent::setUp();
     $this->entry = new Entry($this->client->reveal(), new Api());
 }
コード例 #30
0
ファイル: TokenTest.php プロジェクト: mivocloud/php-openstack
 public function setUp()
 {
     parent::setUp();
     $this->token = new Token($this->client->reveal(), new Api());
 }