utf8rewind  1.5.0
System library for processing UTF-8 encoded text
helpers-errors.hpp
Go to the documentation of this file.
1 #pragma once
2 
10 #include "helpers-base.hpp"
11 
12 #define EXPECT_ERROREQ(_expected, _actual) EXPECT_PRED_FORMAT2(::helpers::CompareErrors, _expected, _actual)
13 #define ASSERT_ERROREQ(_expected, _actual) ASSERT_PRED_FORMAT2(::helpers::CompareErrors, _expected, _actual)
14 
15 namespace helpers {
16 
17  std::string error(int32_t value);
18 
19  ::testing::AssertionResult CompareErrors(
20  const char* expressionExpected, const char* expressionActual,
21  int32_t errorExpected, int32_t errorActual);
22 
23 };
24 
Base includes for helper methods.