use of org.apache.aries.subsystem.core.archive.BundleRequiredExecutionEnvironmentHeader.Clause.ExecutionEnvironment.Parser in project aries by apache.
the class BundleRequiredExecutionEnvironmentHeaderTest method doTestParser.
private void doTestParser(String clause, String name, Version version) {
ExecutionEnvironment ee = null;
try {
ee = new Parser().parse(clause);
} catch (Exception e) {
fail("Unable to parse execution environment from clause " + clause);
}
assertExecutionEnvironmentName(ee, name);
assertExecutionEnvironmentVersion(ee, version);
}
Aggregations