LCOV - code coverage report
Current view: top level - oks/test/apps - oks_save_all.cxx (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 13 0
Test Date: 2026-10-11 15:05:20 Functions: 0.0 % 1 0

            Line data    Source code
       1              : #include "CLI/CLI.hpp"
       2              : #include "oks/kernel.hpp"
       3              : #include <deque>
       4              : #include <fmt/core.h>
       5              : #include <iostream>
       6              : 
       7              : namespace dunedaq {
       8              : namespace oks {
       9              : 
      10              : } // namespace oks
      11              : } // namespace dunedaq
      12              : 
      13              : int
      14            0 : main(int argc, char const* argv[])
      15              : {
      16            0 :   using namespace dunedaq::oks;
      17              : 
      18            0 :   CLI::App app{ "App description" };
      19              : 
      20            0 :   std::string file;
      21            0 :   app.add_option("-f,--file", file, "Data file")->required()->check(CLI::ExistingFile);
      22              : 
      23            0 :   CLI11_PARSE(app, argc, argv);
      24              : 
      25            0 :   fmt::print("Data file: {}\n", file);
      26              : 
      27            0 :   OksKernel k;
      28            0 :   k.load_data(file);
      29            0 :   k.save_all_data();
      30            0 :   k.close_all_data();
      31              : 
      32              :   /* code */
      33            0 :   return 0;
      34            0 : }
        

Generated by: LCOV version 2.0-1