Class RolapConnectionTest


  • public class RolapConnectionTest
    extends TestCase
    Unit test for RolapConnection.
    Since:
    16 April, 2004
    Author:
    jng
    • Constructor Detail

      • RolapConnectionTest

        public RolapConnectionTest​(java.lang.String name)
    • 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