Exemple #1
0
        public void TestRCPDPFilteredDefectsByTimeDecimalValue()
        {
            TestCaseExternalID = "CGN-54";
            DefectParameters.LoadDefectParameters();
            DefectParameters.SetFilteredDefectParameter("ByTime", "234");
            DefectParameters.ApplyDefectParameterChanges();

            DefectParameters.LoadDefectParameters();
            DefectParameters.VerifyFilteredDefectParameter("ByTime", "234");
            DefectParameters.ApplyDefectParameterChanges();
        }
Exemple #2
0
        public void TestRCPDPFilteredDefectsByDistanceMaximumValue()
        {
            TestCaseExternalID = "CGN-54";
            DefectParameters.LoadDefectParameters();
            DefectParameters.SetFilteredDefectParameter("ByDistance", "16000");
            DefectParameters.ApplyDefectParameterChanges();

            DefectParameters.LoadDefectParameters();
            DefectParameters.VerifyFilteredDefectParameter("ByDistance", "10000.00");
            DefectParameters.ApplyDefectParameterChanges();
        }
Exemple #3
0
        //[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();
        }
Exemple #4
0
 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\""));
     }
 }