• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JUnit for testing EOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JUnit for testing EOs


  • Subject: Re: JUnit for testing EOs
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 29 Nov 2007 15:20:35 +1030

On 29/11/2007, at 5:18 AM, Chuck Hill wrote:

If you are up to it, can you try this and post the output?

Comment out the add model code above and add these logs in the @Before method:

NSLog.out.appendln("Main bundle " + NSBundle.mainBundle());
NSLog.out.appendln("frameworkBundles " + NSBundle.frameworkBundles().valueForKey("name"));
NSLog.out.appendln("frameworkBundle paths " + NSBundle.frameworkBundles());
NSLog.out.appendln("Loaded models " +EOModelGroup.defaultGroup().modelNames());

I see a conspicuous empty list after "Loaded models"...


Main bundle <com.webobjects.foundation.NSBundle name:'JavaFoundation' bundlePath:'/System/Library/Frameworks/JavaFoundation.framework' packages:'( com.webobjects.foundation,
com.webobjects.foundation.xml )' 214 classes >
frameworkBundles ( PostgresqlPlugIn,
JavaEOAccess,
JavaEOControl,
JavaFoundation,
JavaJDBCAdaptor,
JavaWebObjects,
JavaWOExtensions,
JavaXML )
frameworkBundle paths ( <com.webobjects.foundation.NSBundle name:'PostgresqlPlugIn' bundlePath:'/Library/Frameworks/PostgresqlPlugIn.framework' packages:'( com.webobjects.jdbcadaptor )' 4 classes >,
<com.webobjects.foundation.NSBundle name:'JavaEOAccess' bundlePath:'/System/Library/Frameworks/JavaEOAccess.framework' packages:'( com.webobjects.eoaccess,
com.webobjects.eoaccess.synchronization )' 90 classes >,
<com.webobjects.foundation.NSBundle name:'JavaEOControl' bundlePath:'/System/Library/Frameworks/JavaEOControl.framework' packages:'( com.webobjects.eocontrol._private,
com.webobjects.eocontrol )' 117 classes >,
<com.webobjects.foundation.NSBundle name:'JavaFoundation' bundlePath:'/System/Library/Frameworks/JavaFoundation.framework' packages:'( com.webobjects.foundation,
com.webobjects.foundation.xml )' 214 classes >,
<com.webobjects.foundation.NSBundle name:'JavaJDBCAdaptor' bundlePath:'/System/Library/Frameworks/JavaJDBCAdaptor.framework' packages:'( com.webobjects.jdbcadaptor )' 41 classes >,
<com.webobjects.foundation.NSBundle name:'JavaWebObjects' bundlePath:'/System/Library/Frameworks/JavaWebObjects.framework' packages:'( com.webobjects.appserver._private,
com.webobjects.appserver,
com.webobjects.appserver.parser.woml,
com.webobjects._ideservices,
com.webobjects.appserver.parser.declaration,
com.webobjects.appserver.xml._private,
com.webobjects.appserver.parser.woml.namespaces,
com.webobjects.appserver.xml,
com.webobjects.appserver.parser,
 )' 298 classes >,
<com.webobjects.foundation.NSBundle name:'JavaWOExtensions' bundlePath:'/System/Library/Frameworks/JavaWOExtensions.framework' packages:'( com.webobjects.woextensions )' 56 classes >,
<com.webobjects.foundation.NSBundle name:'JavaXML' bundlePath:'/System/Library/Frameworks/JavaXML.framework' packages:'( org.apache.xpath.operations,
org.apache.xalan.templates,
org.apache.axis.components.image,
org.apache.xalan.xsltc.runtime,
org.apache.xpath.objects,
org.apache.bcel.generic,
org.apache.bcel.verifier.exc,
org.apache.xerces.xpointer,
org.apache.axis.message,
org.apache.xpath.functions,
org.apache.log4j.helpers,
org.apache.xerces.util,
org.apache.axis.utils,
org.apache.axis.types,
org.xml.sax,
org.apache.xalan.xsltc.compiler,
org.apache.axis.wsdl,
org.apache.html.dom,
org.apache.axis.encoding.ser,
javax.servlet.http,
org.apache.xerces.jaxp,
org.apache.xalan.xsltc.compiler.util,
org.apache.axis.configuration,
org.apache.xerces.impl.xs.opti,
org.apache.xerces.jaxp.validation,
org.apache.wml.dom,
org.w3c.dom,
org.apache.xml.serialize,
org.apache.xalan.transformer,
org.apache.commons.discovery.resource.names,
com.ibm.wsdl.extensions.soap,
org.apache.xalan.processor,
org.w3c.dom.html,
org.apache.axis.components.net,
org.apache.xerces.parsers,
org.apache.log4j.lf5.viewer,
org.apache.xml.serializer.utils,
org.apache.xerces.impl.xpath,
org.apache.axis.security.servlet,
org.apache.xml.dtm.ref,
org.apache.log4j.lf5,
org.apache.bcel.classfile,
org.apache.axis.constants,
javax.wsdl.extensions,
org.apache.xerces.xs,
org.apache.xml.utils.res,
org.apache.axis.encoding,
org.w3c.dom.ls,
org.apache.xml.utils,
org.apache.xalan.xsltc.cmdline,
org.apache.xerces.impl,
org.apache.commons.discovery.resource.classes,
org.apache.bcel,
org.apache.xerces.impl.dv.xs,
org.apache.bcel.verifier.structurals,
javax.xml.rpc.holders,
org.apache.xalan.xsltc.dom,
com.ibm.wsdl,
org.apache.axis.attachments,
org.apache.commons.logging.impl,
javax.servlet,
org.w3c.dom.css,
org.apache.xerces.impl.xs.models,
org.apache.wml,
org.apache.xerces.impl.xs.traversers,
org.apache.xml.dtm.ref.sax2dtm,
javax.xml.soap,
org.apache.axis.collections,
org.apache.axis.transport.jms,
javax.xml.rpc,
javax.servlet.jsp.tagext,
org.apache.axis.holders,
org.apache.bcel.util,
org.apache.xpath.compiler,
com.ibm.wsdl.xml,
org.apache.xerces.impl.xs,
org.apache.axis.monitor,
org.apache.xalan.xsltc.cmdline.getopt,
org.apache.axis.components.threadpool,
org.apache.xalan.extensions,
org.apache.xalan.lib,
org.apache.log4j.lf5.viewer.categoryexplorer,
org.apache.bcel.verifier.statics,
org.apache.xerces.impl.xs.util,
org.apache.axis.wsdl.gen,
javax.xml.xpath,
org.apache.xpath.patterns,
org.apache.axis.encoding.ser.castor,
org.xml.sax.ext,
org.apache.xerces.impl.xpath.regex,
org.apache.xpath.axes,
org.apache.axis.deployment.wsdd,
org.apache.xerces.impl.dv,
org.apache.xerces.xni.parser,
org.apache.axis.transport.http,
org.apache.commons.discovery.tools,
org.apache.xml.serializer,
org.apache.xerces.impl.dtd,
org.apache.axis.components.jms,
org.apache.xalan.serialize,
org.apache.axis.components.script,
org.apache.xerces.xinclude,
org.apache.axis.server,
org.apache.log4j,
javax.wsdl,
org.apache.xml.res,
org.w3c.dom.events,
org.apache.regexp,
org.apache.xerces.impl.dv.dtd,
org.apache.axis.wsdl.toJava,
org.apache.log4j.varia,
org.apache.xpath.res,
org.apache.axis.tools.ant.wsdl,
com.ibm.wsdl.extensions.mime,
javax.wsdl.extensions.mime,
org.xml.sax.helpers,
org.apache.axis.client,
javax.xml.rpc.encoding,
org.apache.axis.management,
org.apache.log4j.spi,
org.apache.axis.utils.cache,
org.apache.bcel.verifier,
javax.xml.parsers,
org.apache.xalan.xsltc.trax,
javax.xml.datatype,
org.apache.xerces.dom3.as,
org.w3c.dom.ranges,
org.apache.xalan.lib.sql,
javax.xml.rpc.handler,
org.apache.xerces.impl.xs.identity,
org.apache.xerces.xni,
org.apache.xerces.dom,
org.apache.commons.logging,
org.apache.commons.discovery,
org.apache.commons.discovery.resource,
org.apache.axis.providers,
org.apache.xerces.xni.grammars,
org.apache.xerces.impl.io,
org.apache.axis.transport.local,
org.apache.axis.session,
org.apache.axis.management.jmx,
org.apache.axis.soap,
org.apache.axis.wsdl.symbolTable,
org.apache.axis.schema,
javax.xml,
org.apache.log4j.net,
org.apache.xpath,
org.apache.xalan.trace,
com.ibm.wsdl.extensions.schema,
org.apache.axis,
org.apache.axis.deployment.wsdd.providers,
org.apache.log4j.lf5.util,
org.apache.xerces.xs.datatypes,
org.apache.log4j.chainsaw,
org.apache.axis.description,
org.apache.commons.discovery.jdk,
javax.xml.rpc.server,
org.apache.axis.utils.bytecode,
org.apache.xerces.dom.events,
javax.xml.transform,
org.apache.log4j.config,
org.apache.axis.i18n,
com.ibm.wsdl.util.xml,
org.apache.axis.client.async,
javax.xml.validation,
org.apache.xalan.xsltc,
org.apache.axis.transport.java,
org.apache.axis.wsdl.fromJava,
org.w3c.dom.bootstrap,
javax.wsdl.extensions.http,
org.apache.xerces.impl.dtd.models,
org.apache.axis.components.compiler,
org.w3c.dom.xpath,
org.apache.xpath.jaxp,
org.apache.xpath.domapi,
org.apache.axis.tools.ant.foreach,
org.apache.xerces.jaxp.datatype,
javax.xml.transform.dom,
javax.wsdl.extensions.soap,
org.apache.axis.strategies,
org.apache.xml.dtm.ref.dom2dtm,
org.apache.axis.enum,
org.apache.xalan,
javax.servlet.jsp,
org.w3c.dom.traversal,
org.apache.axis.providers.java,
org.apache.log4j.xml,
org.apache.commons.discovery.log,
com.ibm.wsdl.extensions.http,
org.apache.xerces.impl.dv.util,
javax.wsdl.xml,
javax.xml.transform.stream,
org.apache.axis.handlers,
com.ibm.wsdl.util,
org.apache.xml.dtm,
org.apache.log4j.or,
javax.xml.namespace,
org.apache.axis.transport.mail,
org.apache.axis.security,
org.apache.log4j.or.sax,
org.apache.axis.components.uuid,
org.apache.xalan.xsltc.util,
org.apache.axis.security.simple,
org.apache.xalan.res,
org.apache.axis.components.encoding,
org.apache.xalan.xsltc.runtime.output,
javax.xml.messaging,
org.apache.axis.tools.ant.axis,
org.apache.log4j.lf5.viewer.configure,
javax.wsdl.factory,
org.apache.xalan.xslt,
org.apache.log4j.jmx,
org.apache.axis.handlers.http,
com.ibm.wsdl.extensions,
java_cup.runtime,
org.apache.axis.handlers.soap,
org.apache.commons.discovery.ant,
com.ibm.wsdl.factory,
org.w3c.dom.views,
org.w3c.dom.stylesheets,
javax.xml.transform.sax,
org.apache.axis.components.logger,
org.apache.log4j.nt,
javax.wsdl.extensions.schema,
org.apache.xerces.impl.validation,
org.apache.xerces.impl.msg,
org.apache.xalan.client,
javax.xml.rpc.soap,
org.apache.log4j.jdbc,
org.apache.log4j.or.jms,
org.apache.xmlcommons,
javax.xml.rpc.handler.soap )' 4129 classes > )
Loaded models (  )


-- 
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: JUnit for testing EOs
      • From: Chuck Hill <email@hidden>
References: 
 >JUnit for testing EOs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit for testing EOs (From: Chuck Hill <email@hidden>)
 >Re: JUnit for testing EOs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit for testing EOs (From: Chuck Hill <email@hidden>)
 >Re: JUnit for testing EOs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit for testing EOs (From: Sam Barnum <email@hidden>)
 >Re: JUnit for testing EOs (From: Chuck Hill <email@hidden>)
 >Re: JUnit for testing EOs (From: Paul Hoadley <email@hidden>)
 >Re: JUnit for testing EOs (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Webservices and arrays deserializer and WO 5.4
  • Next by Date: Re: JUnit for testing EOs
  • Previous by thread: Re: JUnit for testing EOs
  • Next by thread: Re: JUnit for testing EOs
  • Index(es):
    • Date
    • Thread