| 
    KiCad PCB EDA Suite
    
   | 
 
#include <qa_utils/wx_utils/unit_test_utils.h>#include <core/utf8.h>#include <algorithm>#include <iostream>Go to the source code of this file.
Classes | |
| struct | Utf8Fixture | 
Macros | |
| #define | UTF8_INIT "This is a test of UTF-8: ü‱☺😕😱" | 
Functions | |
| BOOST_AUTO_TEST_CASE (Utf8AndStdString) | |
| Declares a struct as the Boost test fixture.   | |
| BOOST_AUTO_TEST_CASE (Utf8AndWx) | |
| Check direct and copy construction from wxString.   | |
| BOOST_AUTO_TEST_CASE (UniIterNull) | |
| UTF8::uni_iter null tests.   | |
| BOOST_AUTO_TEST_CASE (UniIterIncrement) | |
| UTF8::uni_iter increment tests.   | |
| #define UTF8_INIT "This is a test of UTF-8: ü‱☺😕😱" | 
Definition at line 31 of file test_utf8.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| BOOST_AUTO_TEST_CASE | ( | UniIterIncrement | ) | 
UTF8::uni_iter increment tests.
Definition at line 97 of file test_utf8.cpp.
References BOOST_CHECK_EQUAL(), and end.
| BOOST_AUTO_TEST_CASE | ( | UniIterNull | ) | 
UTF8::uni_iter null tests.
Definition at line 81 of file test_utf8.cpp.
| BOOST_AUTO_TEST_CASE | ( | Utf8AndStdString | ) | 
Declares a struct as the Boost test fixture.
Check direct and copy construction from std::string
Definition at line 46 of file test_utf8.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and UTF8_INIT.
| BOOST_AUTO_TEST_CASE | ( | Utf8AndWx | ) | 
Check direct and copy construction from wxString.
Definition at line 64 of file test_utf8.cpp.
References BOOST_CHECK_EQUAL(), and UTF8_INIT.