public void GetImportInfos_ReturnsSupportedImportInfos() { // Setup using (var plugin = new PipingPlugin()) { // Call ImportInfo[] importInfos = plugin.GetImportInfos().ToArray(); // Assert Assert.AreEqual(3, importInfos.Length); Assert.IsTrue(importInfos.Any(i => i.DataType == typeof(PipingSurfaceLinesContext))); Assert.IsTrue(importInfos.Any(i => i.DataType == typeof(PipingStochasticSoilModelCollectionContext))); Assert.IsTrue(importInfos.Any(i => i.DataType == typeof(PipingCalculationGroupContext))); } }
public override void Setup() { plugin = new PipingPlugin(); importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(PipingSurfaceLinesContext)); }
public override void Setup() { plugin = new PipingPlugin(); importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(PipingStochasticSoilModelCollectionContext)); }
public void SetUp() { plugin = new PipingPlugin(); importInfo = plugin.GetImportInfos().First(i => i.DataType == typeof(PipingCalculationGroupContext)); }