Пример #1
0
 //[TestMethod]
 public void TestRCPDPImportParametersValueWithAlphabaticCharacter()
 {
     TestCaseID = "CGN-46";
     DefectParameters.LoadDefectParameters();
     DefectParameters.ImportDefectParametersFromFile(ProjectPath + "\\Resources\\Recipe\\DefectParameters\\Import\\ValueWithAlphabaticCharacter.txt");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #2
0
 public void TestRCPDPImportParametersDecimalValue()
 {
     TestCaseExternalID = "CGN-45";
     DefectParameters.LoadDefectParameters();
     DefectParameters.ImportDefectParametersFromFile(ProjectPath + "\\Resources\\Recipe\\DefectParameters\\Import\\DecimalValue.txt");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #3
0
 //[TestMethod]
 public void TestRCPDPImportParametersExceedMaximumValue()
 {
     TestCaseID = "CGN-42";
     DefectParameters.LoadDefectParameters();
     DefectParameters.ImportDefectParametersFromFile(ProjectPath + "\\Resources\\Recipe\\DefectParameters\\Import\\ExceedMaximumValue.txt");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #4
0
 public void TestRCPDPOngoinDefectMaximumValue()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetOngoingDefectsParameter(true, "102400");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyOngoingDefectsParameter(true, "1024.00");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #5
0
 public void TestRCPDPDisableExtendedConnectivity()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetExtendedConnectivityParameter(false, "20.362", "1235.222");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyExtendedConnectivityParameter(false, "20.362", "1235.22");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #6
0
 public void TestRCPDPExtendedConnectivityDecimalValue()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetExtendedConnectivityParameter(true, "20.362", "1235.222");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyExtendedConnectivityParameter(true, "20.36", "1235.22");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #7
0
 public void TestRCPDPExtendedConnectivityMaximumValue()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetExtendedConnectivityParameter(true, "2000", "5005000");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyExtendedConnectivityParameter(true, "100.00", "500000.00");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #8
0
 public void TestRCPDPConnectivityMergeDistanceDecimalValue()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetConnectivityMergeDistanceParameter("252.26", "90.32");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyConnectivityMergeDistanceParameterValues("252.26", "90.32");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #9
0
 public void TestRCPDPConnectivityMergeDistanceMaximumValue()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetConnectivityMergeDistanceParameter("5666", "223652");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyConnectivityMergeDistanceParameterValues("255.00", "92.00");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #10
0
 public void TestRCPDPOngoinDefectDisable()
 {
     TestCaseExternalID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetOngoingDefectsParameter(false, "596.367");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyOngoingDefectsParameter(false, "596.37");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #11
0
 //[TestMethod]
 public void TestRCPDPOngoinDefectDecimalValue()
 {
     TestCaseID = "CGN-54";
     DefectParameters.LoadDefectParameters();
     DefectParameters.SetOngoingDefectsParameter(true, "596.367");
     DefectParameters.ApplyDefectParameterChanges();
     DefectParameters.LoadDefectParameters();
     DefectParameters.VerifyOngoingDefectsParameter(true, "596.37");
     DefectParameters.ApplyDefectParameterChanges();
 }
Пример #12
0
        public void TestRCPDPFilteredDefectsByTimeDecimalValue()
        {
            TestCaseExternalID = "CGN-54";
            DefectParameters.LoadDefectParameters();
            DefectParameters.SetFilteredDefectParameter("ByTime", "234");
            DefectParameters.ApplyDefectParameterChanges();

            DefectParameters.LoadDefectParameters();
            DefectParameters.VerifyFilteredDefectParameter("ByTime", "234");
            DefectParameters.ApplyDefectParameterChanges();
        }
Пример #13
0
        public void TestRCPDPFilteredDefectsByDistanceMaximumValue()
        {
            TestCaseExternalID = "CGN-54";
            DefectParameters.LoadDefectParameters();
            DefectParameters.SetFilteredDefectParameter("ByDistance", "16000");
            DefectParameters.ApplyDefectParameterChanges();

            DefectParameters.LoadDefectParameters();
            DefectParameters.VerifyFilteredDefectParameter("ByDistance", "10000.00");
            DefectParameters.ApplyDefectParameterChanges();
        }
Пример #14
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();
        }
Пример #15
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\""));
     }
 }