public class SteelWheelsTestCase
extends 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.
|
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()