public abstract class EnhancerTestUtils extends BaseUnitTestCase
utility class to use in bytecode enhancement tests
executorService, globalTimeout, log| Constructor and Description | 
|---|
| EnhancerTestUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkDirtyTracking(Object entityInstance,
                  String... dirtyFields)compares the dirty fields of an entity with a set of expected values | 
| static void | clearDirtyTracking(Object entityInstance)clears the dirty set for an entity | 
| static Object | getFieldByReflection(Object entity,
                    String fieldName) | 
| static org.hibernate.engine.spi.EntityEntry | makeEntityEntry() | 
assertNoLeaks, executeAsync, executeSync, releaseTransactions, sleeppublic static void clearDirtyTracking(Object entityInstance)
clears the dirty set for an entity
public static void checkDirtyTracking(Object entityInstance, String... dirtyFields)
compares the dirty fields of an entity with a set of expected values
public static org.hibernate.engine.spi.EntityEntry makeEntityEntry()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.