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

            Line data    Source code
       1              : #include "uhal/ConnectionManager.hpp"
       2              : 
       3              : #include "uhal/log/log.hpp"
       4              : 
       5              : #include <iostream>
       6              : 
       7              : int
       8            0 : main(int /* argc */, char const* /* argv[] */)
       9              : {
      10              : 
      11            0 :   uhal::setLogLevelTo(uhal::Debug());
      12              : 
      13            0 :   uhal::ConnectionManager cm("file://${UHALLIBS_SHARE}/config/c.xml", { "ipbusflx-2.0" });
      14              : 
      15            0 :   uhal::HwInterface flx = cm.getDevice("flx-0-ipb");
      16              : 
      17            0 :   flx.getNode("reg").write(0xbbbb);
      18            0 :   flx.dispatch();
      19            0 :   auto v = flx.getNode("reg").read();
      20            0 :   flx.dispatch();
      21              : 
      22            0 :   std::cout << "hex(v) " << std::hex << v << std::endl;
      23              : 
      24            0 :   std::cout << "Done " << std::endl;
      25              :   /* code */
      26            0 :   return 0;
      27            0 : }
        

Generated by: LCOV version 2.0-1