Browse Source

Merge branch 'dev' into dpow

pull/132/head
Duke Leto 6 years ago
committed by GitHub
parent
commit
4e0e970c7e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      doc/unit-tests.md
  2. 1
      src/test/rpc_wallet_tests.cpp

4
doc/unit-tests.md

@ -6,12 +6,12 @@ and tests weren't explicitly disabled.
There are two scripts for running tests:
* ``qa/zcash/full-test-suite.sh``, to run the main test suite
* ``qa/hush/full-test-suite.sh``, to run the main test suite
* ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests.
The main test suite uses two different testing frameworks. Tests using the Boost
framework are under ``src/test/``; tests using the Google Test/Google Mock
framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framework
is preferred for new Zcash unit tests.
is preferred for new Hush unit tests.
RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory.

1
src/test/rpc_wallet_tests.cpp

@ -314,7 +314,6 @@ BOOST_AUTO_TEST_CASE(rpc_wallet_getbalance)
BOOST_CHECK_THROW(CallRPC("z_listreceivedbyaddress tnRZ8bPq2pff3xBWhTJhNkVUkm2uhzksDeW5PvEa7aFKGT9Qi3YgTALZfjaY4jU3HLVKBtHdSXxoPoLA3naMPcHBcY88FcF 1"), runtime_error);
}
/**
* This test covers RPC command z_validateaddress
*/

Loading…
Cancel
Save