Fix test to follow 6.0 behaviour (#4513)
* Fix test to follow 6.0 behaviour
This commit is contained in:
parent
91a720772f
commit
2f8d22e9e5
|
@ -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;
|
|
@ -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;
|
||||
|
|
@ -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"/>
|
|
@ -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();
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue