Skip to content

Commit

Permalink
Fix test to follow 6.0 behaviour (#4513)
Browse files Browse the repository at this point in the history
* Fix test to follow 6.0 behaviour
  • Loading branch information
fax4ever committed Dec 23, 2021
1 parent 91a7207 commit 2f8d22e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Expand Up @@ -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;
Expand Down
Expand Up @@ -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;

Expand Down
Expand Up @@ -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"/>
Expand Down
Expand Up @@ -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;
Expand Down Expand Up @@ -91,7 +91,7 @@ public void testTernary() {
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();
Expand Down
Expand Up @@ -253,7 +253,7 @@ protected String[] getMappings() {
}

protected String getBaseForMappings() {
return "org/hibernate/test/";
return "org/hibernate/orm/test/";
}

protected static final Class<?>[] NO_CLASSES = new Class[0];
Expand Down

0 comments on commit 2f8d22e

Please sign in to comment.