(t *testing.T)
| 63 | } |
| 64 | |
| 65 | func TestQueueProtocol(t *testing.T) { |
| 66 | testSendTx(t, api) |
| 67 | testGetTxList(t, api) |
| 68 | testGetBlocks(t, api) |
| 69 | testGetTransactionByAddr(t, api) |
| 70 | testQueryTx(t, api) |
| 71 | testGetTransactionByHash(t, api) |
| 72 | testGetMempool(t, api) |
| 73 | testPeerInfo(t, api) |
| 74 | testGetHeaders(t, api) |
| 75 | testGetLastMempool(t, api) |
| 76 | testGetProperFee(t, api) |
| 77 | testGetBlockOverview(t, api) |
| 78 | testGetAddrOverview(t, api) |
| 79 | testGetBlockHash(t, api) |
| 80 | testGetBlockByHashes(t, api) |
| 81 | testGetBlockSequences(t, api) |
| 82 | testAddSeqCallBack(t, api) |
| 83 | testListSeqCallBack(t, api) |
| 84 | testGetSeqCallBackLastNum(t, api) |
| 85 | testGetLastBlockSequence(t, api) |
| 86 | testIsSync(t, api) |
| 87 | testIsNtpClockSync(t, api) |
| 88 | testLocalGet(t, api) |
| 89 | testLocalTransaction(t, api) |
| 90 | testLocalList(t, api) |
| 91 | testGetLastHeader(t, api) |
| 92 | testStoreSet(t, api) |
| 93 | testStoreGet(t, api) |
| 94 | testStoreMemSet(t, api) |
| 95 | testStoreCommit(t, api) |
| 96 | testStoreRollback(t, api) |
| 97 | testStoreDel(t, api) |
| 98 | testStoreGetTotalCoins(t, api) |
| 99 | testStoreList(t, api) |
| 100 | testBlockChainQuery(t, api) |
| 101 | testQueryConsensus(t, api) |
| 102 | testExecWalletFunc(t, api) |
| 103 | testGetSequenceByHash(t, api) |
| 104 | testDialPeer(t, api) |
| 105 | testClosePeer(t, api) |
| 106 | } |
| 107 | |
| 108 | func testGetSequenceByHash(t *testing.T, api client.QueueProtocolAPI) { |
| 109 | _, err := api.GetSequenceByHash(nil) |
nothing calls this directly
no test coverage detected