public class ProxySuiteHelper extends Object
suiteWhenStandalone(Class, String, TestMode...),
when creating test suites use suiteWithOptionalProxy(String, TestMode...)
The intent is to enable the developer in eclipse to run JUnit tests
from a test file or a test suite file, while still allowing that same file
to be included unchanged in the main test suite. The methods defined here
hence provide a default behavior in the case that the TestNanoSparqlServerWithProxyIndexManager
has already loaded before this class.
| Constructor and Description |
|---|
ProxySuiteHelper() |
| Modifier and Type | Method and Description |
|---|---|
static junit.framework.TestSuite |
suiteWhenStandalone(Class<? extends junit.framework.TestCase> clazz,
String regex,
Set<BufferMode> bufferModes,
com.bigdata.rdf.sail.webapp.TestMode... testModes)
Call this method to create local testing using one or more proxies.
|
static junit.framework.Test |
suiteWhenStandalone(Class<? extends junit.framework.TestCase> clazz,
String regex,
com.bigdata.rdf.sail.webapp.TestMode... testModes) |
static junit.framework.TestSuite |
suiteWithOptionalProxy(String name,
Set<BufferMode> bufferModes,
com.bigdata.rdf.sail.webapp.TestMode... testMode)
Call this method to create a new test suite which can include
other test suites and tests using proxies.
|
static junit.framework.TestSuite |
suiteWithOptionalProxy(String name,
com.bigdata.rdf.sail.webapp.TestMode... testMode) |
public static junit.framework.TestSuite suiteWhenStandalone(Class<? extends junit.framework.TestCase> clazz, String regex, Set<BufferMode> bufferModes, com.bigdata.rdf.sail.webapp.TestMode... testModes)
clazz - The clazz to be tested, i.e. the calling classregex - Matched against the test names to decide which tests to run. Should usually start in "test.*"bufferMode - The BufferMode(s) to be tested.testModes - One or more TestModes.public static junit.framework.Test suiteWhenStandalone(Class<? extends junit.framework.TestCase> clazz, String regex, com.bigdata.rdf.sail.webapp.TestMode... testModes)
public static junit.framework.TestSuite suiteWithOptionalProxy(String name, Set<BufferMode> bufferModes, com.bigdata.rdf.sail.webapp.TestMode... testMode)
modes - One or more TestModes.public static junit.framework.TestSuite suiteWithOptionalProxy(String name, com.bigdata.rdf.sail.webapp.TestMode... testMode)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.