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