Ok, thats strange now. I think there is something odd with your Class Setup. Can you provide (if necessary off-list) more details like class+method signatures, annotations and imports ?
On Wed, Feb 22, 2012 at 2:06 PM, Pierce, Jonathan D < jonathan.d.pie...@chase.com> wrote: > Sorry for the delay. Unfortunately, I ran into the exact same problem > with the HotSpot 1.6.0_25 64 bit JVM.**** > > Same error message, same stacktrace. The tests still run fine from the > maven cli.**** > > ** ** > > I appreciate the help. Let me know if there is any more information I > could provide to help out.**** > > ** ** > > Jonathan**** > > ** ** > > *From:* general-boun...@lists.ops4j.org [mailto: > general-boun...@lists.ops4j.org] *On Behalf Of *Toni Menzel > *Sent:* Tuesday, February 21, 2012 3:16 PM > *To:* General OPS4J > *Subject:* Re: Pax Exam JUnit Tests fail in Eclipse**** > > ** ** > > I think i've heard something like this for J9 cases before. Unfortunately > we do not have J9 Test Suites set up, so can you make sure you can(not) > repeat the test on a Sun/Oracle/Apple JVM ?**** > > ** ** > > Would be crucial to further investigate the problem.**** > > Thanks,**** > > Toni**** > > ** ** > > On Tue, Feb 21, 2012 at 8:18 PM, Pierce, Jonathan D < > jonathan.d.pie...@chase.com> wrote:**** > > I apologize, it feels like I must be missing something really obvious, but > I’ve googled the heck out of my problem and can’t find an answer. I’m just > learning Pax Exam. I’ve created a Maven project with one test class. I > pulled the source code for the class and the config info for my pom.xml > directly from the Pax Exam getting started page, with some simplifications. > When I run the tests from the maven command line, everything works fine. > When I import the project into eclipse (Indigo, m2e 1.0 plugin), and try to > run the test using “Run as -> JUnit Test” I get the following exception:** > ** > > **** > > java.lang.Exception: No tests found matching Method > getHelloService(com.chase.si.SampleTest) from > org.junit.internal.requests.ClassRequest@50ed50ed**** > > at > org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:37) > **** > > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33) > **** > > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestMethodReference.<init>(JUnit4TestMethodReference.java:25) > **** > > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:54) > **** > > at > org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38) > **** > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452) > **** > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) > **** > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) > **** > > at > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) > **** > > **** > > It seems like the junit runner thinks there aren’t any tests. Any > thoughts on why this might be happening would be greatly appreciated. > Thanks very much in advance.**** > > **** > > Setup Info:**** > > **** > > IDE: Eclipse Indigo 32 bit**** > > JVM: IBM J9 JVM 1.6.0 32 bit**** > > Maven: 3.0.3**** > > Pax Exam: 2.3.0**** > > Pax URL: 1.3.5**** > > This transmission may contain information that is privileged, > confidential, legally privileged, and/or exempt from disclosure under > applicable law. If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution, or use of the > information contained herein (including any reliance thereon) is STRICTLY > PROHIBITED. Although this transmission and any attachments are believed to > be free of any virus or other defect that might affect any computer system > into which it is received and opened, it is the responsibility of the > recipient to ensure that it is virus free and no responsibility is accepted > by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, > for any loss or damage arising in any way from its use. If you received > this transmission in error, please immediately contact the sender and > destroy the material in its entirety, whether in electronic or hard copy > format. Thank you. **** > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general**** > > > > **** > > ** ** > > -- > Toni Menzel Source <http://tonimenzel.com>**** > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > -- Toni Menzel Source <http://tonimenzel.com>
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general