METAGEN-67 Renaming tests to reflect actual problem
This commit is contained in:
parent
99f40d7e06
commit
214e357d13
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.hibernate.jpamodelgen.test.manytoone;
|
||||
package org.hibernate.jpamodelgen.test.mappedsuperclasswithoutid;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.hibernate.jpamodelgen.test.manytoone;
|
||||
package org.hibernate.jpamodelgen.test.mappedsuperclasswithoutid;
|
||||
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
|
@ -26,9 +26,9 @@ import static org.hibernate.jpamodelgen.test.util.TestUtil.assertPresenceOfField
|
|||
/**
|
||||
* @author Hardy Ferentschik
|
||||
*/
|
||||
public class MappedSuperclassManyToOneTest extends CompilationTest {
|
||||
public class MappedSuperclassWithoutExplicitIdTest extends CompilationTest {
|
||||
@Test
|
||||
public void testExtractClosestRealType() {
|
||||
public void testRightAccessTypeForMappedSuperclass() {
|
||||
assertMetamodelClassGeneratedFor( ConcreteProduct.class );
|
||||
assertMetamodelClassGeneratedFor( Product.class );
|
||||
assertMetamodelClassGeneratedFor( Shop.class );
|
||||
|
@ -37,6 +37,6 @@ public class MappedSuperclassManyToOneTest extends CompilationTest {
|
|||
|
||||
@Override
|
||||
protected String getPackageNameOfCurrentTest() {
|
||||
return MappedSuperclassManyToOneTest.class.getPackage().getName();
|
||||
return MappedSuperclassWithoutExplicitIdTest.class.getPackage().getName();
|
||||
}
|
||||
}
|
|
@ -14,10 +14,8 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.hibernate.jpamodelgen.test.manytoone;
|
||||
package org.hibernate.jpamodelgen.test.mappedsuperclasswithoutid;
|
||||
|
||||
import javax.persistence.Access;
|
||||
import javax.persistence.AccessType;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.MappedSuperclass;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.hibernate.jpamodelgen.test.manytoone;
|
||||
package org.hibernate.jpamodelgen.test.mappedsuperclasswithoutid;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
Loading…
Reference in New Issue