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 void
checkDirtyTracking
(Object entityInstance, String... dirtyFields) compares the dirty fields of an entity with a set of expected valuesstatic void
clearDirtyTracking
(Object entityInstance) clears the dirty set for an entitystatic Object
getFieldByReflection
(Object entity, String fieldName) static EntityEntry
Methods 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
-