Repository: usergrid Updated Branches: refs/heads/usergrid-1099 d37be7066 -> bd4fd2643
Comments only. Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/bd4fd264 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/bd4fd264 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/bd4fd264 Branch: refs/heads/usergrid-1099 Commit: bd4fd264378d9874422f1ace0b2ee3b0d57adfc2 Parents: d37be70 Author: Dave Johnson <[email protected]> Authored: Fri Nov 6 15:22:57 2015 -0500 Committer: Dave Johnson <[email protected]> Committed: Fri Nov 6 15:22:57 2015 -0500 ---------------------------------------------------------------------- .../org/apache/usergrid/persistence/ParenthesisProblemIT.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/bd4fd264/stack/core/src/test/java/org/apache/usergrid/persistence/ParenthesisProblemIT.java ---------------------------------------------------------------------- diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/ParenthesisProblemIT.java b/stack/core/src/test/java/org/apache/usergrid/persistence/ParenthesisProblemIT.java index ab52416..100fd0f 100644 --- a/stack/core/src/test/java/org/apache/usergrid/persistence/ParenthesisProblemIT.java +++ b/stack/core/src/test/java/org/apache/usergrid/persistence/ParenthesisProblemIT.java @@ -29,16 +29,17 @@ import java.util.UUID; import static org.junit.Assert.assertEquals; +// Created for https://issues.apache.org/jira/browse/USERGRID-1099 public class ParenthesisProblemIT extends AbstractCoreIT { private static final Logger logger = LoggerFactory.getLogger( ParenthesisProblemIT.class ); - @Test // this test passes + @Test public void parenthesisProblem1() throws Exception { // C = c and ( A > a or B = false ) parenthesisProblem(1, "color = 'tabby' and (age > 7 or large = true)"); } - @Test // this test fails + @Test public void parenthesisProblem2() throws Exception { // same as #1 except for order of things listed in 'and' operation // ( A > a or B = false ) and C = c
