Package mondrian.test
Class DynamicSchemaProcessorTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.DynamicSchemaProcessorTest
-
public class DynamicSchemaProcessorTest extends TestCase
Unit test DynamicSchemaProcessor. Tests availability of properties that DSP's are called, and used to modify the resulting Mondrian schema- Author:
- ngoodman
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DynamicSchemaProcessorTest.BaseDsp
Our base, token replacing schema processor.static class
DynamicSchemaProcessorTest.CheckJdbcPropertyDsp
Ensures we have access to the JDBC URL.static class
DynamicSchemaProcessorTest.FoodMartCatalogDsp
Checks to make sure our Catalog property contains our FoodMart.xml VFS URLstatic class
DynamicSchemaProcessorTest.ProviderTestDSP
DSP that checks that replaces the Schema Name with the name of the Provider property
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FRAGMENT_ONE
static java.lang.String
FRAGMENT_TWO
static java.lang.String
TEMPLATE_SCHEMA
-
Constructor Summary
Constructors Constructor Description DynamicSchemaProcessorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCheckJdbcPropertyDsp()
Tests to ensure we have access to Connect properties in a DSPvoid
testDBInfoDSP()
Tests to ensure we have access to Connect properies in a DSPvoid
testDSPBasics()
Tests to make sure that our base DynamicSchemaProcessor works, with no replacement.void
testFoodmartDsp()
Tests to make sure that our base DynamicSchemaProcessor works, and Mondrian is able to parse and connect to FoodMart with itvoid
testProviderTestDSP()
Tests to ensure we have access to Connect properies in a DSP
-
-
-
Field Detail
-
FRAGMENT_ONE
public static final java.lang.String FRAGMENT_ONE
- See Also:
- Constant Field Values
-
FRAGMENT_TWO
public static final java.lang.String FRAGMENT_TWO
- See Also:
- Constant Field Values
-
TEMPLATE_SCHEMA
public static final java.lang.String TEMPLATE_SCHEMA
- See Also:
- Constant Field Values
-
-
Method Detail
-
testDSPBasics
public void testDSPBasics()
Tests to make sure that our base DynamicSchemaProcessor works, with no replacement. Does not test Mondrian is able to connect with the schema definition.
-
testFoodmartDsp
public void testFoodmartDsp()
Tests to make sure that our base DynamicSchemaProcessor works, and Mondrian is able to parse and connect to FoodMart with it
-
testProviderTestDSP
public void testProviderTestDSP()
Tests to ensure we have access to Connect properies in a DSP
-
testDBInfoDSP
public void testDBInfoDSP()
Tests to ensure we have access to Connect properies in a DSP
-
testCheckJdbcPropertyDsp
public void testCheckJdbcPropertyDsp()
Tests to ensure we have access to Connect properties in a DSP
-
-