Skip to content

File testing.hpp

FileList > include > libhal-mock > testing.hpp

Go to the source code of this file

  • #include <algorithm>
  • #include <array>
  • #include <chrono>
  • #include <ios>
  • #include <span>
  • #include <tuple>
  • #include <vector>
  • #include <libhal/error.hpp>

Namespaces

Type Name
namespace hal
The foundation of libhal containing, interfaces, utilities and soft drivers.

Classes

Type Name
class spy_handler <args_t>
Helper utility for making mocks for class functions that return status.

Public Functions

Type Name
std::ostream & operator<< (std::ostream & p_os, const std::chrono::duration< Rep, Period > & p_duration)
std::ostream & operator<< (std::ostream & p_os, const std::array< T, size > & p_array)
std::ostream & operator<< (std::ostream & p_os, const std::span< T > & p_array)

Public Functions Documentation

function operator<<

template<typename Rep typename Rep, typename Period typename Period>
inline std::ostream & operator<< (
    std::ostream & p_os,
    const std::chrono::duration< Rep, Period > & p_duration
) 

function operator<<

template<typename T typename T, size_t size>
inline std::ostream & operator<< (
    std::ostream & p_os,
    const std::array< T, size > & p_array
) 

function operator<<

template<typename T typename T>
inline std::ostream & operator<< (
    std::ostream & p_os,
    const std::span< T > & p_array
) 

The documentation for this class was generated from the following file libraries/include/libhal-mock/testing.hpp