Exemplo n.º 1
0
 public static bool isRunOK(this M_testDemand td)
 {
     if (td.isRun == true && td.noRunCaseNum() == 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
        public static int noRunCaseNum(this M_testDemand td)
        {
            QCTESTEntities QC_DB = new QCTESTEntities();

            return(QC_DB.M_runTestCase.Where(t => t.M_runScene.M_testDemand.ID == td.ID && t.state == null).Count());
        }