Package com.sun.enterprise.tools.verifier

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


                if (col.isEmpty()){
                    result.addGoodDetails(smh.getLocalString
                            ("tests.componentNameConstructor",
                                    "For [ {0} ]",
                                    new Object[] {compName.toString()}));
                    result.passed(smh.getLocalString(getClass().getName() + ".passed",
                            "The mappings for the cmp beans (if any) are correct."));
                }else {
                    // collect all the cmpmapping related errors
                    String allErrors = null;
                    Iterator it = col.iterator();
View Full Code Here


                    else {
                        result.addGoodDetails(smh.getLocalString
                                ("tests.componentNameConstructor",
                                        "For [ {0} ]",
                                        new Object[] {compName.toString()}));
                        result.passed(smh.getLocalString(getClass().getName() + ".passed",
                                "The mappings for the cmp beans (if any) are correct."));
                    }
                  }
            } else
            {
View Full Code Here

        // success
        result.addGoodDetails(smh.getLocalString
            ("tests.componentNameConstructor",
             "For [ {0} ]",
             new Object[] {compName.toString()}))
  result.passed(smh.getLocalString(getClass().getName() + ".passed",
           "There are no config properties with a duplicate name"));                    
        return result;
       
    }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: all activationspec-class do not override the equals method"));
    }
    return result;
  }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: all connection-impl-class implement their corresponding connection-interface"));                    
    }
    return result;
  }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: all activationspec-class implement javax.resource.spi.ActivationSpec"));
    }
    return result;
  }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: Each activationspec-class is a Java Bean"));                    
    }
    return result;
  }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}));
      result.passed(smh.getLocalString
          ("com.sun.enterprise.tools.verifier.tests.connector.managed.ManagedConnectionGetMetaData.passed",
           "ManagedConnection.getMetaData() returns an instance of the" +
           "javax.resource.spi.ManagedConnectionMetaData interface"));
    }
    else
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: all adminobject-class implement their corresponding adminobject-interface"));                    
    }
    return result;
  }
}
View Full Code Here

    {
      result.addGoodDetails(smh.getLocalString
          ("tests.componentNameConstructor",
           "For [ {0} ]",
           new Object[] {compName.toString()}))
      result.passed(smh.getLocalString(getClass().getName() + ".passed",
            "Success: all adminobject-class implement java.io.Serializable"));                    
    }
    return result;
  }
}
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.