public class ProbeBundleMaker extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
ProbeBundleMaker.JarFromClassloader
Makes the given classpath looks like a Jar.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BUNDLE_NAME
The name of the probe bundle.
|
private static org.slf4j.Logger |
LOGGER |
static String |
PACKAGES_TO_ADD
The packages to add in the probe bundle.
|
static String |
PROBE_FILE
The path of the probe bundle file.
|
static String |
TEST_CLASSES
The test classes path.
|
| Modifier | Constructor and Description |
|---|---|
private |
ProbeBundleMaker() |
| Modifier and Type | Method and Description |
|---|---|
private static aQute.bnd.osgi.Jar[] |
computeClassPath() |
protected static aQute.bnd.osgi.Builder |
getOSGiBuilder(Properties properties,
aQute.bnd.osgi.Jar[] classpath) |
private static void |
getProbeInstructions(Properties instructions,
Properties maven) |
static InputStream |
probe()
Creates the test probe.
|
protected static boolean |
reportErrors(String prefix,
List<String> warnings,
List<String> errors) |
protected static String |
sanitize(Object value) |
protected static Properties |
sanitize(Properties properties) |
private static String |
toClause(List<String> packages) |
public static final String BUNDLE_NAME
public static final String PACKAGES_TO_ADD
public static final String PROBE_FILE
public static final String TEST_CLASSES
private static final org.slf4j.Logger LOGGER
public static InputStream probe() throws Exception
InVivoRunnerFactory service. The created
bundle has the following symbolic name: "Wisdom-Test-Probe"Exception - if the probe creation failsprivate static void getProbeInstructions(Properties instructions, Properties maven) throws IOException
IOExceptionprivate static aQute.bnd.osgi.Jar[] computeClassPath()
throws IOException
IOExceptionprotected static aQute.bnd.osgi.Builder getOSGiBuilder(Properties properties, aQute.bnd.osgi.Jar[] classpath) throws Exception
Exceptionprotected static Properties sanitize(Properties properties)
Copyright © 2013–2015 Wisdom Framework. All rights reserved.