Browse Source

Polishing

pull/1121/head
Juergen Hoeller 8 years ago
parent
commit
3ab86c10c9
  1. 2
      spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java
  2. 1
      spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxUnmarshallerTests.java

2
spring-oxm/src/test/java/org/springframework/oxm/jibx/JibxMarshallerTests.java

@ -43,6 +43,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller> @@ -43,6 +43,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller>
Assume.assumeTrue(System.getProperty("java.version").startsWith("1.8."));
}
@Override
protected JibxMarshaller createMarshaller() throws Exception {
JibxMarshaller marshaller = new JibxMarshaller();
@ -60,6 +61,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller> @@ -60,6 +61,7 @@ public class JibxMarshallerTests extends AbstractMarshallerTests<JibxMarshaller>
return flights;
}
@Test(expected = IllegalArgumentException.class)
public void afterPropertiesSetNoContextPath() throws Exception {
JibxMarshaller marshaller = new JibxMarshaller();

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

@ -71,6 +71,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests<JibxMarshal @@ -71,6 +71,7 @@ public class JibxUnmarshallerTests extends AbstractUnmarshallerTests<JibxMarshal
assertEquals("Number is invalid", 42L, flight.getNumber());
}
@Test
@Override
public void unmarshalPartialStaxSourceXmlStreamReader() throws Exception {

Loading…
Cancel
Save