LCOV - code coverage report
Current view: top level - src/wallet/test - wallet_test_fixture.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 11 11 100.0 %
Date: 2020-09-26 01:30:44 Functions: 2 3 66.7 %

          Line data    Source code
       1             : // Copyright (c) 2016-2020 The Bitcoin Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include <wallet/test/wallet_test_fixture.h>
       6             : 
       7          18 : WalletTestingSetup::WalletTestingSetup(const std::string& chainName)
       8           9 :     : TestingSetup(chainName),
       9           9 :       m_wallet(m_chain.get(), "", CreateMockWalletDatabase())
      10           9 : {
      11           9 :     bool fFirstRun;
      12           9 :     m_wallet.LoadWallet(fFirstRun);
      13          18 :     m_chain_notifications_handler = m_chain->handleNotifications({ &m_wallet, [](CWallet*) {} });
      14           9 :     m_wallet_client->registerRpcs();
      15           9 : }

Generated by: LCOV version 1.15