_builder.append("an.iu2");
_builder.newLine();
_builder.append("}");
_builder.newLine();
final TargetPlatform tp1 = this.parser.parse(_builder);
final ResolvedTargetPlatform resolvedTargetPlatform = ResolvedTargetPlatform.create(tp1, this.indexBuilder);
MockMetadataRepositoryManager _mockMetadataRepositoryManager = new MockMetadataRepositoryManager(new IQueryResultProvider<IInstallableUnit>() {
public List<IInstallableUnit> listIUs(final URI location) {
List<IInstallableUnit> ret = null;
String _string = location.toString();
boolean _equals = "http://location.org/p2".equals(_string);
if (_equals) {
Version _createOSGi = Version.createOSGi(1, 0, 0);
MockIU _mockIU = new MockIU("an.iu", _createOSGi);
List<IInstallableUnit> _newImmutableList = CollectionLiterals.<IInstallableUnit>newImmutableList(_mockIU);
ret = _newImmutableList;
} else {
String _string_1 = location.toString();
boolean _equals_1 = "http://location2.org/p2".equals(_string_1);
if (_equals_1) {
Version _createOSGi_1 = Version.createOSGi(1, 3, 74, null);
MockIU _mockIU_1 = new MockIU("an.iu2", _createOSGi_1);
List<IInstallableUnit> _newImmutableList_1 = CollectionLiterals.<IInstallableUnit>newImmutableList(_mockIU_1);
ret = _newImmutableList_1;
} else {
List<IInstallableUnit> _emptyList = CollectionLiterals.<IInstallableUnit>emptyList();
ret = _emptyList;
}
}
return ret;
}
});
NullProgressMonitor _nullProgressMonitor = new NullProgressMonitor();
resolvedTargetPlatform.resolve(_mockMetadataRepositoryManager, _nullProgressMonitor);
final TargetDefinitionGenerator gen = new TargetDefinitionGenerator();
final String content = gen.generate(resolvedTargetPlatform, 1);
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>");
_builder_1.newLine();