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: 2025-12-21 13:07:08 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            0 : int main(int /* argc */, char const * /* argv[] */)
       8              : {
       9              : 
      10            0 :     uhal::setLogLevelTo(uhal::Debug());
      11              : 
      12            0 :     uhal::ConnectionManager cm("file://${UHALLIBS_SHARE}/config/c.xml", {"ipbusflx-2.0"});
      13              : 
      14            0 :     uhal::HwInterface flx = cm.getDevice("flx-0-ipb");
      15              : 
      16            0 :     flx.getNode("reg").write(0xbbbb);
      17            0 :     flx.dispatch();
      18            0 :     auto v = flx.getNode("reg").read();
      19            0 :     flx.dispatch();
      20              : 
      21            0 :     std::cout << "hex(v) " << std::hex << v << std::endl;
      22              : 
      23              : 
      24              : 
      25            0 :     std::cout << "Done " << std::endl;
      26              :     /* code */
      27            0 :     return 0;
      28            0 : }
        

Generated by: LCOV version 2.0-1