1 /* 2 * Created on 2003-6-26 16:33:49 by joel guo 3 * 4 * vTradEx Information Technology Inc. 5 */ 6 package com.cyclops.dbdigger.model; 7 import com.cyclops.dbdigger.DBDigger; 8 import com.cyclops.dbdigger.DBDiggerTestCase; 9 import com.cyclops.dbdigger.schema.Table; 10 /*** Add description <font color="red">HERE</font>! 11 * 12 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a> 13 * @since 2003-6-26 16:33:49 14 */ 15 public class DBObject1MetadataTest extends DBDiggerTestCase { 16 /*** Method testProperties() */ 17 public void testProperties() { 18 Table table1 = 19 DBDigger.getInstance().getDatabase().getTable("c_foo_object1s"); 20 assertEquals(table1.getColumn("id"), DBObject1Metadata.ID); 21 assertEquals( 22 table1.getColumn("object_name"), 23 DBObject1Metadata.OBJECT_NAME); 24 assertEquals(table1.getColumn("id"), DBObject1Metadata.PRIMARY_KEY); 25 assertEquals("c_foo_object1s", DBObject1Metadata.NAME); 26 assertEquals( 27 DBObject1.class.getName(), 28 DBObject1Metadata.JAVA_CLASS_NAME); 29 } 30 }

This page was automatically generated by Maven