nwaku/tests
Sanaz Taheri Boshrooyeh d6c48da071
Pagination: Pagination feature/compute index (#225)
* adds the index object

* adds the indexedWakuMessage

* adds the PagingInfo

* Adds PagingInfo to HistoryResponse and HistoryQuery

* adds the computeIndex procedure

* Update waku/node/v2/waku_types.nim

Fixes spacing issues

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>

* Changes timestamp to receivedTime and checks for the  empty contentTopic

* adds a test file for pagination with test scenarios for computeIndex

* changes receivedTimestamp to the unix timestamp

* updates a test case

* replaces std/sha1 with  nimcrypto/sha2

* changes the tests titles

* minor comments

* Some clean up

* fixes some formatting issue

* edits a test-case

* adds comments

* changes the digest type to MDigest[256] and modifies the computeIndex

* fixes formatting issue

* edits indentations and fixes a bug

* minor edits

* changes suite to procSuite and adds a new text case

* fixes all the indentations

* cleanup of the imports

Co-authored-by: Oskar Thorén <ot@oskarthoren.com>
2020-10-20 10:20:44 +08:00
..
v1 Cleanup warnings in v1 and split test target in Makefile (#211) 2020-10-08 11:10:45 +02:00
v2 Pagination: Pagination feature/compute index (#225) 2020-10-20 10:20:44 +08:00
all_tests_v1.nim Cleanup warnings in v1 and split test target in Makefile (#211) 2020-10-08 11:10:45 +02:00
all_tests_v2.nim Begin of waku v2 rpc tests (#210) 2020-10-06 20:36:44 +02:00
test_helpers.nim feature/store-protocol (#102) 2020-08-27 10:44:09 +08:00