Ensure null status is passed to view bulk tests

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131276 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-10-10 21:08:26 +00:00
parent 7f40c66819
commit 1557ede997
1 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestMap.java,v 1.6 2003/10/09 20:20:23 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestMap.java,v 1.7 2003/10/10 21:08:26 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@ -152,7 +152,7 @@ import java.util.Set;
* @author Rodney Waldhoff
* @author Paul Jack
* @author Stephen Colebourne
* @version $Revision: 1.6 $ $Date: 2003/10/09 20:20:23 $
* @version $Revision: 1.7 $ $Date: 2003/10/10 21:08:26 $
*/
public abstract class AbstractTestMap extends AbstractTestObject {
@ -1159,6 +1159,10 @@ public abstract class AbstractTestMap extends AbstractTestObject {
return makeFullMap().keySet();
}
protected boolean isNullSupported() {
return AbstractTestMap.this.isAllowNullKey();
}
protected boolean isAddSupported() {
return false;
}
@ -1220,6 +1224,10 @@ public abstract class AbstractTestMap extends AbstractTestObject {
return makeFullMap().values();
}
protected boolean isNullSupported() {
return AbstractTestMap.this.isAllowNullKey();
}
protected boolean isAddSupported() {
return false;
}