public class SteelWheelsTestCase
extends junit.framework.TestCase
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 and Description |
---|
SteelWheelsTestCase()
Creates a SteelwheelsTestCase.
|
SteelWheelsTestCase(String name)
Creates a SteelwheelsTestCase.
|
Modifier and Type | Method and Description |
---|---|
static TestContext |
createContext(TestContext context,
String schema)
Creates a TestContext which contains the given schema text.
|
TestContext |
getTestContext()
Returns the test context.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public SteelWheelsTestCase(String name)
name
- Test case name (usually method name)public SteelWheelsTestCase()
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()