Package org.exoplatform.container.RootContainer

Examples of org.exoplatform.container.RootContainer.PortalContainerInitTaskContextComparator


public class TestPortalContainerInitTaskContextComparator extends TestCase
{
   public void testCompare()
   {
      PortalContainerInitTaskContextComparator comparator = new PortalContainerInitTaskContextComparator(Arrays.asList("d", "c"));
      PortalContainerInitTaskContext[] contexts =
         {createPortalContainerInitTaskContext("b"), createPortalContainerInitTaskContext("d"), createPortalContainerInitTaskContext("a"),
         createPortalContainerInitTaskContext("c")};
      Arrays.sort(contexts, comparator);
      assertEquals("d", contexts[0].getServletContextName());
View Full Code Here


public class TestPortalContainerInitTaskContextComparator extends TestCase
{
   public void testCompare()
   {
      PortalContainerInitTaskContextComparator comparator = new PortalContainerInitTaskContextComparator(Arrays.asList("d", "c"));
      PortalContainerInitTaskContext[] contexts =
         {createPortalContainerInitTaskContext("b"), createPortalContainerInitTaskContext("d"), createPortalContainerInitTaskContext("a"),
         createPortalContainerInitTaskContext("c")};
      Arrays.sort(contexts, comparator);
      assertEquals("d", contexts[0].getServletContextName());
View Full Code Here

TOP

Related Classes of org.exoplatform.container.RootContainer.PortalContainerInitTaskContextComparator

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.