Remove compilerplugins/clang/test/cppunitassertequals.hxx
...which isn't needed anymore to suppress warnings from other plugins like
loplugin:external ever since 45c06838e9
"only
unit-test one loplugin at a time". Also, the declaration of the function test
in cppunitassertequals.hxx had already started to deviate from its definition in
cppunitassertequals.cxx.
Change-Id: I3fbc8a9a805bd5bc4d8afbf958edff04b89add3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148010
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
@@ -9,16 +9,20 @@
|
|||||||
|
|
||||||
#include "sal/config.h"
|
#include "sal/config.h"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
|
||||||
#include <cppunit/TestAssert.h>
|
#include <cppunit/TestAssert.h>
|
||||||
#include <cppunit/TestFixture.h>
|
#include <cppunit/TestFixture.h>
|
||||||
#include <cppunit/extensions/HelperMacros.h>
|
#include <cppunit/extensions/HelperMacros.h>
|
||||||
#include <cppunit/plugin/TestPlugIn.h>
|
#include <cppunit/plugin/TestPlugIn.h>
|
||||||
|
|
||||||
#include "cppunitassertequals.hxx"
|
#include "rtl/ustring.hxx"
|
||||||
|
|
||||||
#define TEST1 CPPUNIT_ASSERT(b1 == b2)
|
#define TEST1 CPPUNIT_ASSERT(b1 == b2)
|
||||||
#define TEST2(x) x
|
#define TEST2(x) x
|
||||||
|
|
||||||
|
struct T { bool operator ==(T); };
|
||||||
|
|
||||||
void test(
|
void test(
|
||||||
bool b1, bool b2, OUString const & s1, OUString const & s2, T t, void * p, std::nullptr_t n,
|
bool b1, bool b2, OUString const & s1, OUString const & s2, T t, void * p, std::nullptr_t n,
|
||||||
double d, int i)
|
double d, int i)
|
||||||
|
@@ -1,23 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
||||||
/*
|
|
||||||
* This file is part of the LibreOffice project.
|
|
||||||
*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "sal/config.h"
|
|
||||||
|
|
||||||
#include <cstddef>
|
|
||||||
|
|
||||||
#include "rtl/ustring.hxx"
|
|
||||||
|
|
||||||
struct T { bool operator ==(T); };
|
|
||||||
|
|
||||||
void test(
|
|
||||||
bool b1, bool b2, OUString const & s1, OUString const & s2, T t, void * p, std::nullptr_t n);
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
|
@@ -1563,7 +1563,6 @@ compilerplugins/clang/test/commaoperator.cxx
|
|||||||
compilerplugins/clang/test/constmethod.cxx
|
compilerplugins/clang/test/constmethod.cxx
|
||||||
compilerplugins/clang/test/constparams.cxx
|
compilerplugins/clang/test/constparams.cxx
|
||||||
compilerplugins/clang/test/cppunitassertequals.cxx
|
compilerplugins/clang/test/cppunitassertequals.cxx
|
||||||
compilerplugins/clang/test/cppunitassertequals.hxx
|
|
||||||
compilerplugins/clang/test/dodgyswitch.cxx
|
compilerplugins/clang/test/dodgyswitch.cxx
|
||||||
compilerplugins/clang/test/expressionalwayszero.cxx
|
compilerplugins/clang/test/expressionalwayszero.cxx
|
||||||
compilerplugins/clang/test/faileddyncast.cxx
|
compilerplugins/clang/test/faileddyncast.cxx
|
||||||
|
Reference in New Issue
Block a user