LCOV - code coverage report
Current view: top level - src/test/util - validation.cpp (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 12 12 100.0 %
Date: 2022-04-21 14:51:19 Functions: 3 3 100.0 %
Legend: Modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed

Not modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed
Branches: 0 0 -

           Branch data     Line data    Source code
#       1                 :            : // Copyright (c) 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 <test/util/validation.h>
#       6                 :            : 
#       7                 :            : #include <util/check.h>
#       8                 :            : #include <util/time.h>
#       9                 :            : #include <validation.h>
#      10                 :            : #include <validationinterface.h>
#      11                 :            : 
#      12                 :            : void TestChainState::ResetIbd()
#      13                 :          2 : {
#      14                 :          2 :     m_cached_finished_ibd = false;
#      15                 :          2 :     assert(IsInitialBlockDownload());
#      16                 :          2 : }
#      17                 :            : 
#      18                 :            : void TestChainState::JumpOutOfIbd()
#      19                 :          2 : {
#      20                 :          2 :     Assert(IsInitialBlockDownload());
#      21                 :          2 :     m_cached_finished_ibd = true;
#      22                 :          2 :     Assert(!IsInitialBlockDownload());
#      23                 :          2 : }
#      24                 :            : 
#      25                 :            : void ValidationInterfaceTest::BlockConnected(CValidationInterface& obj, const std::shared_ptr<const CBlock>& block, const CBlockIndex* pindex)
#      26                 :          2 : {
#      27                 :          2 :     obj.BlockConnected(block, pindex);
#      28                 :          2 : }

Generated by: LCOV version 0-eol-96201-ge66f56f4af6a