mondrian.test
Class AbstractMondrianOlap4jTester

java.lang.Object
  extended by mondrian.test.AbstractMondrianOlap4jTester
All Implemented Interfaces:
org.olap4j.test.TestContext.Tester
Direct Known Subclasses:
MondrianOlap4jTester

abstract class AbstractMondrianOlap4jTester
extends Object
implements org.olap4j.test.TestContext.Tester

Abstract implementation of the TestContext.Tester callback required by olap4j's Test Compatability Kit (TCK).

Author:
Julian Hyde

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.olap4j.test.TestContext.Tester
org.olap4j.test.TestContext.Tester.Flavor
 
Constructor Summary
protected AbstractMondrianOlap4jTester(org.olap4j.test.TestContext testContext, String driverUrlPrefix, String driverClassName, org.olap4j.test.TestContext.Tester.Flavor flavor)
           
 
Method Summary
 Connection createConnection()
           
 Connection createConnectionWithUserPassword()
           
 String getDriverClassName()
           
 String getDriverUrlPrefix()
           
 org.olap4j.test.TestContext.Tester.Flavor getFlavor()
           
 org.olap4j.test.TestContext getTestContext()
           
 String getURL()
           
 org.olap4j.test.TestContext.Wrapper getWrapper()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMondrianOlap4jTester

protected AbstractMondrianOlap4jTester(org.olap4j.test.TestContext testContext,
                                       String driverUrlPrefix,
                                       String driverClassName,
                                       org.olap4j.test.TestContext.Tester.Flavor flavor)
Method Detail

getTestContext

public org.olap4j.test.TestContext getTestContext()
Specified by:
getTestContext in interface org.olap4j.test.TestContext.Tester

createConnection

public Connection createConnection()
                            throws SQLException
Specified by:
createConnection in interface org.olap4j.test.TestContext.Tester
Throws:
SQLException

createConnectionWithUserPassword

public Connection createConnectionWithUserPassword()
                                            throws SQLException
Specified by:
createConnectionWithUserPassword in interface org.olap4j.test.TestContext.Tester
Throws:
SQLException

getDriverUrlPrefix

public String getDriverUrlPrefix()
Specified by:
getDriverUrlPrefix in interface org.olap4j.test.TestContext.Tester

getDriverClassName

public String getDriverClassName()
Specified by:
getDriverClassName in interface org.olap4j.test.TestContext.Tester

getURL

public String getURL()
Specified by:
getURL in interface org.olap4j.test.TestContext.Tester

getFlavor

public org.olap4j.test.TestContext.Tester.Flavor getFlavor()
Specified by:
getFlavor in interface org.olap4j.test.TestContext.Tester

getWrapper

public org.olap4j.test.TestContext.Wrapper getWrapper()
Specified by:
getWrapper in interface org.olap4j.test.TestContext.Tester

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