mirror of https://github.com/status-im/nim-eth.git
clean up the test suite
by removing test wrappers that are no longer used and renaming a helper file that had a name starting with the "test_" prefix
This commit is contained in:
parent
95b93eb5aa
commit
2864d8ce21
|
@ -1,4 +0,0 @@
|
|||
import
|
||||
testecies, testauth, testcrypt, tshh,
|
||||
les/test_flow_control
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
import
|
||||
test_api_usage, test_object_serialization, test_json_suite
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
import
|
||||
test_binaries_utils, test_bin_trie,
|
||||
test_branches_utils, examples,
|
||||
test_hexary_trie, test_json_suite,
|
||||
test_sparse_binary_trie,
|
||||
test_storage_backends,
|
||||
test_caching_db_backend
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import
|
||||
unittest, random,
|
||||
eth/trie/[trie_defs, db, binary],
|
||||
test_utils
|
||||
./testutils
|
||||
|
||||
suite "binary trie":
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import
|
|||
unittest, strutils,
|
||||
ranges/bitranges, eth/rlp/types, nimcrypto/[keccak, hash],
|
||||
eth/trie/[binaries, trie_utils],
|
||||
test_utils
|
||||
./testutils
|
||||
|
||||
proc parseBitVector(x: string): BitRange =
|
||||
result = genBitVec(x.len)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import
|
||||
unittest, strutils, sequtils, os,
|
||||
ranges/typedranges, eth/trie/[hexary, db, trie_defs], nimcrypto/utils,
|
||||
test_utils, algorithm, eth/rlp/types as rlpTypes, random
|
||||
./testutils, algorithm, eth/rlp/types as rlpTypes, random
|
||||
|
||||
template put(t: HexaryTrie|SecureHexaryTrie, key, val: string) =
|
||||
t.put(key.toBytesRange, val.toBytesRange)
|
||||
|
|
|
@ -2,7 +2,7 @@ import
|
|||
os, json, tables, sequtils, strutils, algorithm,
|
||||
eth/rlp/types, nimcrypto/utils,
|
||||
eth/trie/[trie_defs, db, hexary],
|
||||
test_utils
|
||||
./testutils
|
||||
|
||||
proc `==`(lhs: JsonNode, rhs: string): bool =
|
||||
lhs.kind == JString and lhs.str == rhs
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import
|
||||
unittest, random,
|
||||
eth/trie/[trie_defs, db, sparse_binary, sparse_proofs],
|
||||
test_utils
|
||||
./testutils
|
||||
|
||||
suite "sparse binary trie":
|
||||
randomize()
|
||||
|
|
Loading…
Reference in New Issue