METAGEN-54 Renamed test and fixed typo in test method
This commit is contained in:
parent
cb900355a7
commit
5bdd8c3311
|
@ -15,7 +15,6 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
package org.hibernate.jpamodelgen.test.xmlonly;
|
package org.hibernate.jpamodelgen.test.xmlonly;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -35,7 +34,7 @@ import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfField
|
||||||
*/
|
*/
|
||||||
public class XmlOnlyTest extends CompilationTest {
|
public class XmlOnlyTest extends CompilationTest {
|
||||||
@Test
|
@Test
|
||||||
public void testMetaModelGeneratedForXmlConiguredEntity() {
|
public void testMetaModelGeneratedForXmlConfiguredEntity() {
|
||||||
assertMetamodelClassGeneratedFor( XmlOnly.class );
|
assertMetamodelClassGeneratedFor( XmlOnly.class );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +45,7 @@ public class XmlOnlyTest extends CompilationTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testMetaModelGeneratedForManyToManyPropertyAccessWithoutTargetEntity() {
|
public void testMetaModelGeneratedForOneToManyPropertyAccessWithoutTargetEntity() {
|
||||||
assertPresenceOfFieldInMetamodelFor(Car.class, "tires", "Type should be inferred from field");
|
assertPresenceOfFieldInMetamodelFor(Car.class, "tires", "Type should be inferred from field");
|
||||||
assertPresenceOfFieldInMetamodelFor(Tire.class, "car", "Type should be inferred from field");
|
assertPresenceOfFieldInMetamodelFor(Tire.class, "car", "Type should be inferred from field");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue