diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-13 23:38:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:15 +0100 |
commit | 1b3e9bcdfa0376c29685be9ab8a838aa61af9814 (patch) | |
tree | 8c0142e859d96b611a1325e98b4a3919ac9a504f /basic | |
parent | f71f94acd8e33b4b4afa0787911ebe2a1d8c784e (diff) |
-Werror,-Wunused-member-function
Change-Id: I4e47b5194992d3847a689284d7600be92a4ead26
Diffstat (limited to 'basic')
-rw-r--r-- | basic/qa/cppunit/basic_coverage.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/basic/qa/cppunit/basic_coverage.cxx b/basic/qa/cppunit/basic_coverage.cxx index 8c16681c3d2e..f05771cc4de4 100644 --- a/basic/qa/cppunit/basic_coverage.cxx +++ b/basic/qa/cppunit/basic_coverage.cxx @@ -21,16 +21,13 @@ class Coverage : public test::BootstrapFixture { private: typedef std::vector< OUString > StringVec; - int m_nb_tests; int m_nb_tests_ok; int m_nb_tests_skipped; OUString m_sCurrentTest; void process_directory(OUString sDirName); void run_test(OUString sFileName); - void test_start(OUString /* sFileName */); void test_failed(void); void test_success(void); - void print_summary() {}; StringVec get_subdirnames( const OUString& sDirName ); public: @@ -51,7 +48,6 @@ public: Coverage::Coverage() : BootstrapFixture(true, false) - , m_nb_tests(0) , m_nb_tests_ok(0) , m_nb_tests_skipped(0) { @@ -62,12 +58,6 @@ Coverage::~Coverage() fprintf(stderr,"basic coverage Summary : skipped:%d pass:%d\n", m_nb_tests_skipped, m_nb_tests_ok ); } -void Coverage::test_start(OUString sFileName) -{ - m_nb_tests += 1; - m_sCurrentTest = sFileName; -} - void Coverage::test_failed() { CPPUNIT_FAIL( @@ -82,6 +72,7 @@ void Coverage::test_success() void Coverage::run_test(OUString sFileURL) { + m_sCurrentTest = sFileURL; bool result = false; MacroSnippet testMacro; testMacro.LoadSourceFromFile( sFileURL ); |