• 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: Log4J logging during WOUnit tests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Log4J logging during WOUnit tests


  • Subject: Re: Log4J logging during WOUnit tests
  • From: Paul Hoadley <email@hidden>
  • Date: Wed, 11 Apr 2012 10:06:09 +0930

Hi Henrique,

On 11/04/2012, at 2:46 AM, Henrique Prange wrote:

> Properties files are not loaded when tests are executed by JUnit. There is an issue [1] for that problem.

I was obviously imagining it yesterday when I wrote "I can see the properties get picked up at launch".  You're right (naturally), they don't.

> The current workaround is to load the Properties files manually or set the required properties in a static method annotated with @BeforeClass.

Thanks.


--
Paul.

http://logicsquad.net/



 _______________________________________________
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

References: 
 >Log4J logging during WOUnit tests (From: Paul Hoadley <email@hidden>)
 >Re: Log4J logging during WOUnit tests (From: Henrique Prange <email@hidden>)

  • Prev by Date: RE: Optimizing EOF Applications - what does this mean to you?
  • Next by Date: Re: Your JasperReport Example and D2W
  • Previous by thread: Re: Log4J logging during WOUnit tests
  • Next by thread: How to show a spinner on AMD after submit?
  • Index(es):
    • Date
    • Thread