com.sleepycat.je.utilint
Class TestHookExecute
java.lang.Object
com.sleepycat.je.utilint.TestHookExecute
public class TestHookExecute
- extends Object
Execute a test hook if set. This wrapper is used so that test hook execution
can be packaged into a single statement that can be done within an assert
statement.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestHookExecute
public TestHookExecute()
doHookSetupIfSet
public static boolean doHookSetupIfSet(TestHook<?> testHook)
doHookIfSet
public static boolean doHookIfSet(TestHook<?> testHook)
doHookIfSet
public static <T> boolean doHookIfSet(TestHook<T> testHook,
T obj)
Copyright (c) 2004-2012 Oracle. All rights reserved.