FileDocCategorySizeDatePackage
InstrumentTest.javaAPI DocHibernate 3.2.52419Tue Dec 12 16:22:26 GMT 2006org.hibernate.test.instrument.buildtime

InstrumentTest

public class InstrumentTest extends org.hibernate.junit.UnitTestCase
author
Gavin King

Fields Summary
Constructors Summary
public InstrumentTest(String str)

		super(str);
	
Methods Summary
private voidexecute(org.hibernate.test.instrument.cases.Executable executable)

		executable.prepare();
		try {
			executable.execute();
		}
		finally {
			executable.complete();
		}
	
public static booleanisRunnable()

		return FieldInterceptionHelper.isInstrumented( new Document() );
	
protected voidrunTest()

		if ( isRunnable() ) {
			super.runTest();
		}
		else {
			reportSkip( "domain classes not instrumented", "build-time instrumentation" );
		}
	
public static junit.framework.Testsuite()

		return new TestSuite( InstrumentTest.class );
	
public voidtestDirtyCheck()

		execute( new TestDirtyCheckExecutable() );
	
public voidtestFetchAll()

		execute( new TestFetchAllExecutable() );
	
public voidtestLazy()

		execute( new TestLazyExecutable() );
	
public voidtestLazyManyToOne()

		execute( new TestLazyManyToOneExecutable() );
	
public voidtestLazyPropertyCustomTypeExecutable()

		execute( new TestLazyPropertyCustomTypeExecutable() );
	
public voidtestManyToOneProxy()

		execute( new TestManyToOneProxyExecutable() );
	
public voidtestPropertyInitialized()

		execute( new TestIsPropertyInitializedExecutable() );
	
public voidtestSetFieldInterceptor()

		execute( new TestInjectFieldInterceptorExecutable() );