public void TestSetUp() { Logger.Debug($"Executing {TestContext.TestName}"); DevKit = new DevKit131Aspect(TestContext); DevKit.Store.CapServerProviders = DevKit.Store.CapServerProviders .Where(x => x.DataSchemaVersion == OptionsIn.DataVersion.Version131.Value) .ToArray(); Well = new Well { Uid = DevKit.Uid(), Name = DevKit.Name("Well"), TimeZone = DevKit.TimeZone }; Wellbore = new Wellbore { Uid = DevKit.Uid(), Name = DevKit.Name("Wellbore"), UidWell = Well.Uid, NameWell = Well.Name, MDCurrent = new MeasuredDepthCoord(0, MeasuredDepthUom.ft) }; QueryEmptyList = DevKit.List(new Wellbore()); BeforeEachTest(); OnTestSetUp(); }
public void TestCleanUp() { AfterEachTest(); OnTestCleanUp(); DevKit.Container.Dispose(); DevKit = null; }
public void TestSetUp() { _devKit = new DevKit131Aspect(TestContext); _devKit.Store.CapServerProviders = _devKit.Store.CapServerProviders .Where(x => x.DataSchemaVersion == OptionsIn.DataVersion.Version131.Value) .ToArray(); _capServer131Provider = _devKit.Store.CapServerProviders.FirstOrDefault() as CapServer131Provider; }
public void TestSetUp() { Logger.Debug($"Executing {TestContext.TestName}"); DevKit = new DevKit131Aspect(TestContext); DevKit.Store.CapServerProviders = DevKit.Store.CapServerProviders .Where(x => x.DataSchemaVersion == OptionsIn.DataVersion.Version131.Value) .ToArray(); Realtime = new Realtime { Uid = DevKit.Uid(), Name = DevKit.Name("Realtime") }; QueryEmptyList = DevKit.List(new Realtime()); BeforeEachTest(); OnTestSetUp(); }
public void TestSetUp() { var url = "http://localhost/Witsml.Web/WitsmlStore.svc"; // IIS //var url = "http://localhost:5050/WitsmlStore.svc"; // TestApp DevKit = new DevKit131Aspect(TestContext, url); Context = new Witsml131Context(DevKit.ConnectionUrl); Well = new Well() { Name = DevKit.Name("Well 01"), TimeZone = DevKit.TimeZone, Uid = DevKit.Uid() }; Wellbore = new Wellbore() { UidWell = Well.Uid, NameWell = Well.Name, Name = DevKit.Name("Wellbore 01-01"), Uid = DevKit.Uid() }; Log = new Log() { UidWell = Well.Uid, NameWell = Well.Name, UidWellbore = Wellbore.Uid, NameWellbore = Wellbore.Name, Name = DevKit.Name("Log 01"), Uid = DevKit.Uid() }; DevKit.InitHeader(Log, LogIndexType.measureddepth); }
public void TestCleanUp() { _devKit = null; }