Aslak tells me via Twitter that I have to add the test case class itself. Now to figure out how to do that!
I assume you have something in that ear right? So add the TestClass to that something. e.g
Got it; thanks. Something about the ShrinkWrap API always turns my head sideways.
For example: what's the difference between EnterpriseArchive#addApplicationResource() and EnterpriseArchive#addResource()? Both appear to put resources under META-INF unless you tell them to put them somewhere else.
god question.. addApplicationResource is the add'AnyThing' equlent to setApplicationXML(). where ResourceContainer.addResource is the more generic approach across Archive types(JavaArchive, WebArchive etc). This makes sense in WebArchive where ResourceContainer is mapped to a different location then WebArchive.addWebResource.. but for EnterpriseArchive.. hmmm..
And then there's EnterpriseArchive#addManifestResource(). Which I think does--again--the same thing.