• 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
Properties for unit testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Properties for unit testing


  • Subject: Properties for unit testing
  • From: Pascal Robert <email@hidden>
  • Date: Sat, 29 Aug 2015 21:06:21 -0400

Hi,

I’m trying to write, for the first time, some unit tests for ERJavaMail. I need to pass some properties in the tests, but the properties are only seen if they are in the Properties file. If I pass as argument in the launch configuration, the properties are not found.

I have tried with both -er.javamail.imapHost outlook.office365.com or -Der.javamail.imapHost=outlook.office365.com, same results.

Anyway to use properties that ERXProperties can find in a unit test? ERXExtensions.initApp is called.


 _______________________________________________
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: Properties for unit testing
      • From: Hugi Thordarson <email@hidden>
  • Prev by Date: SAML 2.0
  • Next by Date: Eclipse Launch w/ AutoOpenInBrowser and DirectConnect but specifying a different URL
  • Previous by thread: SAML 2.0
  • Next by thread: Re: Properties for unit testing
  • Index(es):
    • Date
    • Thread