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 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)


Copyright (c) 2004-2010 Oracle. All rights reserved.