summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-24 12:08:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:17:31 +0000
commitcea4c1afdf4ae0cbda8ae531f2e26d911d0fd6e1 (patch)
tree5ad5d293e20d8da27a2918a6877c5377b10278ba /basic/qa
parent1ac18c60bb280855cfcc8d92886709cd6db35118 (diff)
loplugin:singlevalfields in basic and fix leak
And fix leak in BasicManagerImpl where it would never have freed the streams. Change-Id: I1e99c2c6a70a8cac27dd5c86a7042efc3de7a578 Reviewed-on: https://gerrit.libreoffice.org/26632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/basic_coverage.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/qa/cppunit/basic_coverage.cxx b/basic/qa/cppunit/basic_coverage.cxx
index 275fdb928e1d..39a8ebc5ba2b 100644
--- a/basic/qa/cppunit/basic_coverage.cxx
+++ b/basic/qa/cppunit/basic_coverage.cxx
@@ -21,7 +21,6 @@ class Coverage : public test::BootstrapFixture
{
private:
int m_nb_tests_ok;
- int m_nb_tests_skipped;
OUString m_sCurrentTest;
void process_directory(const OUString& sDirName);
void run_test(const OUString& sFileName);
@@ -48,13 +47,12 @@ public:
Coverage::Coverage()
: BootstrapFixture(true, false)
, m_nb_tests_ok(0)
- , m_nb_tests_skipped(0)
{
}
Coverage::~Coverage()
{
- fprintf(stderr,"basic coverage Summary : skipped:%d pass:%d\n", m_nb_tests_skipped, m_nb_tests_ok );
+ fprintf(stderr,"basic coverage Summary : pass:%d\n", m_nb_tests_ok );
}
void Coverage::test_failed()