public void Check_PropertyInfo_String() { TestStepBuilder tsb1 = new TestStepBuilder("BizUnit.FileCreateStep", null); PropertyInfo pi = tsb1.GetPropertyInfo("SourcePath"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); pi = tsb1.GetPropertyInfo("CreationPath"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); }
public void Check_PropertyInfo_Various() { TestStepBuilder tsb1 = new TestStepBuilder("BizUnit.FileValidateStep", null); PropertyInfo pi = tsb1.GetPropertyInfo("Timeout"); Assert.AreEqual(pi.PropertyType, typeof(System.Double)); pi = tsb1.GetPropertyInfo("ValidationStep"); Assert.AreEqual(pi.PropertyType, typeof(IValidationStepOM)); pi = tsb1.GetPropertyInfo("ContextLoaderStep"); Assert.AreEqual(pi.PropertyType, typeof(IContextLoaderStepOM)); pi = tsb1.GetPropertyInfo("DeleteFile"); Assert.AreEqual(pi.PropertyType, typeof(System.Boolean)); pi = tsb1.GetPropertyInfo("SearchPattern"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); }
public void Check_PropertyInfo_Various() { TestStepBuilder tsb1 = new TestStepBuilder("BizUnit.FileValidateStep", null); PropertyInfo pi = tsb1.GetPropertyInfo("Timeout"); Assert.AreEqual(pi.PropertyType, typeof(System.Double)); pi = tsb1.GetPropertyInfo("ValidationStep"); Assert.AreEqual(pi.PropertyType, typeof(IValidationStepOM)); pi = tsb1.GetPropertyInfo("ContextLoaderStep"); Assert.AreEqual(pi.PropertyType, typeof(IContextLoaderStepOM)); pi = tsb1.GetPropertyInfo("DeleteFile"); Assert.AreEqual(pi.PropertyType, typeof(System.Boolean)); pi = tsb1.GetPropertyInfo("SearchPattern"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); }
public void Check_PropertyInfo_String() { TestStepBuilder tsb1 = new TestStepBuilder("BizUnit.FileCreateStep", null); PropertyInfo pi = tsb1.GetPropertyInfo("SourcePath"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); pi = tsb1.GetPropertyInfo("CreationPath"); Assert.AreEqual(pi.PropertyType, typeof(System.String)); }