use of org.eclipse.osgi.service.resolver.BundleDescription in project rt.equinox.framework by eclipse.
the class TestGenerated_001 method create_bundle_8.
// end of method
public BundleDescription create_bundle_8(StateObjectFactory sof) {
java.util.Dictionary dictionary_8 = new java.util.Properties();
BundleDescription bundle = null;
dictionary_8.put("Bundle-ManifestVersion", "2");
dictionary_8.put("Bundle-SymbolicName", "H");
dictionary_8.put("Export-Package", "a2; version=8");
dictionary_8.put("Import-Package", "a1; version=3, a2; version=8, a3; version=0");
try {
bundle = sof.createBundleDescription(dictionary_8, "bundle_8", 8);
} catch (BundleException be) {
fail(be.getMessage());
}
return bundle;
}
use of org.eclipse.osgi.service.resolver.BundleDescription in project rt.equinox.framework by eclipse.
the class TestGenerated_001 method create_bundle_10.
// end of method
public BundleDescription create_bundle_10(StateObjectFactory sof) {
java.util.Dictionary dictionary_10 = new java.util.Properties();
BundleDescription bundle = null;
dictionary_10.put("Bundle-ManifestVersion", "2");
dictionary_10.put("Bundle-SymbolicName", "J");
dictionary_10.put("Import-Package", "a1; version=7, a2; version=\"[7, 8]\", a3; version=5");
try {
bundle = sof.createBundleDescription(dictionary_10, "bundle_10", 10);
} catch (BundleException be) {
fail(be.getMessage());
}
return bundle;
}
use of org.eclipse.osgi.service.resolver.BundleDescription in project rt.equinox.framework by eclipse.
the class TestGenerated_001 method create_bundle_4.
// end of method
public BundleDescription create_bundle_4(StateObjectFactory sof) {
java.util.Dictionary dictionary_4 = new java.util.Properties();
BundleDescription bundle = null;
dictionary_4.put("Bundle-ManifestVersion", "2");
dictionary_4.put("Bundle-SymbolicName", "D");
dictionary_4.put("Import-Package", "a1; version=\"[3, 3.9]\", a2; version=8, a3; version=5");
try {
bundle = sof.createBundleDescription(dictionary_4, "bundle_4", 4);
} catch (BundleException be) {
fail(be.getMessage());
}
return bundle;
}
use of org.eclipse.osgi.service.resolver.BundleDescription in project rt.equinox.framework by eclipse.
the class TestGrouping_006 method create_bundle_3.
// end of method
public BundleDescription create_bundle_3(StateObjectFactory sof) {
java.util.Dictionary dictionary_3 = new java.util.Properties();
BundleDescription bundle = null;
dictionary_3.put("Bundle-ManifestVersion", "2");
dictionary_3.put("Bundle-SymbolicName", "C");
dictionary_3.put("Export-Package", "x; y; uses:=\"x,y\"");
try {
bundle = sof.createBundleDescription(dictionary_3, "bundle_3", 3);
} catch (BundleException be) {
fail(be.getMessage());
}
return bundle;
}
use of org.eclipse.osgi.service.resolver.BundleDescription in project rt.equinox.framework by eclipse.
the class TestGrouping_006 method create_bundle_2.
// end of method
public BundleDescription create_bundle_2(StateObjectFactory sof) {
java.util.Dictionary dictionary_2 = new java.util.Properties();
BundleDescription bundle = null;
dictionary_2.put("Bundle-ManifestVersion", "2");
dictionary_2.put("Bundle-SymbolicName", "B");
dictionary_2.put("Export-Package", "x");
try {
bundle = sof.createBundleDescription(dictionary_2, "bundle_2", 2);
} catch (BundleException be) {
fail(be.getMessage());
}
return bundle;
}
Aggregations