public void SetUp() { plugin = new MacroStabilityInwardsPlugin(); info = plugin.GetPropertyInfos().First(tni => tni.PropertyObjectType == typeof(MacroStabilityInwardsStochasticSoilModelCollectionProperties)); }
public void SetUp() { plugin = new MacroStabilityInwardsPlugin(); info = plugin.GetPropertyInfos().First(tni => tni.PropertyObjectType == typeof(MacroStabilityInwardsFailureMechanismProperties)); }
public void SetUp() { plugin = new MacroStabilityInwardsPlugin(); info = plugin.GetPropertyInfos().First(tni => tni.PropertyObjectType == typeof(MacroStabilityInwardsInputContextProperties)); }
public void GetPropertyInfos_ReturnsSupportedPropertyInfos() { // Setup using (var plugin = new MacroStabilityInwardsPlugin()) { // Call PropertyInfo[] propertyInfos = plugin.GetPropertyInfos().ToArray(); // Assert Assert.AreEqual(10, propertyInfos.Length); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(CalculationsStateFailureMechanismContext), typeof(CalculationsStateFailureMechanismProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(RegistrationStateFailureMechanismContext), typeof(RegistrationStateFailureMechanismProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsInputContext), typeof(MacroStabilityInwardsInputContextProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsOutputContext), typeof(MacroStabilityInwardsOutputProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsSurfaceLinesContext), typeof(MacroStabilityInwardsSurfaceLineCollectionProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsSurfaceLine), typeof(MacroStabilityInwardsSurfaceLineProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsStochasticSoilModelCollectionContext), typeof(MacroStabilityInwardsStochasticSoilModelCollectionProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsStochasticSoilModel), typeof(MacroStabilityInwardsStochasticSoilModelProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsStochasticSoilProfile), typeof(MacroStabilityInwardsStochasticSoilProfileProperties)); PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(MacroStabilityInwardsFailureMechanismSectionsContext), typeof(FailureMechanismSectionsProbabilityAssessmentProperties)); } }