public void TestContainsAllValuesFilter()
        {
            ContainsAllValuesFilter v1 = new ContainsAllValuesFilter(ConnectorAttributeBuilder.Build("foo", "bar", "foo"));
            ContainsAllValuesFilter v2 = (ContainsAllValuesFilter)CloneObject(v1);

            Assert.AreEqual(v1.GetAttribute(), v2.GetAttribute());
        }
 public void TestContainsAllValuesFilter()
 {
     ContainsAllValuesFilter v1 = new ContainsAllValuesFilter(ConnectorAttributeBuilder.Build("foo", "bar", "foo"));
     ContainsAllValuesFilter v2 = (ContainsAllValuesFilter)CloneObject(v1);
     Assert.AreEqual(v1.GetAttribute(), v2.GetAttribute());
 }
Exemple #3
0
        protected override String CreateContainsAllValuesExpression(ContainsAllValuesFilter filter, bool not)
        {
            String rv = "( CONTAINS-ALL-VALUES " + filter.GetAttribute() + " )";

            return(Not(rv, not));
        }