org.perf4j
Class TimingTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.perf4j.TimingTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
GroupingStatisticsIteratorTest, LogParserTest, StatisticsExposingMBeanTest, StopWatchLogIteratorTest

public class TimingTestCase
extends junit.framework.TestCase

Base test class just sets up some simple StopWatches and a dummy log of those stop watches.


Field Summary
protected  String testLog
           
protected  List<StopWatch> testStopWatches
           
 
Constructor Summary
TimingTestCase()
           
 
Method Summary
protected  void setUp()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

testStopWatches

protected List<StopWatch> testStopWatches

testLog

protected String testLog
Constructor Detail

TimingTestCase

public TimingTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception


Copyright © 2008-2011 perf4j.org. All Rights Reserved.