Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        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");
        }
Ejemplo n.º 3
0
 public ImageTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
Ejemplo n.º 4
0
 public SecurityGroupTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
Ejemplo n.º 5
0
 public KeyPairTests()
 {
     _computeService = new ComputeService(Stubs.AuthenticationProvider, "region");
 }
Ejemplo n.º 6
0
 public ServerAddressTests()
 {
     _compute = new ComputeService(Stubs.AuthenticationProvider, "region");
 }