12#include <cppunit/Protector.h>
21class Protector:
public CppUnit::Protector {
24 Protector(
const Protector&) =
delete;
25 Protector& operator=(
const Protector&) =
delete;
28 virtual ~Protector()
override {
29#if defined(__COVERITY__)
35#if defined(__COVERITY__)
36 }
catch (
const std::exception& e) {
37 SAL_WARN(
"vcl.app",
"Fatal exception: " << e.what());
44 CppUnit::Functor
const & functor, CppUnit::ProtectorContext
const &)
51extern "C" SAL_DLLPUBLIC_EXPORT CppUnit::Protector *
static ThreadPool & getSharedOptimalPool()
#define SAL_WARN(area, stream)
OOO_DLLPUBLIC_TEST_SETUPVCL void setUpVcl(bool forceHeadless=false)
VCL_DLLPUBLIC void DeInitVCL()
SAL_DLLPUBLIC_EXPORT CppUnit::Protector * vclbootstrapprotector()