Class LogTrackerUtils


  • public class LogTrackerUtils
    extends junit.framework.Assert
    Utility class to read the log tracker created by access tracking, to be use in junit tests.

    Since:
    6.6.1
    Author:
    Javier Paniza
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void assertAccessLog​(java.lang.String... expectedEntries)  
      static void assertLog​(java.lang.String file, java.lang.String... expectedEntries)  
      • 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, toString, wait, wait, wait
    • Method Detail

      • assertAccessLog

        public static void assertAccessLog​(java.lang.String... expectedEntries)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertLog

        public static void assertLog​(java.lang.String file,
                                     java.lang.String... expectedEntries)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception