text: // ======================================================================
  // \title  KraitRouter/test/ut/Tester.hpp
  // \author mereweth
  // \brief  hpp file for KraitRouter test harness implementation class
  //
  // \copyright
  // Copyright 2009-2015, by the California Institute of Technology.
  // ALL RIGHTS RESERVED.  United States Government Sponsorship
  // acknowledged. Any commercial use must be negotiated with the Office
  // of Technology Transfer at the California Institute of Technology.
  //
  // This software may be subject to U.S. export control laws and
  // regulations.  By accepting this document, the user agrees to comply
  // with all U.S. export laws and regulations.  User has the
  // responsibility to obtain export licenses, or other export authority
  // as may be required before exporting such information to foreign
  // countries or providing access to foreign persons.
  // ======================================================================
  
  #ifndef TESTER_HPP
  #define TESTER_HPP
  
  #include "GTestBase.hpp"
  #include "SnapdragonFlight/KraitRouter/KraitRouterComponentImpl.hpp"
  
  namespace SnapdragonFlight {
  
    class Tester :
      public KraitRouterGTestBase
    {
  
        // ----------------------------------------------------------------------
        // Construction and destruction
        // ----------------------------------------------------------------------
  
      public:
  
        //! Construct object Tester
        //!
        Tester(void);
  
        //! Destroy object Tester
        //!
        ~Tester(void);
  
      public:
  
        // ----------------------------------------------------------------------
        // Tests
        // ----------------------------------------------------------------------
  
        //! To do
        //!
        void run_port_read_write_test(void);
  
      private:
  
        // ----------------------------------------------------------------------
        // Handlers for serial from ports
        // ----------------------------------------------------------------------
  
        //! Handler for from_KraitPortsOut
        //!
        void from_KraitPortsOut_handler(
          NATIVE_INT_TYPE portNum, /*!< The port number*/
          Fw::SerializeBufferBase &Buffer /*!< The serialization buffer*/
        );
  
      private:
  
        // ----------------------------------------------------------------------
        // Helper methods
        // ----------------------------------------------------------------------
  
        //! Connect ports
        //!
        void connectPorts(void);
  
        //! Initialize components
        //!
        void initComponents(void);
  
      private:
  
        // ----------------------------------------------------------------------
        // Variables
        // ----------------------------------------------------------------------
  
        //! The component under test
        //!
        KraitRouterComponentImpl component;
  
    };
  
  } // end namespace SnapdragonFlight
  
  #endif
  