# This is the version of JUnit that will be used at build time and run time junit: org.apache.servicemix.bundles.junit;version="[4.11,5)" # This is the version of Mockito that will be used at build time and run time mockito: org.mockito.mockito-core;version="[1.9,2)",\ org.objenesis;version="[2.1,3)" # Discover and run all test cases annotated with the @RunWith annotation Test-Cases: ${classes;CONCRETE;ANNOTATED;org.junit.runner.RunWith} # Build dependencies -buildpath: \ ${junit},\ ${mockito},\ osgi.annotation;version=7.0,\ osgi.core;version=7.0,\ osgi.cmpn;version=7.0,\ org.osgi.util.pushstream;version=latest,\ org.gecko.osgi.messaging;version=project,\ org.gecko.core.test;version=latest,\ org.gecko.core.pushstream;version=latest,\ org.gecko.adapter.eventadmin;version=project javac.source: 1.8 javac.target: 1.8 # We need JUnit and Mockito to resolve the test cases at runtime. # Other runtime dependencies should be added as necessary -runbundles: \ org.apache.felix.configadmin;version='[1.9.10,1.9.11)',\ org.apache.felix.eventadmin;version='[1.5.0,1.5.1)',\ org.apache.felix.scr;version='[2.1.14,2.1.15)',\ org.apache.servicemix.bundles.junit;version='[4.12.0,4.12.1)',\ org.mockito.mockito-core;version='[1.10.19,1.10.20)',\ org.objenesis;version='[2.2.0,2.2.1)',\ org.osgi.util.converter;version='[1.0.0,1.0.1)',\ org.osgi.util.function;version='[1.1.0,1.1.1)',\ org.osgi.util.promise;version='[1.1.0,1.1.1)',\ org.osgi.util.pushstream;version='[1.0.1,1.0.2)',\ org.gecko.adapter.can;version='[1.0.4,1.0.5)',\ org.gecko.core.api;version='[1.0.5,1.0.6)',\ org.gecko.core.pushstream;version='[1.1.0,1.1.1)',\ org.gecko.core.test;version='[2.1.0,2.1.1)',\ org.gecko.osgi.messaging;version='[3.1.0,3.1.1)',\ org.gecko.adapter.eventadmin;version=snapshot,\ org.gecko.osgi.messaging;version=snapshot,\ org.gecko.adapter.eventadmin.tests;version=snapshot Bundle-Version: 1.0.4-SNAPSHOT Private-Package: org.gecko.adapter.eventadmin.tests Bundle-Copyright: Data In Motion Consulting GmbH Bundle-License: Eclipse Public License v1.0 Bundle-Vendor: Data In Motion Consulting GmbH # Needed for Mockito's mocking to work -runsystempackages.objenesis: sun.misc,sun.reflect # Use Felix by default -runfw: org.apache.felix.framework;version=5 -runvm: -ea -runee: JavaSE-1.8 -runrequires: \ bnd.identity;id='org.gecko.adapter.eventadmin.tests'