mondrian.olap.fun
Class VisualTotalsTest

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

public class VisualTotalsTest
extends junit.framework.TestCase

VisualTotalsTest tests the internal functions defined in VisualTotalsFunDef. Right now, only tests substitute().

Author:
efine

Constructor Summary
VisualTotalsTest()
           
 
Method Summary
 void testDrillthroughVisualTotal()
          Test case for bug MONDRIAN-925, "VisualTotals + drillthrough throws Exception".
 void testSubstituteCombined()
           
 void testSubstituteEmpty()
           
 void testSubstituteOneStarBegin()
           
 void testSubstituteOneStarEnd()
           
 void testSubstituteOneStarOnly()
           
 void testSubstituteTwoStars()
           
 void testVisualTotalCaptionBug()
          Test case for bug MONDRIAN-1279, "VisualTotals name only applies to member name not caption".
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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

VisualTotalsTest

public VisualTotalsTest()
Method Detail

testSubstituteEmpty

public void testSubstituteEmpty()

testSubstituteOneStarOnly

public void testSubstituteOneStarOnly()

testSubstituteOneStarBegin

public void testSubstituteOneStarBegin()

testSubstituteOneStarEnd

public void testSubstituteOneStarEnd()

testSubstituteTwoStars

public void testSubstituteTwoStars()

testSubstituteCombined

public void testSubstituteCombined()

testDrillthroughVisualTotal

public void testDrillthroughVisualTotal()
                                 throws SQLException
Test case for bug MONDRIAN-925, "VisualTotals + drillthrough throws Exception".

Throws:
SQLException - on error

testVisualTotalCaptionBug

public void testVisualTotalCaptionBug()
                               throws SQLException
Test case for bug MONDRIAN-1279, "VisualTotals name only applies to member name not caption".

Throws:
SQLException - on error

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