• 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
Maven Unit tests with EOF
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maven Unit tests with EOF


  • Subject: Maven Unit tests with EOF
  • From: Aaron Rosenzweig via Webobjects-dev <email@hidden>
  • Date: Wed, 22 Jan 2020 12:09:21 -0500

Hi,

I’m trying to run maven unit tests with the surefire plugin that make use of
EOF but it’s not working out.

I can run them in Eclipse with a direct launch as a bundless build and it
works. I make a call in the static initializer of the test case to:
ERXExtensions.initApp(ACUnitTestingApplication.class, arguments);

And it thinks it’s a WO app and has access to the model group and all of EOF
and I can do destructive stuff like creating and saving Eos to the DB all
inside a launch from Eclipse.

Where I’m running into trouble is trying to do it with Maven. At the moment I’m
getting a null pointer from maven launch at the following place.

er.extensions.appserver.ERXApplication$Loader.collectMainProps(ERXApplication.java:757)

I think because it is wanting to treat it as a bundle but it isn’t and so… I’m
not sure where to go from here. Any advice?

AARON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/>
e:  email@hidden <mailto:email@hidden>  t:  (301) 956-2319



 _______________________________________________
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: Maven Unit tests with EOF
      • From: Henrique Prange via Webobjects-dev <email@hidden>
    • Re: Maven Unit tests with EOF
      • From: Paul Hoadley via Webobjects-dev <email@hidden>
  • Prev by Date: Re: Standalone D2W RuleModeler update?
  • Next by Date: Re: Maven Unit tests with EOF
  • Previous by thread: Re: Standalone D2W RuleModeler update?
  • Next by thread: Re: Maven Unit tests with EOF
  • Index(es):
    • Date
    • Thread