Temporarily disable tests for new multi-valued maps wrt serialization until support is restored.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714322 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2015-11-14 13:38:05 +00:00
parent eaea717cc6
commit 0d1c6168f4
1 changed files with 10 additions and 2 deletions

View File

@ -104,6 +104,12 @@ public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTes
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 AbstractMultiValuedMapTest<K, V> extends AbstractObjectTes
// 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));