提交 7b63745e 编写于 作者: J Juergen Hoeller

Ignore setAliasesByType tests since they fail on OpenJDK 8 b108

Probably an XStream-internal problem: fails to marshal the flightNumber element.
上级 d9b62038
......@@ -43,6 +43,7 @@ import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;
import com.thoughtworks.xstream.io.json.JsonHierarchicalStreamDriver;
import com.thoughtworks.xstream.io.json.JsonWriter;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.InOrder;
import org.w3c.dom.Document;
......@@ -228,6 +229,7 @@ public class XStreamMarshallerTests {
}
@Test
@Ignore("Fails on JDK 8 build 108")
public void aliasesByTypeStringClassMap() throws Exception {
Map<String, Class<?>> aliases = new HashMap<String, Class<?>>();
aliases.put("flight", Flight.class);
......@@ -241,6 +243,7 @@ public class XStreamMarshallerTests {
}
@Test
@Ignore("Fails on JDK 8 build 108")
public void aliasesByTypeStringStringMap() throws Exception {
Map<String, String> aliases = new HashMap<String, String>();
aliases.put("flight", Flight.class.getName());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册