Browse Source

Fixed illegal characters in JibxUnmarshallerTests

JibxUnmarshallerTests contained UTF-8 characters; this commit changes
those to the \uXXX notation, as all Java source files should be in
Latin-1.
pull/60/head
Arjen Poutsma 13 years ago
parent
commit
d2251a12c3
  1. 4
      spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java

4
spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java

@ -37,7 +37,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests { @@ -37,7 +37,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests {
protected static final String INPUT_STRING_WITH_SPECIAL_CHARACTERS =
"<tns:flights xmlns:tns=\"http://samples.springframework.org/flight\">" +
"<tns:flight><tns:airline>Air Liberté</tns:airline><tns:number>42</tns:number></tns:flight></tns:flights>";
"<tns:flight><tns:airline>Air Libert\u00e9</tns:airline><tns:number>42</tns:number></tns:flight></tns:flights>";
@Override
protected Unmarshaller createUnmarshaller() throws Exception {
@ -78,7 +78,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests { @@ -78,7 +78,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests {
testFlights(flights);
FlightType flight = ((Flights)flights).getFlight(0);
assertEquals("Airline is invalid", "Air Liberté", flight.getAirline());
assertEquals("Airline is invalid", "Air Libert\u00e9", flight.getAirline());
}
}

Loading…
Cancel
Save