org.xmlBlaster.test.cluster
Class SubscribeXPathTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.xmlBlaster.test.cluster.SubscribeXPathTest
- All Implemented Interfaces:
- junit.framework.Test
public class SubscribeXPathTest
- extends junit.framework.TestCase
Test publishing a message from bilbo to heron.
java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.cluster.SubscribeXPathTest
NOTE: asserts() in update() methods are routed back to server and are not handled
by the junit testsuite, so we check double (see code).
- See Also:
- Cluster requirement
Method Summary |
protected void |
setUp()
Initialize the test ... |
protected void |
tearDown()
cleaning up ... |
void |
testSubscribeXpath()
We start all nodes as described in requirement
cluster
- Subscribe to RUGBY messages from client at bilbo with XPath
- publish RUGBY messages to avalon (heron is the master)
- Does the client at bilbo receive them? |
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 |
ME
private java.lang.String ME
glob
private Global glob
log
private static java.util.logging.Logger log
serverHelper
private ServerHelper serverHelper
heronCon
private I_XmlBlasterAccess heronCon
avalonCon
private I_XmlBlasterAccess avalonCon
golanCon
private I_XmlBlasterAccess golanCon
frodoCon
private I_XmlBlasterAccess frodoCon
bilboCon
private I_XmlBlasterAccess bilboCon
updateCounterHeron
private int updateCounterHeron
updateCounterFrodo
private int updateCounterFrodo
updateCounterBilbo
private int updateCounterBilbo
oid
private java.lang.String oid
domain
private java.lang.String domain
contentStr
private java.lang.String contentStr
assertInUpdate
private java.lang.String assertInUpdate
SubscribeXPathTest
public SubscribeXPathTest(java.lang.String name)
setUp
protected void setUp()
- Initialize the test ...
- Overrides:
setUp
in class junit.framework.TestCase
tearDown
protected void tearDown()
- cleaning up ...
- Overrides:
tearDown
in class junit.framework.TestCase
testSubscribeXpath
public void testSubscribeXpath()
- We start all nodes as described in requirement
cluster
- Subscribe to RUGBY messages from client at bilbo with XPath
- publish RUGBY messages to avalon (heron is the master)
- Does the client at bilbo receive them?
avalonClient -> avalon(slave) -> heron(master) -> bilbo(slave) -> bilboClient
Copyright © 1999-2014 The xmlBlaster.org contributers.