Examples of addGoodDetails()


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

       
        // now display the appropriate results for this particular ejbHome<Method>
        // method
        if (homeMethodFound && isLegalRMIIIOP ) {
            addGoodDetails(result, compName);
            result.addGoodDetails(smh.getLocalString
                (getClass().getName() + ".passed",
                 "[ {0} ] properly declares ejbHome<Method> method " +
                                "[ {1} ] with valid RMI-IIOP parameter types.",
                 new Object[] {descriptor.getEjbClassName(),method.getName()}));
        } else if (homeMethodFound && !isLegalRMIIIOP) {
View Full Code Here

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

               
               
                //
                if (validHomeInterface) {
                    addGoodDetails(result, compName);
                    result.addGoodDetails(smh.getLocalString
                            (getClass().getName() + ".passed",
                            "[ {0} ] properly conforms to rules of RMI-IIOP for superinterfaces.",
                            new Object[] {descriptor.getHomeClassName()}));
                }
               
View Full Code Here

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

    ClassLoader jcl = context.getClassLoader();
    Class c = Class.forName(getClassName(descriptor), false, jcl);
    str = getSuperInterface();
                if (isImplementorOf(c, str)) {
        // it extends the proper EJBHome
        result.addGoodDetails(smh.getLocalString
            ("tests.componentNameConstructor",
             "For [ {0} ]",
             new Object[] {compName.toString()}))
        result.passed(smh.getLocalString
          (getClass().getName() + ".passed",
View Full Code Here

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

                            if (cacheOnMatchFailureValue[j].compareTo(value) ==0){
                                found = true;
                            }
                        }
                        if (found){
                            result.addGoodDetails(smh.getLocalString
                                ("tests.componentNameConstructor",
                                "For [ {0} ]", new Object[] {compName.toString()}));
                            result.passed(smh.getLocalString( getClass().getName() + ".passed3",
                                "PASSED [AS-WEB constraint-field] : cache-on-match-failure attribute is {1}",
                                new Object[] {descriptor.getName(),value}));
View Full Code Here

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

                        result.addErrorDetails(smh.getLocalString(getClass().getName() + ".failed",
                                "Error: tag class [ {0} ] in [ {1} ] does not implements valid interface",
                                new Object[] {c.getName(), tld.getUri()}));
                    } else {
                        addGoodDetails(result, compName);
                        result.addGoodDetails(smh.getLocalString
                                (getClass().getName() + ".passed1",
                                        "tag class [ {0} ] in [ {1} ] implements valid interface",
                                        new Object[] {c.getName(), tld.getUri()}));
                    }
                }
View Full Code Here

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

                    isJavaIdentifier=false;
                }
                //if start Character is not valid or any of the part characters of ejb-name is not
                //valid JavaIdentifier
                if(isJavaIdentifier) {
                    result.addGoodDetails(smh.getLocalString
                            ("tests.componentNameConstructor",
                                    "For [ {0} ]",
                                    new Object[] {compName.toString()}));
                    result.passed(smh.getLocalString
                            (getClass().getName() + ".passed",
View Full Code Here

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

            }
            if (name != null) {
                String[] names = (String[])name.toArray(new String[0]);
                if (!checkForDuplicateNames(result, compName, names, tld)) {
                    addGoodDetails(result, compName);
                    result.addGoodDetails(smh.getLocalString
                            (getClass().getName() + ".passed1",
                                    "All 'name' elements are defined properly under tag element of [ {0} ]",
                                    new Object[]{tld.getUri()}));
                }
            }
View Full Code Here

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

                                }
                        } else {
                            isJavaIdentifier=false;
                        }
                        if(isJavaIdentifier) {
                            result.addGoodDetails(smh.getLocalString
                                    ("tests.componentNameConstructor",
                                            "For [ {0} ]",
                                            new Object[] {compName.toString()}));
                            result.passed(smh.getLocalString
                                    (getClass().getName() + ".passed",
View Full Code Here

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

                            new Object[] {ex.getMessage()}));
                    return result;
                }
            }
            if (col.isEmpty()){
              result.addGoodDetails(smh.getLocalString
                                       ("tests.componentNameConstructor",
                                        "For [ {0} ]",
                                        new Object[] {compName.toString()}));
              result.passed(smh.getLocalString(getClass().getName() + ".passed",
                            "Syntax and Semantics of EJBQL Queries (if any) are correct."));
View Full Code Here

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

                            "Error: Entity bean [ {0} ] has the following EJBQL error(s) [ {1} ]."
                            , new Object[] {descriptor.getEjbClassName(), "\n" + allErrors} ));

               }
               else {
                 result.addGoodDetails(smh.getLocalString
                                       ("tests.componentNameConstructor",
                                        "For [ {0} ]",
                                        new Object[] {compName.toString()}));
                 result.passed(smh.getLocalString(getClass().getName() + ".passed",
                            "Syntax and Semantics of EJBQL Queries (if any) are correct."));
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.