diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-27 20:42:51 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-28 03:35:22 +0200 |
commit | 74b274602a5a76b949f6d1a521b343688693090b (patch) | |
tree | 32b544176ed1d7045e28b698b60b59fdefd1c73c /offapi | |
parent | implement XDumper in ChartModel (diff) | |
download | core-74b274602a5a76b949f6d1a521b343688693090b.tar.gz core-74b274602a5a76b949f6d1a521b343688693090b.zip |
add interface XDumper for qa/automated testing
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/modules.idl | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/qa/XDumper.idl | 65 |
3 files changed, 71 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index 1220adc1734a..f9aee0738346 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -3007,6 +3007,9 @@ $(eval $(call gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/resource,\ XStringResourceWithLocation \ XStringResourceWithStorage \ )) +$(eval $(call gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/qa,\ + XDumper \ +)) $(eval $(call gb_UnoApiTarget_add_idlfiles,offapi,offapi/com/sun/star/scanner,\ ScanError \ ScannerContext \ diff --git a/offapi/com/sun/star/modules.idl b/offapi/com/sun/star/modules.idl index 6ef7dca55d37..421d4c7e9235 100644 --- a/offapi/com/sun/star/modules.idl +++ b/offapi/com/sun/star/modules.idl @@ -142,6 +142,9 @@ module rendering {}; /// Interfaces to access (UI) resource files. module resource {}; +/// Interfaces for QA and automated tests +module qa {}; + /// Interfaces for scanner control. module scanner {}; diff --git a/offapi/com/sun/star/qa/XDumper.idl b/offapi/com/sun/star/qa/XDumper.idl new file mode 100644 index 000000000000..4eebb030b55f --- /dev/null +++ b/offapi/com/sun/star/qa/XDumper.idl @@ -0,0 +1,65 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Version: MPL 1.1 / GPLv3+ / LGPLv3+ + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License or as specified alternatively below. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * Major Contributor(s): + * Copyright (C) 2012 Markus Mohrhard <markus.mohrhard@googlemail.com> (initial developer) + * + * All Rights Reserved. + * + * For minor contributions see the git repository. + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 3 or later (the "GPLv3+"), or + * the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), + * in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable + * instead of those above. + */ + +#ifndef com_sun_star_qa_XDumper_idl +#define com_sun_star_qa_XDumper_idl + +#include <com/sun/star/uno/XInterface.idl> + +module com +{ +module sun +{ +module star +{ +module qa +{ + +/** + * Dumps the content into a string. + * This is an internal interface and should not be used outside of Libreoffice source code + */ +interface XDumper : com::sun::star::uno::XInterface +{ + /** + * dump the content into a string + * @since LibreOffice 3.6 + */ + + string dump(); +}; + +} ; // chart2 +} ; // com +} ; // sun +} ; // star + + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |