diff --git a/.travis-deploy.sh b/.travis-deploy.sh
deleted file mode 100644
index e3ed918..0000000
--- a/.travis-deploy.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-function error_exit
-{
- echo -e "\e[01;31m$1\e[00m" 1>&2
- exit 1
-}
-
-if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
- echo -e "Starting to deploy to gh-pages\n"
-
- # create and cd into temporary deployment work directory
- mkdir deployment-work
- cd deployment-work
-
- # setup git and clone from gh-pages branch
- git config --global user.email "travis-deployer@codeaffine.com"
- git config --global user.name "Travis Deployer"
- git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/rherrmann/osgi-testsuite.git . > /dev/null 2>&1 || error_exit "Error cloning gh-pages"
-
- # clean the repository directory, then copy the build result into it
- git rm -rf repository
- mkdir -p repository
- cp -rf ../com.codeaffine.osgi.testsuite.releng/repository/target/repository/* ./repository
-
- # add, commit and push files
- git add -f .
- git commit -m "[ci skip] Deploy Travis build #$TRAVIS_BUILD_NUMBER to gh-pages"
- git push -fq origin gh-pages > /dev/null 2>&1 || error_exit "Error uploading the build result to gh-pages"
-
- # go back to the directory where we started
- cd ..
-
- echo -e "Done with deployment to gh-pages\n"
-fi
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index d90753e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-env:
- global:
- secure: "XSDqVEb9qwXDpifbNaFL+iEXnMpdHp+IW2/i11QmCPmPY/CtTv1UDqq32q6mV65Pbdlynsoia8Ld1Rt/6j8JbRZEHKF6LlKfeLCSMa1yOE38lSHAJ33eQ1aAUepqmA/Ex8UBpSlyVQXaO76hjQYCYKOsvx6L07CpCFRzUPJ1Vkg="
-
-sudo: false
-
-language: java
-
-jdk:
- - oraclejdk8
-
-branches:
- only:
- - master
-
-script: mvn -f com.codeaffine.osgi.testsuite.releng/pom.xml clean verify
-
-after_success:
- - chmod a+x .travis-deploy.sh
- - ./.travis-deploy.sh
-
-after_failure:
- - cat com.codeaffine.osgi.testsuite.test/target/surefire-reports/*.txt
diff --git a/README.md b/README.md
index d0155b6..22eaf32 100644
--- a/README.md
+++ b/README.md
@@ -46,11 +46,9 @@ public class MasterTestSuite {
In order to remain backward compatibility with previous versions, the default value is `IGNORE`.
## Download & Integration
-The p2 repository
+Maven Central
-> `http://rherrmann.github.io/osgi-testsuite/repository`
-
-contains a feature with a single bundle. Add this to your target platform.
+> `Yet to release`
In order to use the BundleTestSuite, Require-Bundle or Package-Import the bundle/package com.codeaffine.osgi.testsuite.
In addition an implementation of the OSGi specification [Release 5](https://www.osgi.org/developer/downloads/) (tested with Eclipse Equinox 3.8), JUnit 4.8 or later, and a JRE version 1.5 or later is required.
diff --git a/com.codeaffine.osgi.testsuite.releng/.project b/com.codeaffine.osgi.testsuite.releng/.project
deleted file mode 100644
index 5fe0fac..0000000
--- a/com.codeaffine.osgi.testsuite.releng/.project
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- com.codeaffine.osgi.testsuite.releng
-
-
-
-
-
-
-
-
diff --git a/com.codeaffine.osgi.testsuite.releng/.settings/OSGi Testsuite Tycho Build.launch b/com.codeaffine.osgi.testsuite.releng/.settings/OSGi Testsuite Tycho Build.launch
deleted file mode 100644
index b89b481..0000000
--- a/com.codeaffine.osgi.testsuite.releng/.settings/OSGi Testsuite Tycho Build.launch
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.resources.prefs b/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 99f26c0..0000000
--- a/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-encoding/=UTF-8
diff --git a/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.runtime.prefs b/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.runtime.prefs
deleted file mode 100644
index 5a0ad22..0000000
--- a/com.codeaffine.osgi.testsuite.releng/.settings/org.eclipse.core.runtime.prefs
+++ /dev/null
@@ -1,2 +0,0 @@
-eclipse.preferences.version=1
-line.separator=\n
diff --git a/com.codeaffine.osgi.testsuite.releng/equinox.target b/com.codeaffine.osgi.testsuite.releng/equinox.target
deleted file mode 100644
index 2701d3a..0000000
--- a/com.codeaffine.osgi.testsuite.releng/equinox.target
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/com.codeaffine.osgi.testsuite.releng/feature/build.properties b/com.codeaffine.osgi.testsuite.releng/feature/build.properties
deleted file mode 100644
index 82bfcca..0000000
--- a/com.codeaffine.osgi.testsuite.releng/feature/build.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-###############################################################################
-# Copyright (c) 2012, 2013, 2014 Rüdiger Herrmann.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# Rüdiger Herrmann - initial API and implementation
-################################################################################
-
-bin.includes = feature.xml,license.html
\ No newline at end of file
diff --git a/com.codeaffine.osgi.testsuite.releng/feature/feature.xml b/com.codeaffine.osgi.testsuite.releng/feature/feature.xml
deleted file mode 100644
index 9478fd6..0000000
--- a/com.codeaffine.osgi.testsuite.releng/feature/feature.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
- The OSGi Test Suite runs all JUnit tests in a given list of bundles.
- For example:
- @RunWith( BundleTestSuite.class )
- @TestBundles( { "org.example.bundle1", "org.example.bundle2" } )
- public class AllTestSuite {
- }
-
-
-
- Copyright 2013, 2014 RĂ¼diger Herrmann
-
-
-
-
-
-
-
-
-
-
-
diff --git a/com.codeaffine.osgi.testsuite.releng/feature/license.html b/com.codeaffine.osgi.testsuite.releng/feature/license.html
deleted file mode 100644
index f19c483..0000000
--- a/com.codeaffine.osgi.testsuite.releng/feature/license.html
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-Eclipse Foundation Software User Agreement
-
-
-
-
Eclipse Foundation Software User Agreement
-
February 1, 2011
-
-
Usage Of Content
-
-
THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS
- (COLLECTIVELY "CONTENT"). USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE TERMS AND
- CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE
- OF THE CONTENT IS GOVERNED BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR
- NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND
- CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU MAY NOT USE THE CONTENT.
-
-
Applicable Licenses
-
-
Unless otherwise indicated, all Content made available by the Eclipse Foundation is provided to you under the terms and conditions of the Eclipse Public License Version 1.0
- ("EPL"). A copy of the EPL is provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.
- For purposes of the EPL, "Program" will mean the Content.
-
-
Content includes, but is not limited to, source code, object code, documentation and other files maintained in the Eclipse Foundation source code
- repository ("Repository") in software modules ("Modules") and made available as downloadable archives ("Downloads").
-
-
-
Content may be structured and packaged into modules to facilitate delivering, extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"), plug-in fragments ("Fragments"), and features ("Features").
-
Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java™ ARchive) in a directory named "plugins".
-
A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material. Each Feature may be packaged as a sub-directory in a directory named "features". Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of the Plug-ins
- and/or Fragments associated with that Feature.
-
Features may also include other Features ("Included Features"). Within a Feature, files named "feature.xml" may contain a list of the names and version numbers of Included Features.
-
-
-
The terms and conditions governing Plug-ins and Fragments should be contained in files named "about.html" ("Abouts"). The terms and conditions governing Features and
-Included Features should be contained in files named "license.html" ("Feature Licenses"). Abouts and Feature Licenses may be located in any directory of a Download or Module
-including, but not limited to the following locations:
-
-
-
The top-level (root) directory
-
Plug-in and Fragment directories
-
Inside Plug-ins and Fragments packaged as JARs
-
Sub-directories of the directory named "src" of certain Plug-ins
-
Feature directories
-
-
-
Note: if a Feature made available by the Eclipse Foundation is installed using the Provisioning Technology (as defined below), you must agree to a license ("Feature Update License") during the
-installation process. If the Feature contains Included Features, the Feature Update License should either provide you with the terms and conditions governing the Included Features or
-inform you where you can locate them. Feature Update Licenses may be found in the "license" property of files named "feature.properties" found within a Feature.
-Such Abouts, Feature Licenses, and Feature Update Licenses contain the terms and conditions (or references to such terms and conditions) that govern your use of the associated Content in
-that directory.
-
-
THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):
IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License is provided, please
-contact the Eclipse Foundation to determine what terms and conditions govern that particular Content.
-
-
-
Use of Provisioning Technology
-
-
The Eclipse Foundation makes available provisioning software, examples of which include, but are not limited to, p2 and the Eclipse
- Update Manager ("Provisioning Technology") for the purpose of allowing users to install software, documentation, information and/or
- other materials (collectively "Installable Software"). This capability is provided with the intent of allowing such users to
- install, extend and update Eclipse-based products. Information about packaging Installable Software is available at http://eclipse.org/equinox/p2/repository_packaging.html
- ("Specification").
-
-
You may use Provisioning Technology to allow other parties to install Installable Software. You shall be responsible for enabling the
- applicable license agreements relating to the Installable Software to be presented to, and accepted by, the users of the Provisioning Technology
- in accordance with the Specification. By using Provisioning Technology in such a manner and making it available in accordance with the
- Specification, you further acknowledge your agreement to, and the acquisition of all necessary rights to permit the following:
-
-
-
A series of actions may occur ("Provisioning Process") in which a user may execute the Provisioning Technology
- on a machine ("Target Machine") with the intent of installing, extending or updating the functionality of an Eclipse-based
- product.
-
During the Provisioning Process, the Provisioning Technology may cause third party Installable Software or a portion thereof to be
- accessed and copied to the Target Machine.
-
Pursuant to the Specification, you will provide to the user the terms and conditions that govern the use of the Installable
- Software ("Installable Software Agreement") and such Installable Software Agreement shall be accessed from the Target
- Machine in accordance with the Specification. Such Installable Software Agreement must inform the user of the terms and conditions that govern
- the Installable Software and must solicit acceptance by the end user in the manner prescribed in such Installable Software Agreement. Upon such
- indication of agreement by the user, the provisioning Technology will complete installation of the Installable Software.
-
-
-
Cryptography
-
-
Content may contain encryption software. The country in which you are currently may have restrictions on the import, possession, and use, and/or re-export to
- another country, of encryption software. BEFORE using any encryption software, please check the country's laws, regulations and policies concerning the import,
- possession, or use, and re-export of encryption software, to see if this is permitted.
-
-
Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.
+ *
* The example runs all test cases in bundle1 and bundle2 that are named with the postfix IntegrationTest
* but exclude those with the postfix FooIntegrationTest.
*
@@ -105,51 +99,6 @@ public enum NoMatchPolicy {
FAIL
}
- /**
- * The TestBundles annotation specifies the bundles to be scanned for test classes
- * when a class annotated with @RunWith(BundleTestSuite.class) is run.
- *
- *
A test class is identified by its name. All public classes whose names end with 'Test' are
- * considered test classes.
- */
- @Retention( RetentionPolicy.RUNTIME )
- @Target( ElementType.TYPE )
- public @interface TestBundles {
-
- /**
- * @return the synblic names of the bundles that should be scanned for tests
- */
- String[] value();
-
- /**
- * @return the policy that determines how bundles without matching tests are treated
- *
- * @see NoMatchPolicy
- * @since 1.2
- */
- NoMatchPolicy noMatchPolicy() default IGNORE;
- }
-
- /**
- * The ClassnameFilters annotation specifies a set of regex expressions for all test
- * classes (ie. their qualified names) to be included in a test run. When the annotation
- * is missing, all test classes that matches the expression .*Test in all referred
- * bundles and packages will be run.
- *
- *
Use a leading ! for an exclusion expression. Exclusion expressions can be use
- * to prevent certain Tests from execution as in 'run all unit tests (".*Test") but
- * not the integration tests ("!.*ITest")'.
- *
- * @since 1.1
- */
- @Retention(RetentionPolicy.RUNTIME)
- @Target(ElementType.TYPE)
- public @interface ClassnameFilters {
- String[] DEFAULT_CLASSNAME_FILTERS = new String[] { ".*Test" };
-
- public String[] value() default { ".*Test" };
- }
-
public BundleTestSuite( Class> type ) throws InitializationError {
super( type, getTestClasses( type ) );
}
@@ -176,7 +125,7 @@ private static void checkAnnotationExists( Class> type, TestBundles testBundle
}
private static String[] readFilterPatterns( Class> type ) {
- String[] result = DEFAULT_CLASSNAME_FILTERS;
+ String[] result = ClassnameFilters.DEFAULT_CLASSNAME_FILTERS;
if( type.getAnnotation( ClassnameFilters.class ) != null ) {
result = type.getAnnotation( ClassnameFilters.class ).value();
}
diff --git a/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/ClassnameFilters.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/ClassnameFilters.java
new file mode 100644
index 0000000..dc57b93
--- /dev/null
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/ClassnameFilters.java
@@ -0,0 +1,26 @@
+package com.codeaffine.osgi.testsuite;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The ClassnameFilters annotation specifies a set of regex expressions for all test
+ * classes (ie. their qualified names) to be included in a test run. When the annotation
+ * is missing, all test classes that matches the expression .*Test in all referred
+ * bundles and packages will be run.
+ *
+ *
Use a leading ! for an exclusion expression. Exclusion expressions can be use
+ * to prevent certain Tests from execution as in 'run all unit tests (".*Test") but
+ * not the integration tests ("!.*ITest")'.
+ *
+ * @since 1.1
+ */
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE)
+public @interface ClassnameFilters {
+ String[] DEFAULT_CLASSNAME_FILTERS = new String[] { ".*Test" };
+
+ public String[] value() default { ".*Test" };
+}
\ No newline at end of file
diff --git a/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/TestBundles.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/TestBundles.java
new file mode 100644
index 0000000..ed05672
--- /dev/null
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/TestBundles.java
@@ -0,0 +1,33 @@
+package com.codeaffine.osgi.testsuite;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+import com.codeaffine.osgi.testsuite.BundleTestSuite.NoMatchPolicy;
+
+/**
+ * The TestBundles annotation specifies the bundles to be scanned for test classes
+ * when a class annotated with @RunWith(BundleTestSuite.class) is run.
+ *
+ *
A test class is identified by its name. All public classes whose names end with 'Test' are
+ * considered test classes.
+ */
+@Retention( RetentionPolicy.RUNTIME )
+@Target( ElementType.TYPE )
+public @interface TestBundles {
+
+ /**
+ * @return the synblic names of the bundles that should be scanned for tests
+ */
+ String[] value();
+
+ /**
+ * @return the policy that determines how bundles without matching tests are treated
+ *
+ * @see NoMatchPolicy
+ * @since 1.2
+ */
+ NoMatchPolicy noMatchPolicy() default NoMatchPolicy.IGNORE;
+}
\ No newline at end of file
diff --git a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/BundleTestCollector.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollector.java
similarity index 88%
rename from com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/BundleTestCollector.java
rename to com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollector.java
index 6dcf4f5..d32fc59 100644
--- a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/BundleTestCollector.java
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollector.java
@@ -9,7 +9,7 @@
* RĂ¼diger Herrmann - initial API and implementation
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import java.util.Properties;
@@ -17,14 +17,17 @@
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
-
public class BundleTestCollector {
+
private final ClassnameFilter classnameFilter;
private final String bundleSymbolicName;
private final BundleContext bundleContext;
private final Properties devProperties;
- public BundleTestCollector( BundleContext bundleContext, String bundleSymbolicName, String[] filterPatterns ) {
+ public BundleTestCollector( BundleContext bundleContext,
+ String bundleSymbolicName,
+ String[] filterPatterns )
+ {
this.bundleContext = bundleContext;
this.bundleSymbolicName = bundleSymbolicName;
this.classnameFilter = new ClassnameFilter( filterPatterns );
@@ -48,5 +51,4 @@ private Bundle getBundle() throws InitializationError {
}
return result;
}
-
}
\ No newline at end of file
diff --git a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassPathScanner.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassPathScanner.java
similarity index 98%
rename from com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassPathScanner.java
rename to com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassPathScanner.java
index 52edf07..52e6ee4 100644
--- a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassPathScanner.java
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassPathScanner.java
@@ -9,7 +9,7 @@
* RĂ¼diger Herrmann - initial API and implementation
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import java.util.ArrayList;
import java.util.Arrays;
diff --git a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassnameFilter.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilter.java
similarity index 98%
rename from com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassnameFilter.java
rename to com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilter.java
index 7bd0775..f738903 100644
--- a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/ClassnameFilter.java
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilter.java
@@ -8,7 +8,7 @@
* Contributors:
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import java.util.ArrayList;
import java.util.Collection;
diff --git a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoader.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoader.java
similarity index 97%
rename from com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoader.java
rename to com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoader.java
index 77d3eb5..f6357a3 100644
--- a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoader.java
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoader.java
@@ -8,7 +8,7 @@
* Contributors:
* RĂ¼diger Herrmann - initial API and implementation
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import java.io.IOException;
import java.io.InputStream;
diff --git a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/TestCollector.java b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/TestCollector.java
similarity index 92%
rename from com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/TestCollector.java
rename to com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/TestCollector.java
index 17e472d..9ec11e9 100644
--- a/com.codeaffine.osgi.testsuite/src/com/codeaffine/osgi/testuite/internal/TestCollector.java
+++ b/com.codeaffine.osgi.testsuite/src/main/java/com/codeaffine/osgi/testsuite/internal/TestCollector.java
@@ -1,4 +1,4 @@
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import static java.lang.String.format;
import static java.util.Arrays.asList;
@@ -10,8 +10,8 @@
import org.junit.runners.model.InitializationError;
import org.osgi.framework.BundleContext;
-import com.codeaffine.osgi.testuite.BundleTestSuite.NoMatchPolicy;
-import com.codeaffine.osgi.testuite.BundleTestSuite.TestBundles;
+import com.codeaffine.osgi.testsuite.BundleTestSuite.NoMatchPolicy;
+import com.codeaffine.osgi.testsuite.TestBundles;
public class TestCollector {
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/BundleTestSuiteTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/BundleTestSuiteTest.java
similarity index 93%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/BundleTestSuiteTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/BundleTestSuiteTest.java
index 13fd230..828d7b2 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/BundleTestSuiteTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/BundleTestSuiteTest.java
@@ -9,7 +9,7 @@
* RĂ¼diger Herrmann - initial API and implementation
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite;
+package com.codeaffine.osgi.testsuite;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -22,9 +22,6 @@
import org.junit.Test;
import org.junit.runners.model.InitializationError;
-import com.codeaffine.osgi.testuite.BundleTestSuite.ClassnameFilters;
-import com.codeaffine.osgi.testuite.BundleTestSuite.TestBundles;
-
public class BundleTestSuiteTest {
@Test
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/BundleTestCollectorTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollectorTest.java
similarity index 91%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/BundleTestCollectorTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollectorTest.java
index b1b6ed6..30a39d9 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/BundleTestCollectorTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/BundleTestCollectorTest.java
@@ -9,9 +9,9 @@
* RĂ¼diger Herrmann - initial API and implementation
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
-import static com.codeaffine.osgi.testuite.BundleTestSuite.ClassnameFilters.DEFAULT_CLASSNAME_FILTERS;
+import static com.codeaffine.osgi.testsuite.ClassnameFilters.DEFAULT_CLASSNAME_FILTERS;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -25,7 +25,6 @@
import org.osgi.framework.BundleContext;
import org.osgi.framework.wiring.BundleWiring;
-import com.codeaffine.osgi.testuite.internal.BundleTestCollector;
public class BundleTestCollectorTest {
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassPathScannerTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassPathScannerTest.java
similarity index 99%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassPathScannerTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassPathScannerTest.java
index d772484..67197a5 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassPathScannerTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassPathScannerTest.java
@@ -9,7 +9,7 @@
* RĂ¼diger Herrmann - initial API and implementation
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassnameFilterTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilterTest.java
similarity index 94%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassnameFilterTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilterTest.java
index c847278..c810bb6 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/ClassnameFilterTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/ClassnameFilterTest.java
@@ -8,14 +8,14 @@
* Contributors:
* Frank Appel - ClassnameFilters
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
-import com.codeaffine.osgi.testuite.internal.ClassnameFilter;
+import com.codeaffine.osgi.testsuite.internal.ClassnameFilter;
public class ClassnameFilterTest {
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoaderTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoaderTest.java
similarity index 96%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoaderTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoaderTest.java
index 3bd3783..283a044 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/DevPropertiesLoaderTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/DevPropertiesLoaderTest.java
@@ -8,7 +8,7 @@
* Contributors:
* RĂ¼diger Herrmann - initial API and implementation
******************************************************************************/
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
@@ -28,7 +28,7 @@
import org.junit.rules.TemporaryFolder;
import org.osgi.framework.BundleContext;
-import com.codeaffine.osgi.testuite.internal.DevPropertiesLoader;
+import com.codeaffine.osgi.testsuite.internal.DevPropertiesLoader;
public class DevPropertiesLoaderTest {
diff --git a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/TestCollectorTest.java b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/TestCollectorTest.java
similarity index 88%
rename from com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/TestCollectorTest.java
rename to com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/TestCollectorTest.java
index ab3b5b3..c5ae39b 100644
--- a/com.codeaffine.osgi.testsuite.test/src/com/codeaffine/osgi/testuite/internal/TestCollectorTest.java
+++ b/com.codeaffine.osgi.testsuite/src/test/java/com/codeaffine/osgi/testsuite/internal/TestCollectorTest.java
@@ -1,9 +1,9 @@
-package com.codeaffine.osgi.testuite.internal;
+package com.codeaffine.osgi.testsuite.internal;
-import static com.codeaffine.osgi.testuite.BundleTestSuite.ClassnameFilters.DEFAULT_CLASSNAME_FILTERS;
-import static com.codeaffine.osgi.testuite.BundleTestSuite.NoMatchPolicy.FAIL;
-import static com.codeaffine.osgi.testuite.BundleTestSuite.NoMatchPolicy.IGNORE;
-import static com.codeaffine.osgi.testuite.BundleTestSuite.NoMatchPolicy.WARN;
+import static com.codeaffine.osgi.testsuite.ClassnameFilters.DEFAULT_CLASSNAME_FILTERS;
+import static com.codeaffine.osgi.testsuite.BundleTestSuite.NoMatchPolicy.FAIL;
+import static com.codeaffine.osgi.testsuite.BundleTestSuite.NoMatchPolicy.IGNORE;
+import static com.codeaffine.osgi.testsuite.BundleTestSuite.NoMatchPolicy.WARN;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -20,7 +20,7 @@
import org.osgi.framework.BundleContext;
import org.osgi.framework.wiring.BundleWiring;
-import com.codeaffine.osgi.testuite.BundleTestSuite.TestBundles;
+import com.codeaffine.osgi.testsuite.TestBundles;
public class TestCollectorTest {