xmlBlaster 2.1.0 API

org.xmlBlaster.test.classtest.queue
Class QueueServerEntryTest

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

public class QueueServerEntryTest
extends junit.framework.TestCase

Test persistence of Queue entries.

Invoke: java -Djava.compiler= org.xmlBlaster.test.classtest.queue.QueueServerEntryTest

See Also:
MsgQueueUpdateEntry, MsgQueueHistoryEntry, I_Queue, RamQueuePlugin, JdbcQueueCommonTablePlugin

Field Summary
 int count
           
protected  ServerScope glob
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
static java.lang.String[] PLUGIN_TYPES
           
private  I_Queue queue
           
 java.util.ArrayList queueList
           
 
Constructor Summary
QueueServerEntryTest(ServerScope glob, java.lang.String name, int currImpl)
          Constructor for junit public QueueServerEntryTest(String name) { this(new Global(), name); }
 
Method Summary
 void historyEntry()
           
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.queue.QueueServerEntryTest
protected  void setUp()
           
static junit.framework.Test suite()
          Method is used by TestRunner to load these tests
 void tearDown()
           
 void testHistoryEntry()
           
 void testUpdateEntry()
           
 void updateEntry()
           
 
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

queue

private I_Queue queue

queueList

public java.util.ArrayList queueList

PLUGIN_TYPES

public static java.lang.String[] PLUGIN_TYPES

count

public int count
Constructor Detail

QueueServerEntryTest

public QueueServerEntryTest(ServerScope glob,
                            java.lang.String name,
                            int currImpl)
Constructor for junit public QueueServerEntryTest(String name) { this(new Global(), name); }

Method Detail

setUp

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

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testUpdateEntry

public void testUpdateEntry()

updateEntry

public void updateEntry()
                 throws XmlBlasterException
Throws:
XmlBlasterException

testHistoryEntry

public void testHistoryEntry()

historyEntry

public void historyEntry()
                  throws XmlBlasterException
Throws:
XmlBlasterException

suite

public static junit.framework.Test suite()
Method is used by TestRunner to load these tests


main

public static void main(java.lang.String[] args)
  java org.xmlBlaster.test.classtest.queue.QueueServerEntryTest
 


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.