This content has been marked as final.
Show 3 replies
-
1. Re: Can I add all classes from my project to the testclass?
jmfaerman Jul 19, 2011 4:24 PM (in response to mokelet)Same problem here. Could you find a solution or workaround?
-
2. Re: Can I add all classes from my project to the testclass?
htfv Jul 28, 2011 10:40 AM (in response to mokelet)You can add complete packages like this:
WebArchive archive = ShrinkWrap.create(WebArchive.class)
.addPackages(true, // recursive
"com.example"); // package name
Or like this:
WebArchive archive = ShrinkWrap.create(WebArchive.class)
.addPackages(true, // recursive
Example.class.getPackage()); // package
-
3. Re: Can I add all classes from my project to the testclass?
jmfaerman Jul 28, 2011 10:57 AM (in response to htfv)That helps. Thanks!