Package org.exoplatform.mocks

Examples of org.exoplatform.mocks.PriorityService


   public void testPriorityPlugins()
   {
      RootContainer rootContainer = RootContainer.getInstance();
      PortalContainer pcontainer = rootContainer.getPortalContainer("portal");
      assertNotNull(pcontainer);
      PriorityService ps = (PriorityService)pcontainer.getComponentInstanceOfType(PriorityService.class);
      assertNotNull(ps);
      List<ComponentPlugin> l = ps.getPlugins();
      assertNotNull(l);
      assertEquals(3, l.size());
      assertEquals("PluginPriority3", l.get(0).getName());
      assertEquals("PluginPriority1", l.get(1).getName());
      assertEquals("PluginPriority2", l.get(2).getName());
View Full Code Here


   public void testPriorityPlugins()
   {
      RootContainer rootContainer = RootContainer.getInstance();
      PortalContainer pcontainer = rootContainer.getPortalContainer("portal");
      assertNotNull(pcontainer);
      PriorityService ps = (PriorityService)pcontainer.getComponentInstanceOfType(PriorityService.class);
      assertNotNull(ps);
      List<ComponentPlugin> l = ps.getPlugins();
      assertNotNull(l);
      assertEquals(3, l.size());
      assertEquals("PluginPriority3", l.get(0).getName());
      assertEquals("PluginPriority1", l.get(1).getName());
      assertEquals("PluginPriority2", l.get(2).getName());
View Full Code Here

TOP

Related Classes of org.exoplatform.mocks.PriorityService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.