org.alfresco.repo.site
Class SiteServiceTestHuge

java.lang.Object
  extended by org.alfresco.repo.site.SiteServiceTestHuge

public class SiteServiceTestHuge
extends java.lang.Object

Site service unit test that targets HUGE numbers of sites


Constructor Summary
SiteServiceTestHuge()
           
 
Method Summary
 void commandLine()
           
static void main(java.lang.String[] args)
          Simplify running unit test from the command line.
 void setUp()
           
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownClass()
           
 void testAddingSitesAndDelete(int fromSiteId, int toSiteId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteServiceTestHuge

public SiteServiceTestHuge()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws java.lang.Exception
Throws:
java.lang.Exception

tearDownClass

public static void tearDownClass()

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

commandLine

public void commandLine()
                 throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
Simplify running unit test from the command line. set SITE_CPATH=%TOMCAT_HOME%/lib/*;%TOMCAT_HOME%/endorsed/*;%TOMCAT_HOME%/webapps/alfresco/WEB-INF/lib/*;%TOMCAT_HOME%/webapps/alfresco/WEB-INF/classes;%TOMCAT_HOME%/shared/classes; java -Xmx2048m -XX:MaxPermSize=512M -classpath %SITE_CPATH% org.alfresco.repo.site.SiteServiceTestHuge ...


testAddingSitesAndDelete

public void testAddingSitesAndDelete(int fromSiteId,
                                     int toSiteId)
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.