can pass null as value for IS_SET or IS_NOT_SET
diff --git a/org.eclipse.rmf.reqif10.search.test/src/org/eclipse/rmf/reqif10/search/test/StringFilterTest.java b/org.eclipse.rmf.reqif10.search.test/src/org/eclipse/rmf/reqif10/search/test/StringFilterTest.java
index 6a1d37f..d5d3dba 100644
--- a/org.eclipse.rmf.reqif10.search.test/src/org/eclipse/rmf/reqif10/search/test/StringFilterTest.java
+++ b/org.eclipse.rmf.reqif10.search.test/src/org/eclipse/rmf/reqif10/search/test/StringFilterTest.java
@@ -227,13 +227,13 @@
public void testIsSet() throws Exception {
StringFilter filter;
- filter = new StringFilter(IFilter.Operator.IS_SET, "", attributeDefinition, false);
+ filter = new StringFilter(IFilter.Operator.IS_SET, null, attributeDefinition, false);
doMatch(filter, true);
AttributeDefinitionString attributeDefinition2 = ReqIF10Factory.eINSTANCE.createAttributeDefinitionString();
attributeDefinition2.setIdentifier("AD_ID1");
- filter = new StringFilter(IFilter.Operator.IS_SET, "", attributeDefinition2, false);
+ filter = new StringFilter(IFilter.Operator.IS_SET, null, attributeDefinition2, false);
doMatch(filter, false);
}
@@ -242,13 +242,13 @@
public void testIsNotSet() throws Exception {
StringFilter filter;
- filter = new StringFilter(IFilter.Operator.IS_NOT_SET, "", attributeDefinition, false);
+ filter = new StringFilter(IFilter.Operator.IS_NOT_SET, null, attributeDefinition, false);
doMatch(filter, false);
AttributeDefinitionString attributeDefinition2 = ReqIF10Factory.eINSTANCE.createAttributeDefinitionString();
attributeDefinition2.setIdentifier("AD_ID1");
- filter = new StringFilter(IFilter.Operator.IS_NOT_SET, "", attributeDefinition2, false);
+ filter = new StringFilter(IFilter.Operator.IS_NOT_SET, null, attributeDefinition2, false);
doMatch(filter, false);
}