/** * Propagates a list of system properties from the driver VM to the container VM. Only * meaningful for remote containers. * <p> * For each given system property which is set in the driver VM, Pax Exam will set the system * property with the same key to the same value in the container VM. * * @param keys * list of system property keys * @return option that propagates system properties */ public static Option propagateSystemProperties(final String... keys) { final List<PropagateSystemPropertyOption> options = new ArrayList<PropagateSystemPropertyOption>(); for (String key : keys) { options.add(propagateSystemProperty(key)); } return composite(options.toArray(new Option[options.size()])); }
/** * Propagates a list of system properties from the driver VM to the container VM. Only * meaningful for remote containers. * <p> * For each given system property which is set in the driver VM, Pax Exam will set the system * property with the same key to the same value in the container VM. * * @param keys * list of system property keys * @return option that propagates system properties */ public static Option propagateSystemProperties(final String... keys) { final List<PropagateSystemPropertyOption> options = new ArrayList<PropagateSystemPropertyOption>(); for (String key : keys) { options.add(propagateSystemProperty(key)); } return composite(options.toArray(new Option[options.size()])); }
propagateSystemProperty(ORG_OPENDAYLIGHT_FEATURETEST_URI_PROP), propagateSystemProperty(ORG_OPENDAYLIGHT_FEATURETEST_FEATURENAME_PROP), propagateSystemProperty(ORG_OPENDAYLIGHT_FEATURETEST_FEATUREVERSION_PROP), propagateSystemProperty(BUNDLES_DIAG_SKIP_PROP), propagateSystemProperty(BUNDLES_DIAG_FORCE_PROP), propagateSystemProperty(BUNDLES_DIAG_TIMEOUT_PROP),
propagateSystemProperty(NEXUS_PAX_EXAM_TIMEOUT_KEY), propagateSystemProperty(TestCleaner.CLEAN_ON_SUCCESS_KEY),