LCOV - code coverage report
Current view: top level - src/test/librust - sapling_test_fixture.h (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 1 1 100.0 %
Date: 2025-04-02 01:23:23 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright (c) 2020-2021 The PIVX Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or https://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #ifndef PIVX_TEST_LIBRUST_SAPLING_TEST_FIXTURE_H
       6             : #define PIVX_TEST_LIBRUST_SAPLING_TEST_FIXTURE_H
       7             : 
       8             : #include "test/test_pivx.h"
       9             : 
      10             : /**
      11             :  * Testing setup that configures a complete environment for Sapling testing.
      12             :  */
      13             : struct SaplingTestingSetup : public TestingSetup
      14             : {
      15             :     explicit SaplingTestingSetup(const std::string& chainName = CBaseChainParams::MAIN);
      16             :     ~SaplingTestingSetup();
      17             : };
      18             : 
      19             : /**
      20             :  * Regtest setup with sapling always active
      21             :  */
      22           9 : struct SaplingRegTestingSetup : public SaplingTestingSetup
      23             : {
      24             :     SaplingRegTestingSetup();
      25             : };
      26             : 
      27             : 
      28             : #endif // PIVX_TEST_LIBRUST_SAPLING_TEST_FIXTURE_H

Generated by: LCOV version 1.14