Package mondrian.olap.fun
Class CrossJoinTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.FoodMartTestCase
-
- mondrian.olap.fun.CrossJoinTest
-
public class CrossJoinTest extends FoodMartTestCase
CrossJoint
tests the collation order of positive and negative infinity, andDouble.NaN
.- Since:
- Jan 14, 2007
- Author:
- Richard M. Emberson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CrossJoinTest.NullFunDef
static class
CrossJoinTest.TestFunDef
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.util.List<java.util.List<Member>>
m3
(package private) static java.util.List<java.util.List<Member>>
m4
(package private) static java.util.Comparator<java.util.List<Member>>
memberComparator
-
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
-
-
Constructor Summary
Constructors Constructor Description CrossJoinTest()
CrossJoinTest(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doMTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
protected void
doTupleTupleIterTest(CrossJoinFunDef.CrossJoinIterCalc calc)
protected void
doTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
protected ResolvedFunCall
getResolvedFunCall()
protected TupleList
makeListTuple(java.util.List<java.util.List<Member>> ms)
protected void
setUp()
protected void
tearDown()
void
testImmutableListTupleListTupleListCalc()
void
testListTupleListTupleIterCalc()
void
testMutableListTupleListTupleListCalc()
protected java.lang.String
toString(TupleIterable l)
-
Methods inherited from class mondrian.test.FoodMartTestCase
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, verifySameNativeAndNot, warehouseMembersCanadaMexicoUsa
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
tearDown
protected void tearDown() throws java.lang.Exception
- Overrides:
tearDown
in classFoodMartTestCase
- Throws:
java.lang.Exception
-
testListTupleListTupleIterCalc
public void testListTupleListTupleIterCalc()
-
doTupleTupleIterTest
protected void doTupleTupleIterTest(CrossJoinFunDef.CrossJoinIterCalc calc)
-
testImmutableListTupleListTupleListCalc
public void testImmutableListTupleListTupleListCalc()
-
doTupleTupleListTest
protected void doTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
-
testMutableListTupleListTupleListCalc
public void testMutableListTupleListTupleListCalc()
-
doMTupleTupleListTest
protected void doMTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
-
toString
protected java.lang.String toString(TupleIterable l)
-
getResolvedFunCall
protected ResolvedFunCall getResolvedFunCall()
-
-