|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase mondrian.test.SteelWheelsTestCase
public class SteelWheelsTestCase
Unit test against Pentaho's Steel Wheels sample database.
It is not required that the Steel Wheels database be present, so each test should check whether the database exists and trivially succeed if it does not.
Constructor Summary | |
---|---|
SteelWheelsTestCase()
Creates a SteelwheelsTestCase. |
|
SteelWheelsTestCase(String name)
Creates a SteelwheelsTestCase. |
Method Summary | |
---|---|
static TestContext |
createContext(TestContext context,
String schema)
Creates a TestContext which contains the given schema text. |
TestContext |
getTestContext()
Returns the test context. |
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 |
Constructor Detail |
---|
public SteelWheelsTestCase(String name)
name
- Test case name (usually method name)public SteelWheelsTestCase()
Method Detail |
---|
public static TestContext createContext(TestContext context, String schema)
context
- Base test contextschema
- A XML schema, or null
Used for testing if the connection is valid.
public TestContext getTestContext()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |