mondrian.rolap
Class RolapConnectionTest

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

public class RolapConnectionTest
extends junit.framework.TestCase

Unit test for RolapConnection.

Since:
16 April, 2004
Author:
jng

Constructor Summary
RolapConnectionTest(String name)
           
 
Method Summary
protected  void setUp()
           
 void testConnectSansCatalogFails()
           
 void testDataSourceOverrideUserPass()
           
 void testFormatLocale()
          Tests that the FORMAT function uses the connection's locale.
 void testFormatStringLocale()
          Tests that measures are formatted using the connection's locale.
 void testJndiConnection()
           
 void testNonPooledConnectionWithProperties()
           
 void testPooledConnectionWithProperties()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

RolapConnectionTest

public RolapConnectionTest(String name)
Method Detail

setUp

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

testPooledConnectionWithProperties

public void testPooledConnectionWithProperties()
                                        throws SQLException
Throws:
SQLException

testNonPooledConnectionWithProperties

public void testNonPooledConnectionWithProperties()

testFormatLocale

public void testFormatLocale()
Tests that the FORMAT function uses the connection's locale.


testFormatStringLocale

public void testFormatStringLocale()
Tests that measures are formatted using the connection's locale.


testConnectSansCatalogFails

public void testConnectSansCatalogFails()

testJndiConnection

public void testJndiConnection()
                        throws NamingException
Throws:
NamingException

testDataSourceOverrideUserPass

public void testDataSourceOverrideUserPass()
                                    throws SQLException,
                                           NamingException
Throws:
SQLException
NamingException

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