Package mondrian.rolap
Class RolapConnectionTest
- java.lang.Object
-
- TestCase
-
- mondrian.rolap.RolapConnectionTest
-
public class RolapConnectionTest extends TestCase
Unit test forRolapConnection
.- Since:
- 16 April, 2004
- Author:
- jng
-
-
Constructor Summary
Constructors Constructor Description RolapConnectionTest(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Method Detail
-
setUp
protected void setUp() throws java.lang.Exception
- 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
-
-