ANN-817 : 8-bit characters in string values cause unit test failures

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16288 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2009-04-09 22:02:13 +00:00
parent bffe7ec6e9
commit 0dd8cf112f
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ public void testManyToOne() throws Exception {
Postman pm = new Postman( "Bob", "A01" ); Postman pm = new Postman( "Bob", "A01" );
House house = new House(); House house = new House();
house.setPostman( pm ); house.setPostman( pm );
house.setAddress( "Rue des prés" ); house.setAddress( "Rue des pres" );
s.persist( pm ); s.persist( pm );
s.persist( house ); s.persist( house );
tx.commit(); tx.commit();

View File

@ -10,7 +10,7 @@
public class TuplizerTest extends TestCase { public class TuplizerTest extends TestCase {
public void testEntityTuplizer() throws Exception { public void testEntityTuplizer() throws Exception {
Cuisine cuisine = ProxyHelper.newCuisineProxy( null ); Cuisine cuisine = ProxyHelper.newCuisineProxy( null );
cuisine.setName( "Française" ); cuisine.setName( "Francaise" );
Country country = ProxyHelper.newCountryProxy( null ); Country country = ProxyHelper.newCountryProxy( null );
country.setName( "France" ); country.setName( "France" );
cuisine.setCountry( country ); cuisine.setCountry( country );
@ -21,7 +21,7 @@ public void testEntityTuplizer() throws Exception {
s.clear(); s.clear();
cuisine = (Cuisine) s.get(Cuisine.class, cuisine.getId() ); cuisine = (Cuisine) s.get(Cuisine.class, cuisine.getId() );
assertNotNull( cuisine ); assertNotNull( cuisine );
assertEquals( "Française", cuisine.getName() ); assertEquals( "Francaise", cuisine.getName() );
assertEquals( "France", country.getName() ); assertEquals( "France", country.getName() );
s.getTransaction().rollback(); s.getTransaction().rollback();
s.close(); s.close();