• 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: Accessing a framework's resources in WOUnit tests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing a framework's resources in WOUnit tests


  • Subject: Re: Accessing a framework's resources in WOUnit tests
  • From: John Huss <email@hidden>
  • Date: Wed, 09 Jul 2014 11:11:28 -0500

Sorry, how is WOUnit involved? 


On Wed, Jul 9, 2014 at 10:09 AM, Musall Maik <email@hidden> wrote:
Hi,

I have an application that uses a few custom frameworks. When I use

WOResourceManager resourceManager = WOApplication.application().resourceManager();
URL url = "" "foo.dat", null, null );

from within the main application, I get a proper URL to my resource file. But when I use 

WOResourceManager resourceManager = WOApplication.application().resourceManager();
URL url = "" "bar.dat", "MyFramework", null );

with the second parameter (framework name) given, I only get back null. Regardless of whether
this is called from within the main application or from the framework's code itself.

Does anybody have a hint for me?

Thanks
Maik


 _______________________________________________
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

 _______________________________________________
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: Accessing a framework's resources in WOUnit tests
      • From: Musall Maik <email@hidden>
  • Prev by Date: Re: WebObjects not working!
  • Next by Date: Enums in D2W
  • Previous by thread: Re: WebObjects not working!
  • Next by thread: Re: Accessing a framework's resources in WOUnit tests
  • Index(es):
    • Date
    • Thread