Examples of CFUnitTestCase


Examples of org.cfeclipse.cfml.cfunit.CFUnitTestCase

        default:
          return blankIcon;
      }
    }else if(element instanceof CFUnitTestCase) {
      CFUnitTestCase tc = (CFUnitTestCase)element;
     
      if( tc.getErrorCount() > 0 ) {
        return errorIcon;
      } else if( tc.getFailureCount() > 0 ) {
        return failureIcon;
      } else if( tc.getRunCount() > 0 ) {
        return successIcon;       
      }
    }
   
   
View Full Code Here

Examples of org.cfeclipse.cfml.cfunit.CFUnitTestCase

         
        default:
          return BASES_COLOR;
      }
    } else if(element instanceof CFUnitTestCase) {
      CFUnitTestCase tc = (CFUnitTestCase)element;
     
      if( tc.getTestCount() == 0) {
        return INACTIVE_COLOR;
      } if( tc.getErrorCount() > 0 ) {
        return ERROR_COLOR;
      } else if( tc.getFailureCount() > 0 ) {
        return FAILURE_COLOR;
      } else if( tc.getRunCount() > 0 ) {
        return SUCCESS_COLOR;   
      }
    }
     
    return BASES_COLOR;
View Full Code Here

Examples of org.cfeclipse.cfml.cfunit.CFUnitTestCase

      new IDoubleClickListener() {
        public void doubleClick(DoubleClickEvent event) {
         
          String n = event.getSelection().toString();
         
          CFUnitTestCase tc = CFUnitTestSuite.getTestCase( n.substring(1, n.length()-1 ) );
          if(tc != null) {
            Display display = Display.getCurrent();
            display.asyncExec( tc );
          }         
        }
View Full Code Here

Examples of org.cfeclipse.cfml.cfunit.CFUnitTestCase

  public Object[] getChildren(Object parentElement) {
    if(parentElement instanceof CFUnitTestSuite) {
      CFUnitTestSuite ts = (CFUnitTestSuite)parentElement;
      return ts.getTestCases();
    } else if(parentElement instanceof CFUnitTestCase) {
      CFUnitTestCase tc = (CFUnitTestCase)parentElement;
      return tc.getResults();
    }
    return new Object[0];
  }
View Full Code Here

Examples of org.cfeclipse.cfml.cfunit.CFUnitTestCase

    if(element instanceof CFUnitTestSuite) {
      if( CFUnitTestSuite.getRunCount() > 0 ) {
        return true;
      }
    } else if(element instanceof CFUnitTestCase) {
      CFUnitTestCase tc = (CFUnitTestCase)element;
      if( tc.getRunCount() > 0) {
        return true;
      }
    }
   
    return false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.