Fix test to follow 6.0 behaviour (#4513)

* Fix test to follow 6.0 behaviour
This commit is contained in:
Fabio Massimo Ercoli 2021-12-23 14:15:43 +01:00 committed by GitHub
parent 91a720772f
commit 2f8d22e9e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
*/
//$Id: Employee.java 5686 2005-02-12 07:27:32Z steveebersole $
package org.hibernate.test.ternary;
package org.hibernate.orm.test.ternary;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;

View File

@ -6,7 +6,7 @@
*/
//$Id: Site.java 5686 2005-02-12 07:27:32Z steveebersole $
package org.hibernate.test.ternary;
package org.hibernate.orm.test.ternary;
import java.util.HashSet;
import java.util.Set;

View File

@ -10,7 +10,7 @@
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<hibernate-mapping
package="org.hibernate.test.ternary">
package="org.hibernate.orm.test.ternary">
<class name="Employee">
<id name="name"/>

View File

@ -4,7 +4,7 @@
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.ternary;
package org.hibernate.orm.test.ternary;
import java.util.HashMap;
import java.util.HashSet;
@ -91,7 +91,7 @@ public class TernaryTest extends BaseCoreFunctionalTestCase {
s = openSession();
t = s.beginTransaction();
l = s.createQuery("from Employee e left join fetch e.managerBySite").list();
assertEquals( l.size(), 5 );
assertEquals( l.size(), 4 );
Set set = new HashSet(l);
assertEquals( set.size(), 4 );
Iterator iter = set.iterator();

View File

@ -253,7 +253,7 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
}
protected String getBaseForMappings() {
return "org/hibernate/test/";
return "org/hibernate/orm/test/";
}
protected static final Class<?>[] NO_CLASSES = new Class[0];