mondrian.test.loader
Class CsvDBTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
mondrian.test.FoodMartTestCase
mondrian.test.loader.CsvDBTestCase
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- AggTableTestCase, Checkin_7634, Checkin_7641
public abstract class CsvDBTestCase
- extends FoodMartTestCase
Base class for tests that use
a CSV database defined in a single file. While the CsvDBLoader
supports being defined by a single file, list of files, or
directory with optional regular expression for matching files
in the directory to be loaded, this is simplest at this point.
To use this file one must define both the directory and file
abstract methods.
- Version:
- $Id: //open/mondrian/testsrc/main/mondrian/test/loader/CsvDBTestCase.java#11 $
- Author:
- Richard M. Emberson
Methods inherited from class mondrian.test.FoodMartTestCase |
allMember, assertAxisReturns, assertAxisThrows, assertBooleanExprReturns, assertExprReturns, assertExprThrows, assertQueriesReturnSimilarResults, assertQueryReturns, assertQueryThrows, assertSize, cubeByName, execute, executeExpr, executeQuery, executeSingletonAxis, genderMembersIncludingAll, getConnection, getDimensionWithName, getTestContext, getTestContext, isDefaultNullMemberRepresentation, isGroupingSetsSupported, member, productMembersPotScrubbersPotsAndPans, storeMembersCAAndOR, storeMembersUsaAndCanada, warehouseMembersCanadaMexicoUsa |
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 |
CsvDBTestCase
public CsvDBTestCase()
CsvDBTestCase
public CsvDBTestCase(String name)
isApplicable
protected final boolean isApplicable()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class TestCase
- Throws:
Exception
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown
in class FoodMartTestCase
- Throws:
Exception
getSqlConnection
protected Connection getSqlConnection()
throws SQLException
- Throws:
SQLException
getSchema
protected Schema getSchema()
getCubeTestContext
protected TestContext getCubeTestContext()
getDirectoryName
protected abstract String getDirectoryName()
getFileName
protected abstract String getFileName()
getParameterDescription
protected String getParameterDescription()
getCubeDescription
protected abstract String getCubeDescription()
getVirtualCubeDescription
protected String getVirtualCubeDescription()
getNamedSetDescription
protected String getNamedSetDescription()
getUdfDescription
protected String getUdfDescription()
getRoleDescription
protected String getRoleDescription()