Package com.sun.enterprise.tools.verifier

Examples of com.sun.enterprise.tools.verifier.Result.addGoodDetails()


      if (throwsRemoteException ) {
          result.addGoodDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
          result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug1",
               "For Home Interface [ {0} ] Method [ {1} ]",
               new Object[] {c.getName(),methods[i].getName()}));
          result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".passed",
View Full Code Here


               new Object[] {compName.toString()}));
          result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug1",
               "For Home Interface [ {0} ] Method [ {1} ]",
               new Object[] {c.getName(),methods[i].getName()}));
          result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".passed",
               "The create method which must throw java.rmi.RemoteException was found."));
      } else if (!throwsRemoteException) {
          oneFailed = true;
          result.addErrorDetails(smh.getLocalString
View Full Code Here

             "Error: Home interface [ {0} ] does not exist or is not loadable within bean [ {1} ]",
             new Object[] {descriptor.getHomeClassName(), descriptor.getName()}));
      }

      if (!foundAtLeastOneRemote) {
    result.addGoodDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
    result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug3",
View Full Code Here

      if (!foundAtLeastOneRemote) {
    result.addGoodDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
    result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug3",
               "For Home Interface [ {0} ]",
               new Object[] {descriptor.getHomeClassName()}));
    result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".notApplicable1",
View Full Code Here

               new Object[] {compName.toString()}));
    result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug3",
               "For Home Interface [ {0} ]",
               new Object[] {descriptor.getHomeClassName()}));
    result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".notApplicable1",
               "No create method was found, test not applicable." ));
    result.setStatus(result.PASSED);
      } else {
    if (oneFailed) {
View Full Code Here

        if (Modifier.isStatic(findMethodModifiers)) {
            isStatic = true;
        }
   
        if (ejbFindByPrimaryKeyMethodFound && !isStatic) {
            result.addGoodDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
View Full Code Here

        if (ejbFindByPrimaryKeyMethodFound && !isStatic) {
            result.addGoodDetails(smh.getLocalString
               ("tests.componentNameConstructor",
          "For [ {0} ]",
          new Object[] {compName.toString()}));
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
                 "For EJB Class [ {0} ] Finder Method [ {1} ]",
                 new Object[] {EJBClass.getName(),ejbFinderMethods[j].getName()}));
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".passed",
View Full Code Here

          new Object[] {compName.toString()}));
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".debug1",
                 "For EJB Class [ {0} ] Finder Method [ {1} ]",
                 new Object[] {EJBClass.getName(),ejbFinderMethods[j].getName()}));
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".passed",
                 "A non-static [ {0} ] method was found.",
                 new Object[] {ejbFinderMethods[j].getName()}));
        } else if (ejbFindByPrimaryKeyMethodFound && isStatic) {
            oneFailed = true;
View Full Code Here

                result.warning(smh.getLocalString
                     (getClass().getName() + ".warning",
                      "WARNING [AS-EJB enterprise-beans] : name should not be empty."));
                return result;
            }else{
                result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}));
                result.passed(smh.getLocalString
     (getClass().getName() + ".passed",
View Full Code Here

                    foundDOCTYPE = true;
                if(foundDOCTYPE){
                    for (int i=0;i<acceptablePubidLiterals.length;i++) {
                        if (s.indexOf(acceptablePubidLiterals[i]) > -1) {
                            foundPubid = true;
                            result.addGoodDetails(smh.getLocalString
                                               ("tests.componentNameConstructor",
                                               "For [ {0} ]",
                                               new Object[] {compName.toString()}));
                            result.addGoodDetails
                                        (smh.getLocalString
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.