office-gobmx/include/test/htmltesttools.hxx
Tomaž Vajngerl 780cedb2cf test: parseXmlStream & parseHtmlStream added to test tools
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
2014-05-15 19:51:08 +02:00

29 lines
792 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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/.
*/
#ifndef INCLUDED_TEST_HTMLTESTTOOLS_HXX
#define INCLUDED_TEST_HTMLTESTTOOLS_HXX
#include <sal/config.h>
#include <test/testdllapi.hxx>
#include <libxml/HTMLparser.h>
#include <libxml/HTMLtree.h>
#include <unotools/tempfile.hxx>
class OOO_DLLPUBLIC_TEST HtmlTestTools
{
protected:
htmlDocPtr parseHtml(utl::TempFile& aTempFile);
htmlDocPtr parseHtmlStream(SvStream* pStream);
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */