mondrian.rolap
Class NonEmptyTest.TestCase

java.lang.Object
  extended by mondrian.rolap.NonEmptyTest.TestCase
Enclosing class:
NonEmptyTest

 class NonEmptyTest.TestCase
extends Object

runs a MDX query with a predefined resultLimit and checks the number of positions of the row axis. The reduces resultLimit ensures that the optimization is present.


Field Summary
(package private)  Connection con
          Mondrian connection.
(package private)  String query
          MDX query to execute.
(package private)  int resultLimit
          Maximum number of rows to be read from SQL.
(package private)  int rowCount
          Number of positions we expect on rows axis of result.
 
Constructor Summary
NonEmptyTest.TestCase(Connection con, int resultLimit, int rowCount, String query)
           
NonEmptyTest.TestCase(int resultLimit, int rowCount, String query)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultLimit

int resultLimit
Maximum number of rows to be read from SQL. If more than this number of rows are read, the test will fail.


query

String query
MDX query to execute.


rowCount

int rowCount
Number of positions we expect on rows axis of result.


con

Connection con
Mondrian connection.

Constructor Detail

NonEmptyTest.TestCase

public NonEmptyTest.TestCase(int resultLimit,
                             int rowCount,
                             String query)

NonEmptyTest.TestCase

public NonEmptyTest.TestCase(Connection con,
                             int resultLimit,
                             int rowCount,
                             String query)

SourceForge.net_Logo