Package com.sun.enterprise.tools.verifier

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


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


        if ((okayToThrowObjectNotFoundException) || ((!okayToThrowObjectNotFoundException) && (!throwsObjectNotFoundException))) {
            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",
                 "An [ {0} ] method was found with valid exception types declared in throws clause.",
                 new Object[] {ejbFinderMethods[j].getName()}));
        } else if ((!okayToThrowObjectNotFoundException) && throwsObjectNotFoundException) {
            oneFailed = true;
View Full Code Here

        if (returnByPrimaryKeyValue.getName().equals(primaryKeyType)) {
            returnValueValid = true;
        }
 
        if (ejbFindByPrimaryKeyMethodFound && returnValueValid) {
            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 && returnValueValid) {
            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",
                 "An [ {0} ] method with valid return type was found.",
                 new Object[] {ejbFinderMethods[j].getName()}));
        } else if (ejbFindByPrimaryKeyMethodFound && (!returnValueValid)) {
          /* if primary key is java.lang.Object then ejbFindByPrimaryKey method
View Full Code Here

                        // Every entity enterprise Bean class must define the
                        // ejbFindByPrimaryKey method. The result type for this method must
                        // be the primary key type (i.e. the ejbFindByPrimaryKey method
                        // must be a single-object finder).
                        ejbFindByPrimaryKeyMethodFound = true;
                        result.addGoodDetails(smh.getLocalString
                                ("tests.componentNameConstructor",
                                        "For [ {0} ]",
                                        new Object[] {compName.toString()}));
                        result.addGoodDetails(smh.getLocalString
                                (getClass().getName() + ".debug1",
View Full Code Here

                        ejbFindByPrimaryKeyMethodFound = true;
                        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",
                                        "An [ {0} ] method was found.",
                                        new Object[] {ejbFinderMethods[j].getName()}));
                        break;
                    }
View Full Code Here

      //report for this particular create method found in home interface
      // now display the appropriate results for this particular create
      // method     
            logger.log(Level.FINE, " Interface " + c.getName() + " method " + methods[i].getName());
      if (throwsRemoteException ) {
          result.addGoodDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}));
          result.addGoodDetails(smh.getLocalString
              (getClass().getName() + ".debug1",
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.