Class EnhancerTestUtils
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.bytecode.enhancement.EnhancerTestUtils
utility class to use in bytecode enhancement tests
-
Field Summary
Fields inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
executorService, globalTimeout, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckDirtyTracking(Object entityInstance, String... dirtyFields) compares the dirty fields of an entity with a set of expected valuesstatic voidclearDirtyTracking(Object entityInstance) clears the dirty set for an entitystatic ObjectgetFieldByReflection(Object entity, String fieldName) static org.hibernate.engine.spi.EntityEntryMethods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
assertNoLeaks, executeAsync, executeSync, releaseTransactions, sleep
-
Constructor Details
-
EnhancerTestUtils
public EnhancerTestUtils()
-
-
Method Details
-
getFieldByReflection
-
clearDirtyTracking
clears the dirty set for an entity -
checkDirtyTracking
compares the dirty fields of an entity with a set of expected values -
makeEntityEntry
public static org.hibernate.engine.spi.EntityEntry makeEntityEntry()
-