Class OsgiSurefireBooter
- java.lang.Object
-
- org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter
-
public class OsgiSurefireBooter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
OsgiSurefireBooter.BundleClassLoader
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
XSD
-
Constructor Summary
Constructors Constructor Description OsgiSurefireBooter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.ClassLoader
createCombinedClassLoader(java.lang.String testPlugin)
private static java.util.Map<java.lang.String,java.lang.String>
extractProviderProperties(java.util.Properties surefireProps)
private static java.lang.String
getArgumentValue(java.lang.String[] args, java.lang.String argumentName)
private static java.lang.ClassLoader
getBundleClassLoader(java.lang.String symbolicName)
private static java.io.File
getTestProperties(java.lang.String[] args)
private static java.util.Properties
loadProperties(java.io.File file)
static int
run(java.lang.String[] args)
-
-
-
Field Detail
-
XSD
private static final java.lang.String XSD
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public static int run(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createCombinedClassLoader
private static java.lang.ClassLoader createCombinedClassLoader(java.lang.String testPlugin) throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
-
extractProviderProperties
private static java.util.Map<java.lang.String,java.lang.String> extractProviderProperties(java.util.Properties surefireProps)
-
getTestProperties
private static java.io.File getTestProperties(java.lang.String[] args) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
getArgumentValue
private static java.lang.String getArgumentValue(java.lang.String[] args, java.lang.String argumentName)
-
loadProperties
private static java.util.Properties loadProperties(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
getBundleClassLoader
private static java.lang.ClassLoader getBundleClassLoader(java.lang.String symbolicName) throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
-
-