mondrian.test
Class TupleListTest

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

public class TupleListTest
extends FoodMartTestCase

Unit test for TupleList and common implementations.

Author:
jhyde

Nested Class Summary
 
Nested classes/interfaces inherited from class mondrian.test.FoodMartTestCase
FoodMartTestCase.QueryAndResult
 
Field Summary
 
Fields inherited from class mondrian.test.FoodMartTestCase
propSaver
 
Constructor Summary
TupleListTest()
           
TupleListTest(String name)
           
 
Method Summary
 void testArrayTupleList()
           
 void testDelegatingTupleList()
           
 void testDelegatingTupleListSlice()
          This is a test for MONDRIAN-1040.
 void testTupleList()
           
 void testUnaryTupleList()
           
 
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, tearDown, warehouseMembersCanadaMexicoUsa
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

TupleListTest

public TupleListTest(String name)

TupleListTest

public TupleListTest()
Method Detail

testTupleList

public void testTupleList()

testUnaryTupleList

public void testUnaryTupleList()

testArrayTupleList

public void testArrayTupleList()

testDelegatingTupleList

public void testDelegatingTupleList()

testDelegatingTupleListSlice

public void testDelegatingTupleListSlice()
This is a test for MONDRIAN-1040. The DelegatingTupleList.slice() method was mixing up the column and index variables.


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