it is before it, i copied what you did in fact ;) however i have some issues, a simple example could maybe help:
a test verify that if the configuration is bad a ValidationException is thrown -> in OpenEJB it is wrapped (of course we are in a container) well a lot of tests are like it...finally if we make everything pass...we have the apache bval tests. - Romain 2011/7/3 David Blevins <[email protected]> > On Jul 3, 2011, at 12:38 PM, Romain Manni-Bucau wrote: > > > Hi, > > > > i wonder how we could pass bval tck, > > > > i mean, in the jsr303 there is nothing useable to pass TCKs, in JEE 6 > spec > > only the Validator and ValidatorFactory are described. > > > > However in the tck set a lot of standalone (not jee) tests are present > and i > > don't know how we should pass them. > > If it is anything like the CDI TCK, we need to run standalone=false for > TomEE. Basically a matter of booting TomEE, implementing the test suite > hooks to deploy what the test suite gives us (should be a war or an ear), > then the tests would be run over a servlet -- there's a build-in runner > called WebAppLauncher or something that you use instead of the > LocalTestLauncher. That's the the CDI TCK does anyway. > > I figured out a way to run most of it embedded (standalone=true), but > that's more for convenience than a requirement since we can't actually pass > all the tests that way. > > > -David > >
