Class TestUtils
java.lang.Object
dev.getelements.elements.rest.test.TestUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TestUtils
<T> T
getTestFixture
(Class<T> testClass) Creates a test case with theJournalTransactionalResourceServicePersistenceEnvironment
backed by theUnixFSJournalTransactionalPersistenceDriver
-
Field Details
-
TEST_INSTANCE
- See Also:
-
TEST_API_ROOT
- See Also:
-
TEST_APP_SERVE_RS_ROOT
- See Also:
-
TEST_APP_SERVE_WS_ROOT
- See Also:
-
-
Method Details
-
getInstance
-
getTestFixture
Creates a test case with theJournalTransactionalResourceServicePersistenceEnvironment
backed by theUnixFSJournalTransactionalPersistenceDriver
- Type Parameters:
T
- the type to return- Parameters:
testClass
- the type to construct- Returns:
- the constructed test case
-