org.alfresco.cmis.changelog
Class CMISChangeLogServiceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.cmis.changelog.CMISChangeLogServiceTest
All Implemented Interfaces:
junit.framework.Test

public class CMISChangeLogServiceTest
extends junit.framework.TestCase

Base tests for CMISChangeLogServiceImpl


Constructor Summary
CMISChangeLogServiceTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testEnabledAuditing()
          Tests CMISChangeLogServiceImpl with enabled Auditing feature
 void testEnabledAuditingForMaxItems()
          Test CMISChangeLogServiceImpl with enabled Auditing feature for Max Items parameter
 void testReceivingChangeEventsForInvalidChangeToken()
          This method tests CMISChangeLogServiceImpl on receiving Change Event Entries for Invalid Change Log Token with enable and disabled Changes Logging
 void testReceivingOfChangeEventsExpectingFolders()
          This method tests CMISChangeLogServiceImpl on working with Change Event entries which could contain Folder Objects
 void testReceivingOfChangeEventsExpectingFoldersAndBoundedByMaxItems()
          This method tests CMISChangeLogServiceImpl on working with Change Event entries which could contain Folder Objects.
 void testServiceWithDisabledAuditing()
          Tests CMISChangeLogServiceImpl with disabled Auditing feature
 
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

CMISChangeLogServiceTest

public CMISChangeLogServiceTest()
Method Detail

testServiceWithDisabledAuditing

public void testServiceWithDisabledAuditing()
                                     throws java.lang.Exception
Tests CMISChangeLogServiceImpl with disabled Auditing feature

Throws:
java.lang.Exception

testEnabledAuditing

public void testEnabledAuditing()
                         throws java.lang.Exception
Tests CMISChangeLogServiceImpl with enabled Auditing feature

Throws:
java.lang.Exception

testEnabledAuditingForMaxItems

public void testEnabledAuditingForMaxItems()
                                    throws java.lang.Exception
Test CMISChangeLogServiceImpl with enabled Auditing feature for Max Items parameter

Throws:
java.lang.Exception

testReceivingChangeEventsForInvalidChangeToken

public void testReceivingChangeEventsForInvalidChangeToken()
                                                    throws java.lang.Exception
This method tests CMISChangeLogServiceImpl on receiving Change Event Entries for Invalid Change Log Token with enable and disabled Changes Logging

Throws:
java.lang.Exception

testReceivingOfChangeEventsExpectingFolders

public void testReceivingOfChangeEventsExpectingFolders()
                                                 throws java.lang.Exception
This method tests CMISChangeLogServiceImpl on working with Change Event entries which could contain Folder Objects

Throws:
java.lang.Exception

testReceivingOfChangeEventsExpectingFoldersAndBoundedByMaxItems

public void testReceivingOfChangeEventsExpectingFoldersAndBoundedByMaxItems()
                                                                     throws java.lang.Exception
This method tests CMISChangeLogServiceImpl on working with Change Event entries which could contain Folder Objects. Also this method tests behavior of Max Items parameter for Folder Objects

Throws:
java.lang.Exception

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


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