com.sleepycat.je.utilint
Class TestHookExecute

java.lang.Object
  extended by 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.


Constructor Summary
TestHookExecute()
           
 
Method Summary
static boolean doHookIfSet(TestHook<?> testHook)
           
static
<T> boolean
doHookIfSet(TestHook<T> testHook, T obj)
           
static boolean doHookSetupIfSet(TestHook<?> testHook)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestHookExecute

public TestHookExecute()
Method Detail

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.