From 5fcd14fbea7b77b9bd91b5324fd377478910f873 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Wed, 14 Aug 2019 02:20:02 +0200 Subject: TEST: Remove tests for ascii transliteration This can be handled differently by each conversion method. The "Šáleček" could be transliterated as "Salecek" or as "S'alecek" or maybe even differently. --- test/common/encoding.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test') diff --git a/test/common/encoding.h b/test/common/encoding.h index ff445a380a..9b848fa4bc 100644 --- a/test/common/encoding.h +++ b/test/common/encoding.h @@ -346,16 +346,6 @@ class EncodingTestSuite : public CxxTest::TestSuite { TS_ASSERT(result != NULL); TS_ASSERT_SAME_DATA(result, iso_8859_2, 8); free(result); - - result = Common::Encoding::convert("ASCII", "UTF-8", (char *)utf8_2, 11); - TS_ASSERT(result != NULL); - TS_ASSERT_SAME_DATA(result, "Salecek", 8); - free(result); - - result = Common::Encoding::convert("ASCII", "iso-8859-2", (char *)iso_8859_2, 7); - TS_ASSERT(result != NULL); - TS_ASSERT_SAME_DATA(result, "Salecek", 8); - free(result); } }; #endif -- cgit v1.2.3