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