]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/tartest.cpp
wxRTC table layout now uses cell content to calculate column widths if no other width...
[wxWidgets.git] / tests / archive / tartest.cpp
index 2ff2006d8e3fbe7017f5f97c23962d9ab7d368f1..2580de4f57fc2f0b3cd96348ce516d02c9737027 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        tests/tartest.cpp
 // Purpose:     Test the tar classes
 // Author:      Mike Wetherell
-// RCS-ID:      $Id$
 // Copyright:   (c) 2004 Mike Wetherell
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -44,8 +43,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 +58,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);