FileDocCategorySizeDatePackage
ValueVisitorTest.javaAPI DocHibernate 3.2.54977Tue Dec 12 16:22:26 GMT 2006org.hibernate.test.mapping

ValueVisitorTest

public class ValueVisitorTest extends org.hibernate.junit.UnitTestCase
author
max

Fields Summary
Constructors Summary
public ValueVisitorTest(String string)

		super( string );
	
Methods Summary
public static junit.framework.Testsuite()

		return new TestSuite(ValueVisitorTest.class);
	
public voidtestProperCallbacks()


		ValueVisitor vv = new ValueVisitorValidator();
		
		new Any(new Table()).accept(vv);
		new Array(new RootClass()).accept(vv);
		new Bag(new RootClass()).accept(vv);
		new Component(new RootClass()).accept(vv);
		new DependantValue(null,null).accept(vv);
		new IdentifierBag(null).accept(vv);
		new List(null).accept(vv);
		new ManyToOne(null).accept(vv);
		new Map(null).accept(vv);
		new OneToMany(null).accept(vv);
		new OneToOne(null, new RootClass() ).accept(vv);
		new PrimitiveArray(null).accept(vv);
		new Set(null).accept(vv);
		new SimpleValue().accept(vv);