org.alfresco.repo.site
Class SiteServiceTestHuge
java.lang.Object
org.alfresco.repo.site.SiteServiceTestHuge
public class SiteServiceTestHuge
- extends java.lang.Object
Site service unit test that targets HUGE numbers of sites
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteServiceTestHuge
public SiteServiceTestHuge()
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.