Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FD8CDCB1 for ; Fri, 15 Mar 2013 18:53:05 +0000 (UTC) Received: (qmail 25299 invoked by uid 500); 15 Mar 2013 18:53:05 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 25255 invoked by uid 500); 15 Mar 2013 18:53:05 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 25155 invoked by uid 99); 15 Mar 2013 18:53:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 18:53:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 18:53:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 006D023889BF; Fri, 15 Mar 2013 18:50:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1457062 - /qpid/trunk/qpid/cpp/src/tests/Selector.cpp Date: Fri, 15 Mar 2013 18:50:56 -0000 To: commits@qpid.apache.org From: astitcher@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130315185057.006D023889BF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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