org.alfresco.repo.avm
Class AVMServiceIndexTest

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.avm.AVMServiceIndexTest
All Implemented Interfaces:
junit.framework.Test

public class AVMServiceIndexTest
extends AVMServiceTestBase

Test AVMService indexing


Field Summary
 
Fields inherited from class org.alfresco.repo.avm.AVMServiceTestBase
fAuthenticationComponent, fAuthService, fContext, fIndexerAndSearcher, fIndexingInterceptor, fLockingService, fReaper, fRetryingTransactionHelper, fService, fSyncService, fTransactionService
 
Constructor Summary
AVMServiceIndexTest()
           
 
Method Summary
protected  void setUp()
          Setup for AVM tests.
 void testAsyncIndex()
          Test async indexing.
 
Methods inherited from class org.alfresco.repo.avm.AVMServiceTestBase
checkHistory, recursiveContents, recursiveList, recursiveList, runQueriesAgainstBasicTree, runQueriesAgainstBasicTreeWithAOnly, setupBasicTree, setupBasicTree0, tearDown, 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

AVMServiceIndexTest

public AVMServiceIndexTest()
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

testAsyncIndex

public void testAsyncIndex()
                    throws java.lang.Exception
Test async indexing.

Throws:
java.lang.Exception


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