mondrian.olap.fun
Class CrossJoinTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by mondrian.test.FoodMartTestCase
              extended by mondrian.olap.fun.CrossJoinTest
All Implemented Interfaces:
junit.framework.Test

public class CrossJoinTest
extends FoodMartTestCase

CrossJoint tests the collation order of positive and negative infinity, and Double.NaN.

Since:
Jan 14, 2007
Author:
Richard M. Emberson

Nested Class Summary
static class CrossJoinTest.NullFunDef
           
static class CrossJoinTest.TestFunDef
           
 
Field Summary
(package private) static List<List<Member>> m3
           
(package private) static List<List<Member>> m4
           
(package private) static Comparator<List<Member>> memberComparator
           
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
CrossJoinTest()
           
CrossJoinTest(String name)
           
 
Method Summary
protected  void doMTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
           
protected  void doTupleTupleIterTest(CrossJoinFunDef.CrossJoinIterCalc calc)
           
protected  void doTupleTupleListTest(CrossJoinFunDef.BaseListCalc calc)
           
protected  ResolvedFunCall getResolvedFunCall()
           
protected  TupleList makeListTuple(List<List<Member>> ms)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testImmutableListTupleListTupleListCalc()
           
 void testListTupleListTupleIterCalc()
           
 void testMutableListTupleListTupleListCalc()
           
protected  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, warehouseMembersCanadaMexicoUsa
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m3

static List<List<Member>> m3

m4

static List<List<Member>> m4

memberComparator

static final Comparator<List<Member>> memberComparator
Constructor Detail

CrossJoinTest

public CrossJoinTest()

CrossJoinTest

public CrossJoinTest(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class FoodMartTestCase
Throws:
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 String toString(TupleIterable l)

makeListTuple

protected TupleList makeListTuple(List<List<Member>> ms)

getResolvedFunCall

protected ResolvedFunCall getResolvedFunCall()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads