On Aug 2, 2012, at 1:26 AM, Hardy Ferentschik wrote: >> When hibernate.test.validatefailureexpected is false (the default), the >> result from FailureExpected tests is simply ignored. > > :-(
Hardy, I'm assuming from your frown, you don't like this for some reason. This is the expected behavior, and the main reason for having these annotations in the first place. >> I've gone ahead and pushed a fix that removes >> @FailureExpectedWithNewMetamodel from those tests that succeed without the >> annotation. >> >> There are 2 tests where this does not work: >> org.hibernate.test.annotations.interfaces.InterfacesTest >> >> org.hibernate.test.annotations.idmanytoone.alphabetical.AlphabeticalIdManyToOneTest >> >> These tests fail with org.hibernate.cfg.NotYetImplementedException when the >> sources are being processed. For some reason. this failure is not recognized >> as an expected failure. I'm not sure of the reason for this. > > Probably because it happens I'm the setup phase and not during the test > execution. That shouldn't be the case. These annotations are honored even during setup. JPAV _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev