use of org.exoplatform.container.xml.Configuration in project kernel by exoplatform.
the class TestComponentLifecyclePluginProfile method testFooProfile.
public void testFooProfile() throws Exception {
Configuration config = getConfiguration("component-lifecycle-plugin.xml", "foo");
assertEquals(2, config.getComponentLifecyclePlugins().size());
}
use of org.exoplatform.container.xml.Configuration in project kernel by exoplatform.
the class TestComponentLifecyclePluginProfile method testFooBarProfiles.
public void testFooBarProfiles() throws Exception {
Configuration config = getConfiguration("component-lifecycle-plugin.xml", "foo", "bar");
assertEquals(3, config.getComponentLifecyclePlugins().size());
}
use of org.exoplatform.container.xml.Configuration in project kernel by exoplatform.
the class TestComponentPluginProfile method testNoProfile.
public void testNoProfile() throws Exception {
Configuration config = getConfiguration("component-plugin-configuration.xml");
Component component = config.getComponent("Component");
assertEquals(1, component.getComponentPlugins().size());
}
use of org.exoplatform.container.xml.Configuration in project kernel by exoplatform.
the class TestComponentProfile method testFooBarProfiles.
public void testFooBarProfiles() throws Exception {
Configuration config = getConfiguration("component-configuration.xml", "foo", "bar");
assertEquals(1, config.getComponents().size());
}
use of org.exoplatform.container.xml.Configuration in project kernel by exoplatform.
the class TestComponentProfile method testNoProfile.
public void testNoProfile() throws Exception {
Configuration config = getConfiguration("component-configuration.xml");
assertEquals(0, config.getComponents().size());
}
Aggregations