xmlBlaster 2.1.0 API

org.xmlBlaster.test.classtest
Class TimestampTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.classtest.TimestampTest
All Implemented Interfaces:
junit.framework.Test

public class TimestampTest
extends junit.framework.TestCase

Test Timestamp class (creating unique timestamps in JVM scope).

All methods starting with 'test' and without arguments are invoked automatically

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

See Also:
Timestamp

Field Summary
private  int counter
           
private  boolean event
           
(package private)  int iThread
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
 
Constructor Summary
TimestampTest(java.lang.String name)
           
 
Method Summary
 void testSync()
          Test that timstamps are unique and ascending
 void testTimestamp()
          Test basics
 void testUnique()
          Test that timstamps are unique and ascending
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

ME

private java.lang.String ME

log

private static java.util.logging.Logger log

event

private boolean event

counter

private int counter

iThread

int iThread
Constructor Detail

TimestampTest

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

testTimestamp

public void testTimestamp()
Test basics


testUnique

public void testUnique()
Test that timstamps are unique and ascending


testSync

public void testSync()
Test that timstamps are unique and ascending


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.