summaryrefslogtreecommitdiff
path: root/sal/cppunittester/cppunittester.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-27 10:50:38 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 10:51:08 +0200
commit1a08ce70788fe3d8938627aa21bde1861cd94181 (patch)
tree0854d10f83309b02d9a1661131f067c183cf1fd8 /sal/cppunittester/cppunittester.cxx
parentaa7a829e7df30a5356fca2bae0bb7eb51367f08d (diff)
loplugin:staticfunction
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
Diffstat (limited to 'sal/cppunittester/cppunittester.cxx')
-rw-r--r--sal/cppunittester/cppunittester.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 2e791f240d7a..ffad4d402b70 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -141,7 +141,7 @@ public:
}
private:
- void printFailureLocation( const CppUnit::SourceLine &sourceLine )
+ static void printFailureLocation( const CppUnit::SourceLine &sourceLine )
{
if ( !sourceLine.isValid() )
std::cerr << "unknown:0:";
@@ -149,12 +149,12 @@ private:
std::cerr << sourceLine.fileName() << ":" << sourceLine.lineNumber() << ":";
}
- void printFailedTestName( const CppUnit::TestFailure &failure )
+ static void printFailedTestName( const CppUnit::TestFailure &failure )
{
std::cerr << failure.failedTestName() << std::endl;
}
- void printFailureMessage( const CppUnit::TestFailure &failure )
+ static void printFailureMessage( const CppUnit::TestFailure &failure )
{
std::cerr << failure.thrownException()->message().shortDescription() << std::endl;
std::cerr << failure.thrownException()->message().details() << std::endl;