예제 #1
0
        public ComputeTestDataManager(ComputeService compute)
        {
            _compute  = compute;
            _testData = new HashSet <object>();

            var identityProvider = TestIdentityProvider.GetIdentityProvider();
            var blockStorage     = new CloudBlockStorageProvider(null, "RegionOne", identityProvider, null);

            BlockStorage = new BlockStorageTestDataManager(blockStorage);
        }
        public ComputeServiceTests(ITestOutputHelper testLog)
        {
            var testOutput = new XunitTraceListener(testLog);

            Trace.Listeners.Add(testOutput);
            OpenStackNet.Tracing.Http.Listeners.Add(testOutput);

            var authenticationProvider = TestIdentityProvider.GetIdentityProvider();

            _compute = new ComputeService(authenticationProvider, "RegionOne");
        }
예제 #3
0
 public ImageTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
예제 #4
0
 public SecurityGroupTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
예제 #5
0
 public KeyPairTests()
 {
     _computeService = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
예제 #6
0
 public ServerAddressTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }