public void TestRCPDPFilteredDefectsByTimeDecimalValue() { TestCaseExternalID = "CGN-54"; DefectParameters.LoadDefectParameters(); DefectParameters.SetFilteredDefectParameter("ByTime", "234"); DefectParameters.ApplyDefectParameterChanges(); DefectParameters.LoadDefectParameters(); DefectParameters.VerifyFilteredDefectParameter("ByTime", "234"); DefectParameters.ApplyDefectParameterChanges(); }
public void TestRCPDPFilteredDefectsByDistanceMaximumValue() { TestCaseExternalID = "CGN-54"; DefectParameters.LoadDefectParameters(); DefectParameters.SetFilteredDefectParameter("ByDistance", "16000"); DefectParameters.ApplyDefectParameterChanges(); DefectParameters.LoadDefectParameters(); DefectParameters.VerifyFilteredDefectParameter("ByDistance", "10000.00"); DefectParameters.ApplyDefectParameterChanges(); }
//[TestMethod] public void TestRCPDPFilteredDefectsByDistanceDecimalValue() { TestCaseID = "CGN-54"; DefectParameters.LoadDefectParameters(); DefectParameters.SetFilteredDefectParameter("ByDistance", "234.68"); DefectParameters.ApplyDefectParameterChanges(); DefectParameters.LoadDefectParameters(); DefectParameters.VerifyFilteredDefectParameter("ByDistance", "234.68"); DefectParameters.ApplyDefectParameterChanges(); }
public void TestRCPDPFilteredDefectsByTimeMaximumValue() { TestCaseExternalID = "CGN-54"; try { DefectParameters.LoadDefectParameters(); DefectParameters.SetFilteredDefectParameter("ByTime", "60030"); DefectParameters.ApplyDefectParameterChanges(); } catch (Exception e) { Assert.AreEqual(true, e.Message.Contains("SetProperty of Text with value \"60030\"")); } }