Package mondrian.test
Class DynamicSchemaProcessorTest
- java.lang.Object
-
- TestCase
-
- mondrian.test.DynamicSchemaProcessorTest
-
public class DynamicSchemaProcessorTest extends TestCaseUnit 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 classDynamicSchemaProcessorTest.BaseDspOur base, token replacing schema processor.static classDynamicSchemaProcessorTest.CheckJdbcPropertyDspEnsures we have access to the JDBC URL.static classDynamicSchemaProcessorTest.FoodMartCatalogDspChecks to make sure our Catalog property contains our FoodMart.xml VFS URLstatic classDynamicSchemaProcessorTest.ProviderTestDSPDSP that checks that replaces the Schema Name with the name of the Provider property
-
Field Summary
Fields Modifier and Type Field Description static StringFRAGMENT_ONEstatic StringFRAGMENT_TWOstatic StringTEMPLATE_SCHEMA
-
Constructor Summary
Constructors Constructor Description DynamicSchemaProcessorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestCheckJdbcPropertyDsp()Tests to ensure we have access to Connect properties in a DSPvoidtestDBInfoDSP()Tests to ensure we have access to Connect properies in a DSPvoidtestDSPBasics()Tests to make sure that our base DynamicSchemaProcessor works, with no replacement.voidtestFoodmartDsp()Tests to make sure that our base DynamicSchemaProcessor works, and Mondrian is able to parse and connect to FoodMart with itvoidtestProviderTestDSP()Tests to ensure we have access to Connect properies in a DSP
-
-
-
Field Detail
-
FRAGMENT_ONE
public static final String FRAGMENT_ONE
- See Also:
- Constant Field Values
-
FRAGMENT_TWO
public static final String FRAGMENT_TWO
- See Also:
- Constant Field Values
-
TEMPLATE_SCHEMA
public static final 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
-
-