libreoffice-online/kit/TestStubs.cpp
Miklos Vajna 106b7fbd8e TestStubs: add more stubs for sanitizers
This is needed to compile the tests without undefined references when
using sanitizers. Previously it was possible to run loolwsd, but
building the tests failed.

Change-Id: I6babd1c43816cb2387c82316cc1bf9ff14d7a068
2019-05-28 09:10:45 +02:00

24 lines
802 B
C++

/* -*- 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/.
*/
/*
* Stub missing symbols required for unit tests ...
*/
#include <config.h>
#include "common/Common.hpp"
#include "ChildSession.hpp"
void ChildSession::loKitCallback(const int /* type */, const std::string& /* payload */) {}
void ChildSession::disconnect() {}
bool ChildSession::_handleInput(const char* /*buffer*/, int /*length*/) { return false; }
ChildSession::~ChildSession() {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */