use of org.springsource.ide.eclipse.commons.content.core.ContentManager in project eclipse-integration-commons by spring-projects.
the class DescriptorMatcherTest method setUp.
@Override
protected void setUp() throws Exception {
descriptor = new Descriptor();
System.setProperty("org.springsource.sts", "abc");
matcher = new DescriptorMatcher(new ContentManager());
matcher.setVersion(null);
}
use of org.springsource.ide.eclipse.commons.content.core.ContentManager in project eclipse-integration-commons by spring-projects.
the class HelpPluginTest method testGetSampleProjects.
public void testGetSampleProjects() {
ContentManager manager = ContentPlugin.getDefault().getManager();
if (manager.isDirty()) {
// refresh to download remote descriptors
manager.refresh(null, true);
}
Collection<ContentItem> projects = manager.getItemsByKind(ContentManager.KIND_SAMPLE);
assertEquals(3, projects.size());
}
Aggregations