public ServerTests(ITestOutputHelper testLog) { var testOutput = new XunitTraceListener(testLog); Trace.Listeners.Add(testOutput); OpenStackNet.Tracing.Http.Listeners.Add(testOutput); var authenticationProvider = TestIdentityProvider.GetOperatorIdentity(); _compute = new ComputeService(authenticationProvider, "RegionOne"); _testData = new ComputeTestDataManager(_compute); }
public ServerTests(ITestOutputHelper testLog) { var testOutput = new XunitTraceListener(testLog); Trace.Listeners.Add(testOutput); OpenStackNet.Tracing.Http.Listeners.Add(testOutput); var authenticationProvider = TestIdentityProvider.GetOperatorIdentity(); _compute = new ComputeService(authenticationProvider, "RegionOne"); _testData = new ComputeTestDataManager(_compute); }
public Layer3ExtensionTests(ITestOutputHelper testLog) { var testOutput = new XunitTraceListener(testLog); Trace.Listeners.Add(testOutput); OpenStackNet.Tracing.Http.Listeners.Add(testOutput); // The operator identity is necessary to create external networks var authenticationProvider = TestIdentityProvider.GetOperatorIdentity(); _networkingService = new NetworkingService(authenticationProvider, "RegionOne"); _testData = new NetworkingTestDataManager(_networkingService); var compute = new ComputeService(authenticationProvider, "RegionOne"); _computeTestData = new ComputeTestDataManager(compute); }