Package | Description |
---|---|
org.bitcoinj.testing |
Various utilities for writing unit tests: also useful for testing your own code and apps that build on top of
bitcoinj.
|
Modifier and Type | Field and Description |
---|---|
protected BlockingQueue<InboundMessageQueuer> |
TestWithNetworkConnections.newPeerWriteTargetQueue |
Modifier and Type | Method and Description |
---|---|
protected InboundMessageQueuer |
TestWithNetworkConnections.connect(Peer peer,
VersionMessage versionMessage) |
protected InboundMessageQueuer |
TestWithPeerGroup.connectPeer(int id) |
protected InboundMessageQueuer |
TestWithPeerGroup.connectPeer(int id,
VersionMessage versionMessage) |
protected InboundMessageQueuer |
TestWithPeerGroup.connectPeerWithoutVersionExchange(int id) |
protected InboundMessageQueuer |
TestWithPeerGroup.handleConnectToPeer(int id) |
protected InboundMessageQueuer |
TestWithPeerGroup.handleConnectToPeer(int id,
VersionMessage versionMessage) |
Modifier and Type | Method and Description |
---|---|
protected void |
TestWithNetworkConnections.inbound(InboundMessageQueuer peerChannel,
Message message) |
protected Message |
TestWithNetworkConnections.outbound(InboundMessageQueuer p1) |
protected Peer |
TestWithNetworkConnections.peerOf(InboundMessageQueuer ch) |
protected void |
TestWithNetworkConnections.pingAndWait(InboundMessageQueuer p) |
protected Message |
TestWithNetworkConnections.waitForOutbound(InboundMessageQueuer ch) |
Copyright © 2014. All rights reserved.