HHH-6214 Updated test
This commit is contained in:
parent
996d567731
commit
3dfeceffe3
|
@ -23,8 +23,10 @@
|
||||||
*/
|
*/
|
||||||
package org.hibernate.ejb.test.cacheable.annotation;
|
package org.hibernate.ejb.test.cacheable.annotation;
|
||||||
|
|
||||||
import javax.persistence.SharedCacheMode;
|
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
import javax.persistence.SharedCacheMode;
|
||||||
|
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
import org.hibernate.cache.internal.NoCachingRegionFactory;
|
import org.hibernate.cache.internal.NoCachingRegionFactory;
|
||||||
import org.hibernate.cache.spi.access.AccessType;
|
import org.hibernate.cache.spi.access.AccessType;
|
||||||
|
@ -32,9 +34,6 @@ import org.hibernate.cfg.Environment;
|
||||||
import org.hibernate.ejb.AvailableSettings;
|
import org.hibernate.ejb.AvailableSettings;
|
||||||
import org.hibernate.ejb.Ejb3Configuration;
|
import org.hibernate.ejb.Ejb3Configuration;
|
||||||
import org.hibernate.mapping.PersistentClass;
|
import org.hibernate.mapping.PersistentClass;
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
import org.hibernate.testing.junit4.BaseUnitTestCase;
|
||||||
|
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
@ -128,8 +127,7 @@ public class ConfigurationTest extends BaseUnitTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class CustomRegionFactory extends NoCachingRegionFactory {
|
public static class CustomRegionFactory extends NoCachingRegionFactory {
|
||||||
public CustomRegionFactory(Properties properties) {
|
public CustomRegionFactory() {
|
||||||
super( properties );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue