public class DbUnitRunner extends Object
@DatabaseSetup
,
@DatabaseTearDown
and @ExpectedDatabase
annotations.Constructor and Description |
---|
DbUnitRunner() |
Modifier and Type | Method and Description |
---|---|
void |
afterTestMethod(DbUnitTestContext testContext)
Called after a test method is executed to perform any database teardown and to check expected results.
|
void |
beforeTestMethod(DbUnitTestContext testContext)
Called before a test method is executed to perform any database setup.
|
public void beforeTestMethod(DbUnitTestContext testContext) throws Exception
testContext
- The test contextException
public void afterTestMethod(DbUnitTestContext testContext) throws Exception
testContext
- The test contextException
Copyright © 2016. All rights reserved.