mondrian.olap
Class UtilTestCase

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

public class UtilTestCase
extends TestCase

Tests for methods in Util.


Constructor Summary
UtilTestCase(java.lang.String s)
           
 
Method Summary
(package private)  void p(java.lang.String connectString, java.lang.String name, java.lang.String expectedValue)
          Checks that connectString contains a property called name, whose value is value.
 void testAppendArrays()
          Tests Util.appendArrays(Object[], Object[][]).
 void testAreOccurrencesEqual()
           
 void testArrayStack()
          Unit test for ArrayStack.
 void testBufReplace()
           
 void testBugMondrian397()
          Test case for bug MONDRIAN-397, "Connect string parser gives StringIndexOutOfBoundsException instead of a meaningful error".
 void testCamel()
           
 void testConnectStringMore()
           
 void testImplode()
           
 void testOleDbSpec()
           
 void testParseCommaList()
           
 void testParseConnectStringComplex()
           
 void testParseConnectStringSimple()
           
 void testParseIdentifier()
           
 void testQuoteMdxIdentifier()
           
 void testReplaceProperties()
           
 void testServiceDiscovery()
          Tests ServiceDiscovery.
 void testUnionIterator()
           
 void testWildcard()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UtilTestCase

public UtilTestCase(java.lang.String s)
Method Detail

testParseConnectStringSimple

public void testParseConnectStringSimple()

testParseConnectStringComplex

public void testParseConnectStringComplex()

testConnectStringMore

public void testConnectStringMore()

testBugMondrian397

public void testBugMondrian397()
Test case for bug MONDRIAN-397, "Connect string parser gives StringIndexOutOfBoundsException instead of a meaningful error".


p

void p(java.lang.String connectString,
       java.lang.String name,
       java.lang.String expectedValue)
Checks that connectString contains a property called name, whose value is value.


testOleDbSpec

public void testOleDbSpec()

testQuoteMdxIdentifier

public void testQuoteMdxIdentifier()

testBufReplace

public void testBufReplace()

testImplode

public void testImplode()

testParseIdentifier

public void testParseIdentifier()

testReplaceProperties

public void testReplaceProperties()

testWildcard

public void testWildcard()

testCamel

public void testCamel()

testParseCommaList

public void testParseCommaList()

testUnionIterator

public void testUnionIterator()

testAreOccurrencesEqual

public void testAreOccurrencesEqual()

testServiceDiscovery

public void testServiceDiscovery()
Tests ServiceDiscovery.


testArrayStack

public void testArrayStack()
Unit test for ArrayStack.


testAppendArrays

public void testAppendArrays()
Tests Util.appendArrays(Object[], Object[][]).


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