You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2015/11/14 14:38:05 UTC
svn commit: r1714322 -
/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java
Author: tn
Date: Sat Nov 14 13:38:05 2015
New Revision: 1714322
URL: http://svn.apache.org/viewvc?rev=1714322&view=rev
Log:
Temporarily disable tests for new multi-valued maps wrt serialization until support is restored.
Modified:
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java
Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java?rev=1714322&r1=1714321&r2=1714322&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java (original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java Sat Nov 14 13:38:05 2015
@@ -104,6 +104,12 @@ public abstract class AbstractMultiValue
return true;
}
+ // FIXME: tests ignore to fix serialization issues
+ @Override
+ public boolean isTestSerialization() {
+ return false;
+ }
+
/**
* Returns the set of keys in the mappings used to test the map. This method
* must return an array with the same length as {@link #getSampleValues()}
@@ -756,15 +762,17 @@ public abstract class AbstractMultiValue
// extend the AbstractTestMap
// -----------------------------------------------------------------------
- public void testEmptyMapCompatibility() throws Exception {
+ // FIXME: tests ignore to fix serialization issues
+ public void xtestEmptyMapCompatibility() throws Exception {
final MultiValuedMap<?, ?> map = makeObject();
final MultiValuedMap<?, ?> map2 =
(MultiValuedMap<?, ?>) readExternalFormFromDisk(getCanonicalEmptyCollectionName(map));
assertEquals("Map is empty", 0, map2.size());
}
+ // FIXME: tests ignore to fix serialization issues
@SuppressWarnings({ "rawtypes", "unchecked" })
- public void testFullMapCompatibility() throws Exception {
+ public void xtestFullMapCompatibility() throws Exception {
final MultiValuedMap map = makeFullMap();
final MultiValuedMap map2 =
(MultiValuedMap) readExternalFormFromDisk(getCanonicalFullCollectionName(map));