org.alfresco.repo.module
Class ModuleComponentHelperTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.util.RetryingTransactionHelperTestCase
              extended by org.alfresco.util.BaseAlfrescoTestCase
                  extended by org.alfresco.repo.module.ModuleComponentHelperTest
All Implemented Interfaces:
junit.framework.Test

public class ModuleComponentHelperTest
extends BaseAlfrescoTestCase

See Also:

This test creates a bunch of dummy components and then simulates startups with different module current versions.

There are 3 modules. There are 3 components.


Nested Class Summary
static class ModuleComponentHelperTest.NoopModuleComponent
          No-operation tester class
 
Nested classes/interfaces inherited from class org.alfresco.util.RetryingTransactionHelperTestCase
RetryingTransactionHelperTestCase.FailureTest, RetryingTransactionHelperTestCase.Test
 
Field Summary
 
Fields inherited from class org.alfresco.util.BaseAlfrescoTestCase
actionService, authenticationComponent, contentService, ctx, nodeService, retryingTransactionHelper, rootNodeRef, serviceRegistry, storeRef, transactionService
 
Constructor Summary
ModuleComponentHelperTest()
           
 
Method Summary
 void setUp()
           
 void testSetup()
           
 void testStartComponentsV00()
           
 void testStartComponentsV05()
           
 void testStartComponentsV10()
           
 void testStartComponentsV15()
           
 void testStartComponentsV30()
           
 void testStartComponentsV35()
           
 
Methods inherited from class org.alfresco.util.BaseAlfrescoTestCase
getRetryingTransactionHelper, setUpContext, tearDown, useSpacesStore
 
Methods inherited from class org.alfresco.util.RetryingTransactionHelperTestCase
doTestInTransaction, doTestInTransaction, doTestInTransaction, doTestInTransaction
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleComponentHelperTest

public ModuleComponentHelperTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class BaseAlfrescoTestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()

testSetup

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

testStartComponentsV00

public void testStartComponentsV00()

testStartComponentsV05

public void testStartComponentsV05()

testStartComponentsV10

public void testStartComponentsV10()

testStartComponentsV15

public void testStartComponentsV15()

testStartComponentsV30

public void testStartComponentsV30()

testStartComponentsV35

public void testStartComponentsV35()


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