Date: Tuesday, January 23, 2007 @ 14:38:37
  Author: marc
    Path: /cvsroot/carob/carob/test/01-Unit

Modified: TestStringCodecs.cpp (1.10 -> 1.11) TestStringCodecs.hpp (1.5 ->
          1.6)

Renamed encode_decode() method to eulocalesMBScodecs() and put it at
end of class since it is more likely to fail.


----------------------+
 TestStringCodecs.cpp |    8 ++++----
 TestStringCodecs.hpp |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)


Index: carob/test/01-Unit/TestStringCodecs.cpp
diff -u carob/test/01-Unit/TestStringCodecs.cpp:1.10 
carob/test/01-Unit/TestStringCodecs.cpp:1.11
--- carob/test/01-Unit/TestStringCodecs.cpp:1.10        Fri Jan 19 13:32:08 2007
+++ carob/test/01-Unit/TestStringCodecs.cpp     Tue Jan 23 14:38:37 2007
@@ -104,7 +104,7 @@
 }
 #endif
 
-void TestStringCodecs::encode_decode()
+void TestStringCodecs::eulocalesMBScodecs()
 {
 
     const MBSCodec latin9_codec("[EMAIL PROTECTED]");
@@ -184,9 +184,6 @@
     CppUnit::TestSuite *suiteOfTests = new CppUnit::TestSuite( 
"TestStringCodecs" );
     
     suiteOfTests->addTest(new CppUnit::TestCaller<TestStringCodecs>(
-                              "TestStringCodecs::encode_decode", 
-                              &TestStringCodecs::encode_decode));
-    suiteOfTests->addTest(new CppUnit::TestCaller<TestStringCodecs>(
                               "TestStringCodecs::localeUTF8codec", 
                               &TestStringCodecs::localeUTF8codec));
 #ifdef CAROB_USE_ICONV
@@ -194,6 +191,9 @@
                               "TestStringCodecs::iconvUTF8codec", 
                               &TestStringCodecs::iconvUTF8codec));
 #endif
+    suiteOfTests->addTest(new CppUnit::TestCaller<TestStringCodecs>(
+                              "TestStringCodecs::eulocalesMBScodecs",
+                              &TestStringCodecs::eulocalesMBScodecs));
 
     return suiteOfTests;
 }
Index: carob/test/01-Unit/TestStringCodecs.hpp
diff -u carob/test/01-Unit/TestStringCodecs.hpp:1.5 
carob/test/01-Unit/TestStringCodecs.hpp:1.6
--- carob/test/01-Unit/TestStringCodecs.hpp:1.5 Fri Jan 19 13:32:08 2007
+++ carob/test/01-Unit/TestStringCodecs.hpp     Tue Jan 23 14:38:37 2007
@@ -42,7 +42,7 @@
    * Encode various strings in different locales and checks that decoding
    * returns the same string
    */
-  void encode_decode();
+  void eulocalesMBScodecs();
 };
 
 #endif // include only once

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to