BOOST_AUTO_TEST_SUITE(stringfunc)
-BOOST_AUTO_TEST_CASE(smart_html_entites1)
+BOOST_AUTO_TEST_CASE(smart_html_entities1)
{
string output = smart_html_entities("Test");
BOOST_CHECK_EQUAL(string("Test"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites2)
+BOOST_AUTO_TEST_CASE(smart_html_entities2)
{
string output = smart_html_entities("Täst");
BOOST_CHECK_EQUAL(string("Täst"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites3)
+BOOST_AUTO_TEST_CASE(smart_html_entities3)
{
string output = smart_html_entities("<>");
BOOST_CHECK_EQUAL(string("<>"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites4)
+BOOST_AUTO_TEST_CASE(smart_html_entities4)
{
string output = smart_html_entities("<ümlaut>");
BOOST_CHECK_EQUAL(string("<ümlaut>"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites5)
+BOOST_AUTO_TEST_CASE(smart_html_entities5)
{
string output = smart_html_entities("Test<ümlaut>Blä");
BOOST_CHECK_EQUAL(string("Test<ümlaut>Blä"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites6)
+BOOST_AUTO_TEST_CASE(smart_html_entities6)
{
string output = smart_html_entities("System > Einstellungen");
BOOST_CHECK_EQUAL(string("System > Einstellungen"), output);
}
-BOOST_AUTO_TEST_CASE(smart_html_entites7)
+BOOST_AUTO_TEST_CASE(smart_html_entities7)
{
string output = smart_html_entities("Finden Sie <b>auf</b> der Seite <a href=\"fdslfsl\">\"System > Einstellungen\"</a>. Oder etwa nicht?");