qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1457062 - /qpid/trunk/qpid/cpp/src/tests/Selector.cpp
Date Fri, 15 Mar 2013 18:50:56 GMT
Author: astitcher
Date: Fri Mar 15 18:50:56 2013
New Revision: 1457062

URL: http://svn.apache.org/r1457062
Log:
QPID-4623: Fixed the unit test for unknown values

Modified:
    qpid/trunk/qpid/cpp/src/tests/Selector.cpp

Modified: qpid/trunk/qpid/cpp/src/tests/Selector.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/Selector.cpp?rev=1457062&r1=1457061&r2=1457062&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/Selector.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/Selector.cpp Fri Mar 15 18:50:56 2013
@@ -301,8 +301,8 @@ QPID_AUTO_TEST_CASE(numericEval)
     BOOST_CHECK(!qb::Selector("A BETWEEN B and 40").eval(env));
     BOOST_CHECK(!qb::Selector("A BETWEEN C and 40").eval(env));
     BOOST_CHECK(!qb::Selector("A BETWEEN 45 and C").eval(env));
-    BOOST_CHECK(!qb::Selector("A BETWEEN 40 and C AND A NOT BETWEEN 40 and C").eval(env));
-    BOOST_CHECK(!qb::Selector("A BETWEEN C and 45 AND A NOT BETWEEN C and 45").eval(env));
+    BOOST_CHECK(!qb::Selector("A BETWEEN 40 and C OR A NOT BETWEEN 40 and C").eval(env));
+    BOOST_CHECK(!qb::Selector("A BETWEEN C and 45 OR A NOT BETWEEN C and 45").eval(env));
 }
 
 QPID_AUTO_TEST_CASE(comparisonEval)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message