1 10 11 package com.triactive.jdo.test.naming; 12 13 import com.triactive.jdo.test.StorageTestCase; 14 15 16 22 23 public class DuplicateTableNamesTest extends StorageTestCase 24 { 25 31 32 public DuplicateTableNamesTest(String name) 33 { 34 super(name); 35 } 36 37 38 public void testDuplicateTableNames() throws Exception 39 { 40 Class [] classes = new Class [] 41 { 42 com.triactive.jdo.test.naming.foo.Collision.class, 43 com.triactive.jdo.test.naming.bar.Collision.class 44 }; 45 46 addClassesToSchema(classes); 47 48 for (int i = 0; i < classes.length; ++i) 49 { 50 insertObjects(classes[i]); 51 validateObjects(classes[i]); 52 removeObjects(); 53 } 54 } 55 } 56 | Popular Tags |