Skip to content

Commit

Permalink
Makes a few connection tests not run until we actually implement dril…
Browse files Browse the repository at this point in the history
…lthrough over XMLA.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@530 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Apr 20, 2012
1 parent 6c836aa commit 7771362
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions testsrc/org/olap4j/ConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2978,6 +2978,12 @@ public void testCubesDrillthrough() throws Exception {
* as a numeric key.
*/
public void testCubesDrillthroughReturnClause() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -2998,6 +3004,12 @@ public void testCubesDrillthroughReturnClause() throws Exception {
* but with a single column returned.
*/
public void testCubesDrillthroughReturnClause2() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3018,6 +3030,12 @@ public void testCubesDrillthroughReturnClause2() throws Exception {
* but without selecting anything except the slicer axis.
*/
public void testCubesDrillthroughReturnClause3() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3038,6 +3056,12 @@ public void testCubesDrillthroughReturnClause3() throws Exception {
* include any measure on its axis, but has 2 in the RETURN clause.
*/
public void testCubesDrillthroughReturnClause4() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3057,6 +3081,12 @@ public void testCubesDrillthroughReturnClause4() throws Exception {
* include any measure on its axis, but has 1 in the RETURN clause.
*/
public void testCubesDrillthroughReturnClause5() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3076,6 +3106,12 @@ public void testCubesDrillthroughReturnClause5() throws Exception {
* a different measure as part of the RETURN clause.
*/
public void testCubesDrillthroughReturnClause6() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3096,6 +3132,12 @@ public void testCubesDrillthroughReturnClause6() throws Exception {
* a dimension and a SQL generated measure as part of the RETURN clause.
*/
public void testCubesDrillthroughReturnClause7() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3116,6 +3158,12 @@ public void testCubesDrillthroughReturnClause7() throws Exception {
* a level and a SQL generated measure as part of the RETURN clause.
*/
public void testCubesDrillthroughReturnClause8() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand All @@ -3136,6 +3184,12 @@ public void testCubesDrillthroughReturnClause8() throws Exception {
* clause specified.
*/
public void testCubesDrillthroughReturnClause9() throws Exception {
if (tester.getFlavor().equals(Flavor.XMLA)
|| tester.getFlavor().equals(Flavor.REMOTE_XMLA))
{
// TODO: Drillthrough is not implemented in XMLA yet.
return;
}
Class.forName(tester.getDriverClassName());
connection = tester.createConnection();
OlapConnection olapConnection =
Expand Down

0 comments on commit 7771362

Please sign in to comment.