org.alfresco.repo.deploy
Class ASRDeploymentTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.avm.AVMServiceTestBase
              extended by org.alfresco.repo.deploy.ASRDeploymentTest
All Implemented Interfaces:
junit.framework.Test

public class ASRDeploymentTest
extends AVMServiceTestBase

End to end test of deployment to an alfresco system receiver (ASR).


Field Summary
 
Fields inherited from class org.alfresco.repo.avm.AVMServiceTestBase
fAuthenticationComponent, fAuthService, fContext, fIndexerAndSearcher, fIndexingInterceptor, fLockingService, fReaper, fRetryingTransactionHelper, fService, fSyncService, fTransactionService
 
Constructor Summary
ASRDeploymentTest()
           
 
Method Summary
protected  void setUp()
          Setup for AVM tests.
protected  void tearDown()
          Cleanup after a test.
 void testBasic()
           
 void testWrongPassword()
          Wrong password Negative test
 
Methods inherited from class org.alfresco.repo.avm.AVMServiceTestBase
checkHistory, recursiveContents, recursiveList, recursiveList, runQueriesAgainstBasicTree, runQueriesAgainstBasicTreeWithAOnly, setupBasicTree, setupBasicTree0, testSetup
 
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

ASRDeploymentTest

public ASRDeploymentTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: AVMServiceTestBase
Setup for AVM tests. Note that we set the polling interval for the reaper to 4 seconds so that tests will finish reasonably quickly.

Overrides:
setUp in class AVMServiceTestBase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: AVMServiceTestBase
Cleanup after a test. Purge main store.

Overrides:
tearDown in class AVMServiceTestBase
Throws:
java.lang.Exception

testBasic

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

testWrongPassword

public void testWrongPassword()
Wrong password Negative test



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