# 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=6.0.1,\ osgi.core;version=6.0,\ osgi.cmpn;version=6.0,\ org.gecko.adapter.amqp;version=latest,\ org.gecko.osgi.messaging;version=latest,\ org.osgi.util.pushstream,\ org.gecko.core.pushstream;version=latest 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.junit: \ ${junit},\ ${mockito} -runbundles: \ org.osgi.util.function;version='[1.1.0,1.1.1)',\ org.osgi.util.promise;version='[1.1.0,1.1.1)',\ slf4j.api;version='[1.7.25,1.7.26)',\ slf4j.simple;version='[1.7.25,1.7.26)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ org.apache.felix.configadmin;version='[1.9.10,1.9.11)',\ org.apache.felix.scr;version='[2.1.14,2.1.15)',\ org.osgi.util.pushstream;version='[1.0.1,1.0.2)',\ com.rabbitmq.client;version='[5.9.0,5.9.1)',\ org.gecko.core.api;version='[1.0.5,1.0.6)',\ org.gecko.core.pushstream;version='[1.1.0,1.1.1)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ org.gecko.adapter.amqp;version=snapshot,\ org.gecko.adapter.amqp.pubusb;version=snapshot,\ org.gecko.osgi.messaging;version=snapshot Bundle-Version: 1.0.5-SNAPSHOT Private-Package: org.gecko.adapter.amqp.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='[6.0.1,6.0.1]' -runvm: -ea -runproperties: amqp.host=${def;amqp.host;localhost} Bundle-Name: AMQP Adapter Tests Bundle-Description: Integration tests for the AMQP message adapter implementation -runrequires: \ bnd.identity;id='org.apache.felix.scr',\ bnd.identity;id='org.apache.felix.configadmin',\ bnd.identity;version='latest';id='org.gecko.osgi.messaging',\ bnd.identity;id='com.rabbitmq.client',\ bnd.identity;id='slf4j.api',\ bnd.identity;id='slf4j.simple',\ bnd.identity;id='org.gecko.adapter.amqp';version=latest,\ bnd.identity;id='org.gecko.adapter.amqp.pubusb' -runee: JavaSE-1.8 -runprogramargs: -Damqp.host=devel.data-in-motion.biz amqp.host: devel.data-in-motion.biz