Class PerfTestResultRecorderRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class PerfTestResultRecorderRule
    extends org.junit.rules.TestWatcher
    JUnit rule recording the performance test result
    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOG  
      protected PerfTestResults results  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String formatResultFileDirName()  
      protected java.lang.String formatResultFileName​(org.junit.runner.Description description)  
      void setResults​(PerfTestResults results)  
      protected void succeeded​(org.junit.runner.Description description)  
      • Methods inherited from class org.junit.rules.TestWatcher

        apply, failed, finished, skipped, skipped, starting
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static final java.util.logging.Logger LOG
    • Constructor Detail

      • PerfTestResultRecorderRule

        public PerfTestResultRecorderRule()
    • Method Detail

      • succeeded

        protected void succeeded​(org.junit.runner.Description description)
        Overrides:
        succeeded in class org.junit.rules.TestWatcher
      • formatResultFileDirName

        protected java.lang.String formatResultFileDirName()
      • formatResultFileName

        protected java.lang.String formatResultFileName​(org.junit.runner.Description description)