HHH-14371 Move tests specific to Javassist to the appropriate source set
Otherwise they won't be executed with the appropriate JVM args. Signed-off-by: Yoann Rodière <yoann@hibernate.org>
This commit is contained in:
parent
66ecd0cc67
commit
da0d8415e6
|
@ -9,7 +9,6 @@ package org.hibernate.test.bytecode;
|
||||||
import static org.junit.Assert.assertEquals;
|
import static org.junit.Assert.assertEquals;
|
||||||
import static org.junit.Assert.assertNotNull;
|
import static org.junit.Assert.assertNotNull;
|
||||||
|
|
||||||
import org.hibernate.bytecode.internal.javassist.BulkAccessor;
|
|
||||||
import org.hibernate.bytecode.spi.BytecodeProvider;
|
import org.hibernate.bytecode.spi.BytecodeProvider;
|
||||||
import org.hibernate.bytecode.spi.ReflectionOptimizer;
|
import org.hibernate.bytecode.spi.ReflectionOptimizer;
|
||||||
import org.hibernate.cfg.Environment;
|
import org.hibernate.cfg.Environment;
|
||||||
|
@ -21,15 +20,6 @@ import org.junit.Test;
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
*/
|
*/
|
||||||
public class ReflectionOptimizerTest extends BaseUnitTestCase {
|
public class ReflectionOptimizerTest extends BaseUnitTestCase {
|
||||||
@Test
|
|
||||||
public void testBulkAccessorDirectly() {
|
|
||||||
BulkAccessor bulkAccessor = BulkAccessor.create(
|
|
||||||
Bean.class,
|
|
||||||
BeanReflectionHelper.getGetterNames(),
|
|
||||||
BeanReflectionHelper.getSetterNames(),
|
|
||||||
BeanReflectionHelper.getTypes()
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testReflectionOptimization() {
|
public void testReflectionOptimization() {
|
||||||
|
|
Loading…
Reference in New Issue