12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- class BaseTest extends PHPUnit_Framework_TestCase
- {
-
- public $client = null;
- public function setUp()
- {
- $path = substr(__DIR__, 0, strripos(__DIR__, DIRECTORY_SEPARATOR)) . DIRECTORY_SEPARATOR;
- include_once $path . 'Config.php';
- include_once 'Ecs/Rquest/DescribeRegionsRequest.php';
- include_once 'BatchCompute/ListImagesRequest.php';
- $iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "AccessKey", "AccessSecret");
- $this->client = new DefaultAcsClient($iClientProfile);
- }
-
- public function getProperty($propertyKey)
- {
- $accessKey = "";
- $accessSecret = "";
- $iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "AccessKey", "AccessSecret");
- }
- }
|