public class TestHelper extends Object
Constructor and Description |
---|
TestHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
checkJournalsClosed(junit.framework.TestCase test)
Verify that any journal created by the test have been destroyed.
|
static void |
checkJournalsClosed(junit.framework.TestCase test,
junit.framework.TestCase testClass)
Verify that any journal created by the test have been destroyed (variant
when using an
IProxyTest ). |
public static void checkJournalsClosed(junit.framework.TestCase test)
Note: This clears the counter as a side effect to prevent a cascade of tests from being failed.
public static void checkJournalsClosed(junit.framework.TestCase test, junit.framework.TestCase testClass)
IProxyTest
).
Note: This clears the counter as a side effect to prevent a cascade of tests from being failed.
test
- The unit test instance.testClass
- The instance of the delegate test class for a proxy test
suite. For example, TestWORMStrategy.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.