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

            DefectParameters.LoadDefectParameters();
            DefectParameters.VerifyFilteredDefectParameter("ByTime", "234");
            DefectParameters.ApplyDefectParameterChanges();
        }
예제 #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();
        }
예제 #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();
        }
예제 #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\""));
     }
 }