MCPcopy Create free account
hub / github.com/33cn/chain33 / TestQueueProtocol

Function TestQueueProtocol

client/queueprotocol_test.go:65–106  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

63}
64
65func 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
108func testGetSequenceByHash(t *testing.T, api client.QueueProtocolAPI) {
109 _, err := api.GetSequenceByHash(nil)

Callers

nothing calls this directly

Calls 15

testGetTxListFunction · 0.85
testGetBlocksFunction · 0.85
testGetTransactionByAddrFunction · 0.85
testQueryTxFunction · 0.85
testGetTransactionByHashFunction · 0.85
testGetMempoolFunction · 0.85
testPeerInfoFunction · 0.85
testGetLastMempoolFunction · 0.85
testGetProperFeeFunction · 0.85
testGetBlockOverviewFunction · 0.85
testGetAddrOverviewFunction · 0.85
testGetBlockHashFunction · 0.85

Tested by

no test coverage detected