]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/tartest.cpp
Test using wxString::ToCDouble() in wxAny.
[wxWidgets.git] / tests / archive / tartest.cpp
index 2ff2006d8e3fbe7017f5f97c23962d9ab7d368f1..d1d06fe8a565efb2b05d39c30de5c42c9d5f876e 100644 (file)
@@ -44,8 +44,8 @@ protected:
 tartest::tartest()
   : ArchiveTestSuite("tar")
 {
-    AddArchiver(_T("tar cf %s *"));
-    AddUnArchiver(_T("tar xf %s"));
+    AddArchiver(wxT("tar cf %s *"));
+    AddUnArchiver(wxT("tar xf %s"));
 }
 
 CppUnit::Test *tartest::makeTest(
@@ -59,13 +59,15 @@ CppUnit::Test *tartest::makeTest(
         return NULL;
 
     if (genericInterface)
+    {
         return new ArchiveTestCase<wxArchiveClassFactory>(
                             descr, new wxTarClassFactory,
                             options, archiver, unarchiver);
-    else
-        return new ArchiveTestCase<wxTarClassFactory>(
-                            descr, new wxTarClassFactory,
-                            options, archiver, unarchiver);
+    }
+
+    return new ArchiveTestCase<wxTarClassFactory>(
+                        descr, new wxTarClassFactory,
+                        options, archiver, unarchiver);
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(tartest);