neoneo-go/pkg
Vsevolod Brekelov 100fee164b unitTest: reworked RPC unit test
earlier we had an issue with failing test in #353 and other one #305.
Reworked these test to have in-memory database. This led to multiple
changes: made some functions like Hash and Persist public(otherwise
it's not possible to control state of the blockchain); removed
unit_tests storage package which was used mainly for leveldb in unit
tests.
I see these tests not really good since they look like e2e tests and
as for me should be run in separate step against dockerized env or
in case we want to check rpc handler we might want to rework it in order
to have interface for proper unit tests.
As for me this patchset at least makes as safe with not removing totally
previous tests and at the same time CircleCI will be happy now.
2019-09-18 18:21:16 +03:00
..
core unitTest: reworked RPC unit test 2019-09-18 18:21:16 +03:00
crypto crypto: change files mode to 644 (some *.go had exec flags set) 2019-09-17 15:34:00 +03:00
internal/keytestcases *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
interop *: fix some misspellings 2019-09-03 18:20:05 +03:00
io io: expand panic tests to reach 100% coverage 2019-09-17 13:23:24 +03:00
network network: implement EncodeBinary() for MerkleBlock 2019-09-17 13:21:52 +03:00
rpc unitTest: reworked RPC unit test 2019-09-18 18:21:16 +03:00
smartcontract io: move BinReader/BinWriter there, redo Serializable with it 2019-09-16 23:39:51 +03:00
util io: drop Size() method from Serializable and associated 2019-09-17 13:21:45 +03:00
vm vm: make REVERSE consume an item from stack 2019-09-16 15:50:51 +03:00
wallet *: gofmt -s 2019-09-09 12:02:24 +03:00