#include <string>#include <fstream>#include <terralib_buildconfig.h>#include <terralib/core/encoding/CharEncoding.h>#include <terralib/core/Exception.h>#include <terralib/Defines.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| struct | F |
Functions | |
| BOOST_AUTO_TEST_CASE (encoding_test_utf8_latin1) | |
| BOOST_AUTO_TEST_CASE (encoding_test_utf8_cp1252) | |
| BOOST_AUTO_TEST_CASE (encoding_test_latin_cp1252) | |
| BOOST_AUTO_TEST_CASE (encoding_test_utf8_ascii) | |
| BOOST_AUTO_TEST_CASE (encoding_test_locale_utf8) | |
| BOOST_AUTO_TEST_CASE (enconding_test_wrong_type) | |
| BOOST_FIXTURE_TEST_SUITE (encoding, F) BOOST_AUTO_TEST_CASE(encoding_test_utils) | |
| BOOST_AUTO_TEST_CASE | ( | encoding_test_utf8_latin1 | ) |
Definition at line 106 of file TsCharEncoding.cpp.
References te::core::CharEncoding::fromUTF8(), te::core::LATIN1, F::text_in_latin1, F::text_in_utf8, and te::core::CharEncoding::toUTF8().
| BOOST_AUTO_TEST_CASE | ( | encoding_test_utf8_cp1252 | ) |
Definition at line 118 of file TsCharEncoding.cpp.
References te::core::CP1252, te::core::CharEncoding::fromUTF8(), F::text_in_cp1252, F::text_in_utf8, and te::core::CharEncoding::toUTF8().
| BOOST_AUTO_TEST_CASE | ( | encoding_test_latin_cp1252 | ) |
Definition at line 131 of file TsCharEncoding.cpp.
References te::core::CharEncoding::convert(), te::core::CP1252, te::core::LATIN1, F::text_in_cp1252, and F::text_in_latin1.
| BOOST_AUTO_TEST_CASE | ( | encoding_test_utf8_ascii | ) |
Definition at line 146 of file TsCharEncoding.cpp.
References F::text_in_ascii, F::text_in_utf8, and te::core::CharEncoding::toASCII().
| BOOST_AUTO_TEST_CASE | ( | encoding_test_locale_utf8 | ) |
Definition at line 153 of file TsCharEncoding.cpp.
References te::core::CharEncoding::fromUTF8(), F::text_in_cp1252, F::text_in_latin1, and F::text_in_utf8.
| BOOST_AUTO_TEST_CASE | ( | enconding_test_wrong_type | ) |
Definition at line 164 of file TsCharEncoding.cpp.
References te::core::CharEncoding::fromUTF8(), te::core::LATIN1, F::text_in_latin1, F::text_in_utf8, and te::core::CharEncoding::toUTF8().
| BOOST_FIXTURE_TEST_SUITE | ( | encoding | , |
| F | |||
| ) |
Definition at line 72 of file TsCharEncoding.cpp.
References te::core::CP1250, te::core::CP1251, te::core::CP1252, te::core::CP1253, te::core::CP1254, te::core::CP1257, te::core::CharEncoding::getEncodingList(), te::core::CharEncoding::getEncodingType(), te::core::LATIN1, and te::core::UTF8.