OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UnicodeTestSuite.cpp File Reference
#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <boost/test/unit_test.hpp>
#include <opentrep/basic/OTransliterator.hpp>

Go to the source code of this file.

Classes

struct  UnitTestConfig
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_MODULE   UnicodeTestSuite
 

Functions

std::ofstream utfReportStream ("UnicodeTestSuite_utfresults.xml")
 
 BOOST_GLOBAL_FIXTURE (UnitTestConfig)
 
 BOOST_AUTO_TEST_CASE (unicode_strings)
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 15 of file UnicodeTestSuite.cpp.

#define BOOST_TEST_MAIN

Definition at line 16 of file UnicodeTestSuite.cpp.

#define BOOST_TEST_MODULE   UnicodeTestSuite

Definition at line 17 of file UnicodeTestSuite.cpp.

Function Documentation

std::ofstream utfReportStream ( "UnicodeTestSuite_utfresults.xml"  )
BOOST_GLOBAL_FIXTURE ( UnitTestConfig  )
BOOST_AUTO_TEST_CASE ( unicode_strings  )

Test the Unicode transformation algorithm

Definition at line 56 of file UnicodeTestSuite.cpp.

References OPENTREP::OTransliterator::normalise().