Celeritas  0.5.0-56+6b053cd
Classes | Public Types | Public Member Functions | List of all members
celeritas::testdetail::JsonComparer Class Reference

Perform an equality test (or soft equality) on two JSON objects. More...

#include <JsonComparer.hh>

Classes

struct  Impl
 Implementation class for comparison. More...
 

Public Types

using result_type = ::testing::AssertionResult
 

Public Member Functions

template<class... C>
 JsonComparer (C &&... args)
 Construct with optional tolerance.
 
result_type operator() (std::string_view expected, std::string_view actual)
 
result_type operator() (std::string_view expected)
 

Detailed Description

Perform an equality test (or soft equality) on two JSON objects.


The documentation for this class was generated from the following files: