18#define BOOST_TEST_NO_MAIN
19#include <boost/test/unit_test.hpp>
31 const wxString
message = wxString::FromUTF8(
"Could not read \xe2\x80\x9c"
35 const char* what = error.
what();
38 std::vector<std::string> allocations( 1000,
expected );
47 PARSE_ERROR parseError( wxS(
"Invalid token" ), __FILE__, __FUNCTION__, __LINE__, wxS(
"example.kicad_pcb" ),
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
virtual const wxString Problem() const
what was the problem?
virtual const char * what() const override
std::exception interface, returned as UTF-8
A filename or source description, a problem input line, a line number, a byte offset,...
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_CHECK_EQUAL(std::any_cast< std::string >(rows[0].at("val")), "12345678901234567.89")
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(WhatRetainsUtf8Message)
VECTOR3I expected(15, 30, 45)