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:
Test

public class RolapConnectionTest
extends TestCase

Unit test for RolapConnection.

Since:
16 April, 2004
Version:
$Id: //open/mondrian/testsrc/main/mondrian/rolap/RolapConnectionTest.java#29 $
Author:
jng

Constructor Summary
RolapConnectionTest(java.lang.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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RolapConnectionTest

public RolapConnectionTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class TestCase
Throws:
java.lang.Exception

testPooledConnectionWithProperties

public void testPooledConnectionWithProperties()
                                        throws java.sql.SQLException
Throws:
java.sql.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 javax.naming.NamingException
Throws:
javax.naming.NamingException

testDataSourceOverrideUserPass

public void testDataSourceOverrideUserPass()
                                    throws java.sql.SQLException,
                                           javax.naming.NamingException
Throws:
java.sql.SQLException
javax.naming.NamingException

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