fix broken unit tests #112

Merged
merged 1 commit into from Aug 6, 2012

3 participants

@justinharding

this change just fixes a couple of unit tests that got broken in the refactoring of the Config class

@nestal nestal merged commit 113b110 into Grive:master Aug 6, 2012
@markk

The function names have been changed in ConfigTest.cc but not in ConfigTest.hh. This currently won't compile for me. It works with this patch:

diff --git a/libgrive/test/util/ConfigTest.hh b/libgrive/test/util/ConfigTest.hh
index f7e100d..451e535 100644
--- a/libgrive/test/util/ConfigTest.hh
+++ b/libgrive/test/util/ConfigTest.hh
@@ -31,15 +31,13 @@ public :
        ConfigTest( ) ;

        CPPUNIT_TEST_SUITE( ConfigTest ) ;
-         CPPUNIT_TEST( TestInitialiseWithEmptyString ) ;
-         CPPUNIT_TEST( TestInitialiseWithString ) ;
-         CPPUNIT_TEST( TestInitialiseWithFileSystemPath ) ;
+         CPPUNIT_TEST( TestInitialiseWithPath ) ;
+         CPPUNIT_TEST( TestInitialiseWithNoPath ) ;
        CPPUNIT_TEST_SUITE_END();

 private :
-  void TestInitialiseWithEmptyString( );
-  void TestInitialiseWithString( );
-  void TestInitialiseWithFileSystemPath( );
+  void TestInitialiseWithPath( );
+  void TestInitialiseWithNoPath( );
 } ;

 } // end of namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment