Author: gbadner
Date: 2009-04-09 18:02:13 -0400 (Thu, 09 Apr 2009)
New Revision: 16288
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/tuplizer/TuplizerTest.java
Log:
ANN-817 : 8-bit characters in string values cause unit test failures
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java
===================================================================
---
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java 2009-04-09
16:07:22 UTC (rev 16287)
+++
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/referencedcolumnname/ReferencedColumnNameTest.java 2009-04-09
22:02:13 UTC (rev 16288)
@@ -20,7 +20,7 @@
Postman pm = new Postman( "Bob", "A01" );
House house = new House();
house.setPostman( pm );
- house.setAddress( "Rue des pr�s" );
+ house.setAddress( "Rue des pres" );
s.persist( pm );
s.persist( house );
tx.commit();
Modified:
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/tuplizer/TuplizerTest.java
===================================================================
---
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/tuplizer/TuplizerTest.java 2009-04-09
16:07:22 UTC (rev 16287)
+++
core/trunk/annotations/src/test/java/org/hibernate/test/annotations/tuplizer/TuplizerTest.java 2009-04-09
22:02:13 UTC (rev 16288)
@@ -10,7 +10,7 @@
public class TuplizerTest extends TestCase {
public void testEntityTuplizer() throws Exception {
Cuisine cuisine = ProxyHelper.newCuisineProxy( null );
- cuisine.setName( "Fran�aise" );
+ cuisine.setName( "Francaise" );
Country country = ProxyHelper.newCountryProxy( null );
country.setName( "France" );
cuisine.setCountry( country );
@@ -21,7 +21,7 @@
s.clear();
cuisine = (Cuisine) s.get(Cuisine.class, cuisine.getId() );
assertNotNull( cuisine );
- assertEquals( "Fran�aise", cuisine.getName() );
+ assertEquals( "Francaise", cuisine.getName() );
assertEquals( "France", country.getName() );
s.getTransaction().rollback();
s.close();