KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_io_error.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <vector>
#include <ki_exception.h>

Go to the source code of this file.

Macros

#define BOOST_TEST_NO_MAIN
 

Functions

 BOOST_AUTO_TEST_CASE (WhatRetainsUtf8Message)
 
 BOOST_AUTO_TEST_CASE (DerivedErrorsUpdateWhatMessage)
 

Macro Definition Documentation

◆ BOOST_TEST_NO_MAIN

#define BOOST_TEST_NO_MAIN

Definition at line 18 of file test_io_error.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/2]

BOOST_AUTO_TEST_CASE ( DerivedErrorsUpdateWhatMessage )

Definition at line 45 of file test_io_error.cpp.

References BOOST_CHECK_EQUAL(), IO_ERROR::Problem(), and IO_ERROR::what().

◆ BOOST_AUTO_TEST_CASE() [2/2]

BOOST_AUTO_TEST_CASE ( WhatRetainsUtf8Message )