Files
loongoffice/include/test/sheet/xsheetannotations.hxx
Laurent Godard 17d0d12b8d unit test XSheetAnnotations GetByIndex for #fdo80551
Change-Id: I89ebc3d5ac257f3c754a050caf3776959b81d8b3
Reviewed-on: https://gerrit.libreoffice.org/9933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02 12:21:34 +00:00

40 lines
1.0 KiB
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_SHEET_XSHEETANNOTATIONS_HXX
#define INCLUDED_TEST_SHEET_XSHEETANNOTATIONS_HXX
#include <com/sun/star/sheet/XSheetAnnotations.hpp>
#include <test/testdllapi.hxx>
namespace apitest {
class OOO_DLLPUBLIC_TEST XSheetAnnotations
{
public:
virtual css::uno::Reference< css::uno::XInterface > init() = 0;
// XSheetAnnotations
void testGetByIndex();
void testInsertNew();
void testRemoveByIndex();
void testCount();
protected:
~XSheetAnnotations() {}
virtual css::uno::Reference< css::sheet::XSheetAnnotations> getAnnotations(long nIndex) = 0;
};
}
#endif // INCLUDED_TEST_SHEET_XSHEETANNOTATIONS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */