xmlBlaster 1.5.1 API

org.xmlBlaster.test.classtest
Class InvocationRecorderTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.xmlBlaster.test.classtest.InvocationRecorderTest
All Implemented Interfaces:
junit.framework.Test

public class InvocationRecorderTest
extends junit.framework.TestCase

Test RamRecorder.

Invoke: java -Djava.compiler= junit.textui.TestRunner org.xmlBlaster.test.classtest.InvocationRecorderTest

See Also:
RamRecorder, FileRecorder

Nested Class Summary
(package private)  class InvocationRecorderTest.Tester
          This plays the role of a user of the recoder
 
Field Summary
protected  ServerScope glob
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
private  int numErase
           
private  int numGet
           
private  int numPublish
           
private  int numPublishArr
           
private  int numPublishOneway
           
private  int numSubscribe
           
private  int numUnSubscribe
           
private  int numUpdate
           
private  int numUpdateOneway
           
private  StopWatch stopWatch
           
private  boolean testDiscardOldest
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
InvocationRecorderTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
          For debugging, invoke:
private  void onOverflowDiscard(I_InvocationRecorder recorder)
           
private  void onOverflowDiscardOldest(I_InvocationRecorder recorder)
           
private  void onOverflowException(I_InvocationRecorder recorder)
           
private  void playback(I_InvocationRecorder recorder)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testOnOverflowDiscard()
           
 void testOnOverflowDiscardOldest()
           
 void testOnOverflowException()
           
 void testPlayback()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ME

private java.lang.String ME

glob

protected ServerScope glob

log

private static java.util.logging.Logger log

numSubscribe

private int numSubscribe

numUnSubscribe

private int numUnSubscribe

numGet

private int numGet

numPublish

private int numPublish

numPublishOneway

private int numPublishOneway

numPublishArr

private int numPublishArr

numErase

private int numErase

numUpdate

private int numUpdate

numUpdateOneway

private int numUpdateOneway

stopWatch

private StopWatch stopWatch

testDiscardOldest

private boolean testDiscardOldest
Constructor Detail

InvocationRecorderTest

public InvocationRecorderTest(java.lang.String name)
Method Detail

setUp

protected void setUp()

testPlayback

public void testPlayback()

playback

private void playback(I_InvocationRecorder recorder)

testOnOverflowException

public void testOnOverflowException()

onOverflowException

private void onOverflowException(I_InvocationRecorder recorder)

testOnOverflowDiscardOldest

public void testOnOverflowDiscardOldest()

onOverflowDiscardOldest

private void onOverflowDiscardOldest(I_InvocationRecorder recorder)

testOnOverflowDiscard

public void testOnOverflowDiscard()

onOverflowDiscard

private void onOverflowDiscard(I_InvocationRecorder recorder)

tearDown

protected void tearDown()

main

public static void main(java.lang.String[] args)
For debugging, invoke:
  java org.xmlBlaster.test.classtest.InvocationRecorderTest -logging/org.xmlBlaster.engine.dispatch FINE -logging/org.xmlBlaster.util.dispatch FINE -logging/org.xmlBlaster.engine FINEST
  java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.InvocationRecorderTest
 


xmlBlaster 1.5.1 API

Copyright © 1999-2007 The xmlBlaster.org contributers.