org.alfresco.repo.domain.audit
Class AuditDAOTest

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

public class AuditDAOTest
extends junit.framework.TestCase

Since:
3.2
See Also:
ContentDataDAO

Nested Class Summary
 class AuditDAOTest.AuditQueryCallbackImpl
           
 
Constructor Summary
AuditDAOTest()
           
 
Method Summary
 void setUp()
           
 void testAuditApplication()
           
 void testAuditDeleteEntries()
           
 void testAuditDeleteEntriesBetweenTimes()
          Ensure audit entries can be deleted between two times - for all applications.
 void testAuditDeleteEntriesForApplication()
          Ensure that only the correct application's audit entries are deleted.
 void testAuditDeleteEntriesForApplicationBetweenTimes()
          Ensure that an application's audit entries can be deleted between 2 times.
 void testAuditEntry()
           
 void testAuditModel()
           
 void testAuditQuery()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

AuditDAOTest

public AuditDAOTest()
Method Detail

setUp

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

testAuditModel

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

testAuditApplication

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

testAuditEntry

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

testAuditQuery

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

testAuditDeleteEntries

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

testAuditDeleteEntriesForApplication

public void testAuditDeleteEntriesForApplication()
                                          throws java.lang.Exception
Ensure that only the correct application's audit entries are deleted.

Throws:
java.lang.Exception

testAuditDeleteEntriesForApplicationBetweenTimes

public void testAuditDeleteEntriesForApplicationBetweenTimes()
                                                      throws java.lang.Exception
Ensure that an application's audit entries can be deleted between 2 times.

Throws:
java.lang.Exception

testAuditDeleteEntriesBetweenTimes

public void testAuditDeleteEntriesBetweenTimes()
                                        throws java.lang.Exception
Ensure audit entries can be deleted between two times - for all applications.

Throws:
java.lang.Exception


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