|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
mondrian.test.DynamicSchemaProcessorTest
public class DynamicSchemaProcessorTest
Unit test DynamicSchemaProcessor. Tests availability of properties that DSP's are called, and used to modify the resulting Mondrian schema
Nested Class Summary | |
---|---|
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 URL |
static class |
DynamicSchemaProcessorTest.ProviderTestDSP
DSP that checks that replaces the Schema Name with the name of the Provider property |
Field Summary | |
---|---|
static String |
FRAGMENT_ONE
|
static String |
FRAGMENT_TWO
|
static String |
TEMPLATE_SCHEMA
|
Constructor Summary | |
---|---|
DynamicSchemaProcessorTest()
|
Method Summary | |
---|---|
void |
testCheckJdbcPropertyDsp()
Tests to ensure we have access to Connect properties in a DSP |
void |
testDBInfoDSP()
Tests to ensure we have access to Connect properies in a DSP |
void |
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 it |
void |
testProviderTestDSP()
Tests to ensure we have access to Connect properies in a DSP |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String FRAGMENT_ONE
public static final String FRAGMENT_TWO
public static final String TEMPLATE_SCHEMA
Constructor Detail |
---|
public DynamicSchemaProcessorTest()
Method Detail |
---|
public void testDSPBasics()
public void testFoodmartDsp()
public void testProviderTestDSP()
public void testDBInfoDSP()
public void testCheckJdbcPropertyDsp()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |