LCOV - code coverage report
Current view: top level - test/TransferPlugins - broken_transfer_driver.cc (source / functions) Coverage Total Hit
Test: artdaq.info.cleaned Lines: 0.0 % 18 0
Test Date: 2025-09-04 00:45:34 Functions: 0.0 % 3 0

            Line data    Source code
       1              : #include "BrokenTransferTest.hh"
       2              : 
       3              : #define TRACE_NAME "broken_transfer_driver"
       4              : 
       5              : #include "artdaq-core/Utilities/configureMessageFacility.hh"
       6              : #include "artdaq/Application/LoadParameterSet.hh"
       7              : #include "artdaq/DAQdata/Globals.hh"
       8              : 
       9            0 : int main(int argc, char* argv[])
      10              : try
      11              : {
      12            0 :         artdaq::configureMessageFacility("broken_transfer_driver", true, true);
      13            0 :         TLOG(TLVL_INFO) << "BEGIN";
      14              : 
      15            0 :         auto ps = LoadParameterSet<artdaqtest::BrokenTransferTest::Config>(argc, argv, "broken_transfer_test", "Test for misbehaving transfer plugins");
      16              : 
      17            0 :         if (ps.has_key("partition_number"))
      18              :         {
      19            0 :                 artdaq::Globals::partition_number_ = ps.get<int>("partition_number");
      20              :         }
      21              : 
      22            0 :         artdaqtest::BrokenTransferTest theTest(ps);
      23              : 
      24            0 :         theTest.TestSenderPause();
      25            0 :         theTest.TestReceiverPause();
      26            0 :         theTest.TestSenderReconnect();
      27            0 :         theTest.TestReceiverReconnect();
      28            0 :         theTest.TestReceiverReconnect(5);
      29              : 
      30            0 :         TLOG(TLVL_INFO) << "END";
      31            0 :         return 0;
      32            0 : }
      33            0 : catch (...)
      34              : {
      35            0 :         return -1;
      36            0 : }
        

Generated by: LCOV version 2.0-1