Skip to content

Commit

Permalink
minor formating
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Aug 13, 2017
1 parent b22fbbe commit 905c6e9
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public Option[] config() throws IOException
File targetTestClassesDir = new File( resource.getFile() );
File targetDependenciesDir = new File( targetTestClassesDir.getParent(), "dependency" );
File[] files = targetDependenciesDir.listFiles();

for ( File file : files )
{
if ( !SKIPS.contains( file.getName() ) )
Expand All @@ -95,8 +96,10 @@ public Option[] config() throws IOException
systemProperty( "logback.configurationFile" ).value(
"file:" + PathUtils.getBaseDir() + "/src/test/resources/logback.xml" ),
systemPackages( "javax.xml.stream;version=1.0.0", "javax.xml.stream.util;version=1.0.0",
"javax.xml.stream.events;version=1.0.0" ), mavenBundle( "ch.qos.logback", "logback-classic", "1.0.6" ),
mavenBundle( "ch.qos.logback", "logback-core", "1.0.6" ), junitBundles(),
"javax.xml.stream.events;version=1.0.0" ),
mavenBundle( "ch.qos.logback", "logback-classic", "1.0.6" ),
mavenBundle( "ch.qos.logback", "logback-core", "1.0.6" ),
junitBundles(),
composite( dependencies.toArray( new Option[0] ) ) );
}

Expand All @@ -116,12 +119,14 @@ public void testBundleActivation()
boolean bundleFound = false;
boolean bundleActive = false;
Bundle[] bundles = context.getBundles();

for ( Bundle bundle : bundles )
{
//System.out.println( "### bundle=" + bundle + " " + bundle.getState() );
if ( bundle != null && bundle.getSymbolicName() != null && bundle.getSymbolicName().equals( bundleName ) )
{
bundleFound = true;

if ( bundle.getState() == Bundle.ACTIVE )
{
bundleActive = true;
Expand Down

0 comments on commit 905c6e9

Please sign in to comment.