Lines Matching refs:TestCase
13 import junit.framework.TestCase;
76 * abbreviated values like TestCase.assertEquals does.
80 TestCase.fail("Expected:\n" + expected + "\nBut got:\n" + got);
103 TestCase.assertNotNull(model.getEntityMetadata(className));
105 TestCase.assertNotNull(meta);
106 TestCase.assertEquals(version, meta.getVersion());
107 TestCase.assertTrue(meta.isEntityClass());
110 TestCase.assertNotNull(raw);
111 TestCase.assertEquals(version, raw.getVersion());
113 TestCase.assertNull(model.getEntityMetadata(className));
114 TestCase.assertNull(model.getClassMetadata(className));
115 TestCase.assertNull(model.getRawType(className));
134 TestCase.assertNotNull(meta);
135 TestCase.assertEquals(version, meta.getVersion());
136 TestCase.assertTrue(!meta.isEntityClass());
139 TestCase.assertNotNull(raw);
140 TestCase.assertEquals(version, raw.getVersion());
142 TestCase.assertNull(model.getClassMetadata(className));
143 TestCase.assertNull(model.getRawType(className));
146 TestCase.assertNull(model.getEntityMetadata(className));
181 TestCase.assertNotNull(all);
184 TestCase.assertEquals(names.length, all.size());
189 TestCase.assertEquals(versions[i], type.getVersion());
190 TestCase.assertEquals(names[i], type.getClassName());