org.alfresco.repo.audit
Class AuditableAspectTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.audit.AuditableAspectTest
All Implemented Interfaces:
junit.framework.Test

public class AuditableAspectTest
extends junit.framework.TestCase

Checks that the behaviour of the auditable aspect is correct.


Constructor Summary
AuditableAspectTest()
           
 
Method Summary
 void setUp()
           
protected  void tearDown()
           
 void testAddAndRemoveAspect()
           
 void testAddAudit()
           
 void testAudit()
           
 void testCreateAndUpdateAuditableProperties()
          ALF-2565: Allow cm:auditable values to be set programmatically
ALF-4117: NodeDAO: Allow cm:auditable to be set ALF-3569: Alfresco repository CIFS driver not setting timestamps
 void testNoAudit()
           
 
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

AuditableAspectTest

public AuditableAspectTest()
Method Detail

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

testAudit

public void testAudit()

testNoAudit

public void testNoAudit()

testAddAudit

public void testAddAudit()

testAddAndRemoveAspect

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

testCreateAndUpdateAuditableProperties

public void testCreateAndUpdateAuditableProperties()
ALF-2565: Allow cm:auditable values to be set programmatically
ALF-4117: NodeDAO: Allow cm:auditable to be set ALF-3569: Alfresco repository CIFS driver not setting timestamps



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