From 3d678701c25a739c14829d4755a80967d4422041 Mon Sep 17 00:00:00 2001 From: Paul Stoellberger Date: Fri, 8 Oct 2010 12:33:16 +0000 Subject: [PATCH] adapt QM tests to new filter behaviour (set instead of tuple) git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@355 c6a108a4-781c-0410-a6c6-c2d559e19af0 --- testsrc/org/olap4j/OlapTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/testsrc/org/olap4j/OlapTest.java b/testsrc/org/olap4j/OlapTest.java index ec08bb5..43bd59b 100644 --- a/testsrc/org/olap4j/OlapTest.java +++ b/testsrc/org/olap4j/OlapTest.java @@ -463,7 +463,7 @@ public void testSortDimension() { + "{[Measures].[Store Sales]} ON COLUMNS,\n" + "{{[Product].[Drink], [Product].[Drink].Children}} ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", mdxString); // Sort the products in ascending order. @@ -476,7 +476,7 @@ public void testSortDimension() { + "{[Measures].[Store Sales]} ON COLUMNS,\n" + "{Order({{[Product].[Drink], [Product].[Drink].Children}}, [Product].CurrentMember.Name, DESC)} ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", sortedMdxString); CellSet results = query.execute(); @@ -654,7 +654,7 @@ public void testSortAxis() { + "{[Measures].[Store Sales]} ON COLUMNS,\n" + "{{[Product].[Drink], [Product].[Drink].Children}} ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", mdxString); // Sort the rows in ascending order. @@ -670,7 +670,7 @@ public void testSortAxis() { + "{[Measures].[Store Sales]} ON COLUMNS,\n" + "Order({{[Product].[Drink], [Product].[Drink].Children}}, [Measures].[Store Sales], BASC) ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", sortedMdxString); CellSet results = query.execute(); @@ -942,7 +942,7 @@ public void testExclusionModes() { + "{[Measures].[Sales Count]} ON COLUMNS,\n" + "{[Product].[Drink].[Beverages].Children, [Product].[Food].[Frozen Foods].Children} ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", mdxString); // Validate the returned results @@ -992,7 +992,7 @@ public void testExclusionModes() { + "{[Measures].[Sales Count]} ON COLUMNS,\n" + "{Except({[Product].[Drink].[Beverages].Children, [Product].[Food].[Frozen Foods].Children}, {[Product].[Drink].[Beverages].[Carbonated Beverages]})} ON ROWS\n" + "FROM [Sales]\n" - + "WHERE ([Time].[1997].[Q3].[7])", + + "WHERE {[Time].[1997].[Q3].[7]}", mdxString); // Validate the returned results