Class TestMoneroDaemonRpc
java.lang.Object
TestMoneroDaemonRpc
Tests a Monero daemon.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Provides context or configuration for test methods to test a type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
testStop()
void
void
void
void
-
Constructor Details
-
TestMoneroDaemonRpc
public TestMoneroDaemonRpc()
-
-
Method Details
-
beforeAll
- Throws:
Exception
-
beforeEach
@BeforeEach public void beforeEach() -
testStartDaemon
@Test public void testStartDaemon() -
testGetVersion
@Test public void testGetVersion() -
testIsTrusted
@Test public void testIsTrusted() -
testGetHeight
@Test public void testGetHeight() -
testGetBlockIdByHeight
@Test public void testGetBlockIdByHeight() -
testGetBlockTemplate
@Test public void testGetBlockTemplate() -
testGetLastBlockHeader
@Test public void testGetLastBlockHeader() -
testGetBlockHeaderByHash
@Test public void testGetBlockHeaderByHash() -
testGetBlockHeaderByHeight
@Test public void testGetBlockHeaderByHeight() -
testGetBlockHeadersByRange
@Test public void testGetBlockHeadersByRange() -
testGetBlockByHash
@Test public void testGetBlockByHash() -
testGetBlocksByHashBinary
@Test public void testGetBlocksByHashBinary() -
testGetBlockByHeight
@Test public void testGetBlockByHeight() -
testGetBlocksByHeightBinary
@Test public void testGetBlocksByHeightBinary() -
testGetBlocksByRange
@Test public void testGetBlocksByRange() -
testGetBlocksByRangeChunked
@Test public void testGetBlocksByRangeChunked() -
testGetBlockIdsBinary
@Test public void testGetBlockIdsBinary() -
testGetTxByHash
@Test public void testGetTxByHash() -
testGetTxsByHashes
@Test public void testGetTxsByHashes() -
testGetTxsByHashesInPool
@Test public void testGetTxsByHashesInPool() -
getTxHexByHash
@Test public void getTxHexByHash() -
testGetTxHexesByHashes
@Test public void testGetTxHexesByHashes() -
testGetMinerTxSum
@Test public void testGetMinerTxSum() -
testGetFeeEstimate
@Test public void testGetFeeEstimate() -
testGetTxsInPool
@Test public void testGetTxsInPool() -
testGetIdsOfTxsInPoolBin
@Test public void testGetIdsOfTxsInPoolBin() -
testGetTxPoolBacklogBin
@Test public void testGetTxPoolBacklogBin() -
testGetTxPoolStatistics
@Test public void testGetTxPoolStatistics() -
testFlushTxsFromPool
@Test public void testFlushTxsFromPool() -
testFlushTxFromPoolByHash
@Test public void testFlushTxFromPoolByHash() -
testFlushTxsFromPoolByHashes
@Test public void testFlushTxsFromPoolByHashes() -
testGetSpentStatusOfKeyImages
@Test public void testGetSpentStatusOfKeyImages() -
testGetOutputIndicesFromTxIdsBinary
@Test public void testGetOutputIndicesFromTxIdsBinary() -
testGetOutputsFromAmountsAndIndicesBinary
@Test public void testGetOutputsFromAmountsAndIndicesBinary() -
testGetOutputHistogramBinary
@Test public void testGetOutputHistogramBinary() -
testGetOutputDistributionBinary
@Test public void testGetOutputDistributionBinary() -
testGetGeneralInformation
@Test public void testGetGeneralInformation() -
testGetSyncInformation
@Test public void testGetSyncInformation() -
testGetHardForkInformation
@Test public void testGetHardForkInformation() -
testGetAlternativeChains
@Test public void testGetAlternativeChains() -
testGetAlternativeBlockIds
@Test public void testGetAlternativeBlockIds() -
testSetDownloadBandwidth
@Test public void testSetDownloadBandwidth() -
testSetUploadBandwidth
@Test public void testSetUploadBandwidth() -
testGetPeers
@Test public void testGetPeers() -
testGetKnownPeers
@Test public void testGetKnownPeers() -
testSetOutgoingPeerLimit
@Test public void testSetOutgoingPeerLimit() -
testSetIncomingPeerLimit
@Test public void testSetIncomingPeerLimit() -
testBanPeer
@Test public void testBanPeer() -
testBanPeers
@Test public void testBanPeers() -
testMining
@Test public void testMining() -
testGetMiningStatus
@Test public void testGetMiningStatus() -
testSubmitMinedBlock
@Test public void testSubmitMinedBlock() -
testPruneBlockchain
@Test public void testPruneBlockchain() -
testCheckForUpdate
@Test public void testCheckForUpdate() -
testDownloadUpdate
@Test @Disabled public void testDownloadUpdate() -
testStop
- Throws:
InterruptedException
-
testSubmitAndRelayTxHex
@Test public void testSubmitAndRelayTxHex() -
testSubmitThenRelayTxHex
@Test public void testSubmitThenRelayTxHex() -
testSubmitThenRelayTxHexes
@Test public void testSubmitThenRelayTxHexes() -
testBlockListener
@Test public void testBlockListener()
-