Search in sources :

Example 1 with ServerConfigurator

use of org.springsource.ide.eclipse.commons.internal.configurator.server.ServerConfigurator in project eclipse-integration-commons by spring-projects.

the class ServerConfiguratorTest method setUp.

@Override
protected void setUp() throws Exception {
    root = File.createTempFile("configurator importer test", null);
    root.delete();
    root.mkdirs();
    root.deleteOnExit();
    // mock lockup of extensions
    final ConfiguratorImporter configurator = new ConfiguratorImporter();
    configurator.setSearchLocations(Collections.singletonList(root));
    configurator.setRecurse(false);
    importer = new ServerConfigurator() {

        @Override
        public ConfiguratorImporter getConfigurator() {
            return configurator;
        }
    };
}
Also used : ConfiguratorImporter(org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporter) ServerConfigurator(org.springsource.ide.eclipse.commons.internal.configurator.server.ServerConfigurator)

Aggregations

ConfiguratorImporter (org.springsource.ide.eclipse.commons.internal.configurator.ConfiguratorImporter)1 ServerConfigurator (org.springsource.ide.eclipse.commons.internal.configurator.server.ServerConfigurator)1