mondrian.rolap
Class RolapConnectionTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
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
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 |
RolapConnectionTest
public RolapConnectionTest(java.lang.String name)
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