Package com.sun.enterprise.tools.verifier

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


                       if(rslt) break;
                   }
               }
           }
           if (rslt) {
              result.addGoodDetails(smh.getLocalString ("tests.componentNameConstructor",
                                   "For [ {0} ]", new Object[] {compName.toString()}));
              result.passed(smh.getLocalString (getClass().getName() + ".passed",
                          "The schemaLocation in the webservices.xml file for [{0}] matches the schema file requirement",
                           new Object[] {compName.toString()}));
            }
View Full Code Here


               
             
        }
        if (pass) {
              //result.pass
              result.addGoodDetails(smh.getLocalString ("tests.componentNameConstructor",
                                   "For [ {0} ]", new Object[] {compName.toString()}));
              result.passed(smh.getLocalString (getClass().getName() + ".passed",
             "All port-component-link(s) in this service reference are valid."));
        }
        return result;
View Full Code Here

                        result.failed(smh.getLocalString
                            (getClass().getName() + ".failed1",
                            "FAILED [AS-WEB message-destination] : message-destination-name cannot be an empty string",
                            new Object[] {descriptor.getName()}));
                    }else{
                        result.addGoodDetails(smh.getLocalString
                            ("tests.componentNameConstructor",
                            "For [ {0} ]",
                            new Object[] {compName.toString()}));
                        result.passed(smh.getLocalString(
                                            getClass().getName() + ".passed1",
View Full Code Here

                        result.failed(smh.getLocalString
                            (getClass().getName() + ".failed2",
                            "FAILED [AS-WEB message-destination] : jndi-name cannot be an empty string",
                            new Object[] {descriptor.getName()}));
                    }else{
                        result.addGoodDetails(smh.getLocalString
                            ("tests.componentNameConstructor",
                            "For [ {0} ]",
                            new Object[] {compName.toString()}));
                        result.passed(smh.getLocalString(
                                            getClass().getName() + ".passed2",
View Full Code Here

                        result.failed(smh.getLocalString
                            (getClass().getName() + ".failed",
                            "FAILED [AS-WEB constraint-field] :  name attribute is required",
                            new Object[] {descriptor.getName()}));
                    }else{
                        result.addGoodDetails(smh.getLocalString
                            ("tests.componentNameConstructor",
                            "For [ {0} ]",
                            new Object[] {compName.toString()}));
                        result.passed(smh.getLocalString( getClass().getName() + ".passed",
                              "PASSED [AS-WEB constraint-field] : name attribute is {1}",
View Full Code Here

            result = loadWarFile(descriptor);
            while (listenerEnum.hasMoreElements()) {
    listener = (AppListenerDescriptor)listenerEnum.nextElement();

                if (listener.getListener().equals(smh.getLocalString("JAXRPCContextListener","com.sun.xml.rpc.server.http.JAXRPCContextListener"))) {
              result.addGoodDetails(smh.getLocalString
        ("tests.componentNameConstructor",
         "For [ {0} ]",
         new Object[] {compName.toString()}));
                    result.passed(smh.getLocalString (getClass().getName() + ".passed1",
                    "Listener Class Name is [ {0} ], make sure it is available in classpath at runtime.",
View Full Code Here

                            if (scopeValue[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() + ".passed1",
                                "PASSED [AS-WEB constraint-field] : scope attribute is {1}",
                                new Object[] {descriptor.getName(),value}));
View Full Code Here

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

  try {
      Context context = getVerifierContext();
      ClassLoader jcl = context.getClassLoader();
      Class c = Class.forName(getClassName(descriptor), false, jcl);
      if (c != null) {
          result.addGoodDetails(smh.getLocalString
              ("tests.componentNameConstructor",
               "For [ {0} ]",
               new Object[] {compName.toString()}))
    result.passed(smh.getLocalString
            (getClass().getName() + ".passed",
View Full Code Here

        result.failed(smh.getLocalString
          (getClass().getName() + ".failed",
           "Error: [ {0} ] is not defined as public.  All enterprise beans home interfaces must be defined as public.  [ {1} ] is not a valid home interface.",
           new Object[] {getClassName(descriptor),getClassName(descriptor)}));
    } else {
        result.addGoodDetails(smh.getLocalString
            ("tests.componentNameConstructor",
             "For [ {0} ]",
             new Object[] {compName.toString()}));
     
    result.passed(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.