summaryrefslogtreecommitdiff
path: root/xmlsecurity/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-31 13:20:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-01 09:14:25 +0200
commit23b08449736ba825a9c582ba18b7a5fdba178e47 (patch)
tree8513c824f1964f84f957a41658f6d173a008c469 /xmlsecurity/qa
parent8e63d451b2aeb646ece98c4e219f92957f4482bd (diff)
loplugin: look for CPPUNIT_ASSERT_EQUALS with params swapped
idea originally from either tml or moggi, can't remember which Change-Id: Id78d75035036d3aa1666e33469c6eeb38f9e624d Reviewed-on: https://gerrit.libreoffice.org/55126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/qa')
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index ece73c8dcdb2..99f70172c27a 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -833,7 +833,7 @@ void SigningTest::testODFGoodGPG()
(OString::number(
static_cast<std::underlying_type<SignatureState>::type>(nActual))
.getStr()),
- nActual, SignatureState::OK);
+ SignatureState::OK, nActual);
}
void SigningTest::testODFUntrustedGoodGPG()
@@ -851,7 +851,7 @@ void SigningTest::testODFUntrustedGoodGPG()
(OString::number(
static_cast<std::underlying_type<SignatureState>::type>(nActual))
.getStr()),
- nActual, SignatureState::NOTVALIDATED);
+ SignatureState::NOTVALIDATED, nActual);
}
void SigningTest::testODFBrokenStreamGPG()