pax_global_header 0000666 0000000 0000000 00000000064 14033350362 0014511 g ustar 00root root 0000000 0000000 52 comment=53259652b61826eccf83352c4d55c36a6455d1d2
gmenuharness-0.1.4/ 0000775 0000000 0000000 00000000000 14033350362 0014212 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/CMakeLists.txt 0000664 0000000 0000000 00000002672 14033350362 0016761 0 ustar 00root root 0000000 0000000 project(gmenu-harness C CXX)
cmake_minimum_required(VERSION 2.8.9)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
find_package(PkgConfig REQUIRED)
include(GNUInstallDirs)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 ${COMMON_FLAGS} -fno-strict-aliasing -fvisibility-inlines-hidden -Wall -pedantic -Wextra")
option(Werror "Treat warnings as errors" ON)
option(enable_tests "Build tests" ON)
if(Werror)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# version
set(GMENU_HARNESS gmenuharness)
set(GMENU_HARNESS_SO_VERSION_MAJOR "0")
set(GMENU_HARNESS_SO_VERSION_MINOR "1")
set(GMENU_HARNESS_SO_VERSION_MICRO "4")
set(GMENU_HARNESS_SO_VERSION ${GMENU_HARNESS_SO_VERSION_MAJOR}.${GMENU_HARNESS_SO_VERSION_MINOR})
set(GMENU_HARNESS_HDR_INSTALL_BASE_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR}/${GMENU_HARNESS}-${GMENU_HARNESS_SO_VERSION})
set(GMENU_HARNESS_HDR_INSTALL_DIR ${GMENU_HARNESS_HDR_INSTALL_BASE_DIR}/lomiri/${GMENU_HARNESS})
include_directories(include)
set(GLIB_REQUIRED_VERSION 2.26)
pkg_check_modules(
GLIB REQUIRED
glib-2.0>=${GLIB_REQUIRED_VERSION}
gio-2.0>=${GLIB_REQUIRED_VERSION}
)
include_directories(${GLIB_INCLUDE_DIRS})
pkg_check_modules(
LOMIRI_API REQUIRED
liblomiri-api
)
include_directories(${LOMIRI_API_INCLUDE_DIRS})
add_subdirectory(src)
add_subdirectory(include)
# testing
if(${enable_tests})
enable_testing()
add_subdirectory(tests)
endif()
gmenuharness-0.1.4/COPYING 0000664 0000000 0000000 00000016743 14033350362 0015260 0 ustar 00root root 0000000 0000000 GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.
gmenuharness-0.1.4/INSTALL 0000664 0000000 0000000 00000002214 14033350362 0015242 0 ustar 00root root 0000000 0000000 #
# Copyright © 2015 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License version 3,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Authored by: Pete Woods
# Xavi Garcia
#
Build dependencies
------------------
See debian/control for the list of packages required to build and test the code.
Building the code
-----------------
The simplest case is:
$ mkdir build
$ cd build
$ cmake ..
$ make
By default, the code is built in release mode. To build a debug version, use
$ mkdir builddebug
$ cd builddebug
$ cmake -DCMAKE_BUILD_TYPE=debug ..
$ make
gmenuharness-0.1.4/README 0000664 0000000 0000000 00000001540 14033350362 0015072 0 ustar 00root root 0000000 0000000 #
# Copyright © 2015 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License version 3,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see .
#
# Authored by: Pete Woods
# Xavi Garcia
#
This is a library to test GMenuModel structures.
For instructions on how to build the code, see the INSTALL file.
gmenuharness-0.1.4/TODO 0000664 0000000 0000000 00000000020 14033350362 0014672 0 ustar 00root root 0000000 0000000 Add unit tests.
gmenuharness-0.1.4/cmake/ 0000775 0000000 0000000 00000000000 14033350362 0015272 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/cmake/COPYING-CMAKE-SCRIPTS 0000664 0000000 0000000 00000002457 14033350362 0020300 0 ustar 00root root 0000000 0000000 Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
gmenuharness-0.1.4/cmake/FindValgrind.cmake 0000664 0000000 0000000 00000001645 14033350362 0020651 0 ustar 00root root 0000000 0000000
option(
ENABLE_MEMCHECK_OPTION
"If set to ON, enables automatic creation of memcheck targets"
OFF
)
find_program(
VALGRIND_PROGRAM
NAMES valgrind
)
if(VALGRIND_PROGRAM)
set(VALGRIND_PROGRAM_OPTIONS
"--suppressions=${CMAKE_SOURCE_DIR}/tests/data/valgrind.suppression"
"--error-exitcode=1"
"--leak-check=full"
"--gen-suppressions=all"
"--quiet"
)
endif()
find_package_handle_standard_args(
VALGRIND DEFAULT_MSG
VALGRIND_PROGRAM
)
function(add_valgrind_test)
foreach(_arg ${ARGN})
if ("VALGRIND" STREQUAL ${_arg})
if(ENABLE_MEMCHECK_OPTION AND VALGRIND_PROGRAM)
list(APPEND _vgargs ${VALGRIND_PROGRAM} ${VALGRIND_PROGRAM_OPTIONS})
endif()
else()
list(APPEND _vgargs ${_arg})
endif()
endforeach()
add_test(${_vgargs})
endfunction()
gmenuharness-0.1.4/debian/ 0000775 0000000 0000000 00000000000 14033350362 0015434 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/debian/Jenkinsfile 0000664 0000000 0000000 00000000101 14033350362 0017610 0 ustar 00root root 0000000 0000000 @Library('ubports-build-tools') _
buildAndProvideDebianPackage()
gmenuharness-0.1.4/debian/changelog 0000664 0000000 0000000 00000006342 14033350362 0017313 0 ustar 00root root 0000000 0000000 gmenuharness (0.1.4) UNRELEASED; urgency=medium
* Rename to Lomiri namespace
-- Marius Gripsgard Wed, 07 Apr 2021 00:33:24 +0200
gmenuharness (0.1.3+0ubports1) xenial; urgency=medium
* Migrate to ubports
-- Rodney Dawes Fri, 29 Nov 2019 16:43:50 -0500
gmenuharness (0.1.2+17.04.20161202-0ubuntu1) zesty; urgency=medium
[ Pete ]
* Fix action activation for radio buttons.
-- Pete Woods Fri, 02 Dec 2016 11:38:00 +0000
gmenuharness (0.1.1+17.04.20161109.1-0ubuntu1) zesty; urgency=medium
* Improve test stability. Fix FTBFS on Zesty by reusing Xenial symbols
file for Zesty and Yakkety. Use GNUInstallDirs package correctly in
CMakeLists.txt for generating pkg-config files.
-- Pete Woods Wed, 09 Nov 2016 11:46:31 +0000
gmenuharness (0.1.1+16.10.20160816.1-0ubuntu1) yakkety; urgency=medium
* Work around initialisation race condition in GMenu
-- Pete Woods Tue, 16 Aug 2016 14:58:17 +0000
gmenuharness (0.1.1+16.10.20160610.2-0ubuntu1) yakkety; urgency=medium
* add MenuItemMatcher::enabled()
* Add MenuItemMatcher::enabled method.
-- Antti Kaijanmäki Fri, 10 Jun 2016 11:40:05 +0000
gmenuharness (0.1+16.04.20151119.3-0ubuntu1) xenial; urgency=medium
* Add a very basic level of functional testing
-- Pete Woods Thu, 19 Nov 2015 11:12:21 +0000
gmenuharness (0.1+16.04.20151118-0ubuntu1) xenial; urgency=medium
[ Xavi Garcia ]
* Initial release.
* Added copyright and COPYING files added: COPYING debian/copyright
* updated control file. inttool removed as build dependency and
updated XSBC-Original-Maintainer
[ CI Train Bot ]
* debian/libgmenuharness0.1.vivid.symbols: update to released version.
* debian/libgmenuharness0.1.xenial.symbols: update to released
version.
[ Pete Woods ]
* Clean up symbols file (missing symbols, dedupe)
* Distro-specific symbols files added: debian/gen-debian-files.sh
debian/libgmenuharness0.1.xenial.symbols renamed:
debian/libgmenuharness0.1.symbols =>
debian/libgmenuharness0.1.vivid.symbols
* Empty commit for initial landing
* Fix warnings in debian/control
* shared_ptr
[ Xavi Garcia Mena ]
* Added INSTALL, README, TODO files added: INSTALL README TODO
* Added ends_with mode
* Added limit check for j index at endsWith
* Fix issue with index not being incremented
* Suggested changes
* Sync with bugfixes & features in Xavi's lp:~xavi-garcia-
mena/indicator-sound/bluetooth-usb-hdmi-labels-with-tests branch
* Updated copyright year
* Updated include paths, added double methods added: include/unity/
include/unity/CMakeLists.txt include/unity/gmenuharness/
include/unity/gmenuharness/CMakeLists.txt renamed:
include/MatchResult.h => include/unity/gmenuharness/MatchResult.h
include/MatchUtils.h => include/unity/gmenuharness/MatchUtils.h
include/MenuItemMatcher.h =>
include/unity/gmenuharness/MenuItemMatcher.h include/MenuMatcher.h
=> include/unity/gmenuharness/MenuMatcher.h
* adding extra new line
* copyright updated to be LGPL
-- Pete Woods Wed, 18 Nov 2015 09:21:52 +0000
gmenuharness-0.1.4/debian/compat 0000664 0000000 0000000 00000000002 14033350362 0016632 0 ustar 00root root 0000000 0000000 9
gmenuharness-0.1.4/debian/control 0000664 0000000 0000000 00000002071 14033350362 0017037 0 ustar 00root root 0000000 0000000 Source: gmenuharness
Section: gnome
Priority: optional
Maintainer: UBports developers
Build-Depends: cmake,
cmake-extras (>= 0.4),
dbus,
debhelper (>= 9.0.0),
google-mock (>= 1.6.0+svn437),
libgtest-dev,
qtbase5-dev,
libglib2.0-dev,
libqtdbustest1-dev (>= 0.2),
liblomiri-api-dev,
lsb-release,
pkg-config,
Standards-Version: 3.9.6
Homepage: https://gitlab.com/ubports/core/gmenuharness
Package: libgmenuharness0.1
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends},
Depends: ${misc:Depends},
${shlibs:Depends},
Description: GMenu harness library
Library containing GMenu harness
Package: libgmenuharness-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends},
Depends: libgmenuharness0.1 (= ${binary:Version}),
${misc:Depends},
Description: Header files for GMenu harness
Library containing GMenu harness (dev files)
gmenuharness-0.1.4/debian/copyright 0000664 0000000 0000000 00000001430 14033350362 0017365 0 ustar 00root root 0000000 0000000 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: gmenuharness
Source: https://launchpad.net/gmenuharness
Files: *
Copyright: 2015 Canonical ltd
License: LGPL-3
This program is free software: you can redistribute it and/or modify
it under the terms of version 3 of the GNU Lesser General Public
License as published by the Free Software Foundation.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
.
On Debian systems, the full text of the GNU Lesser General Public
License version 3 can be found in the file
`/usr/share/common-licenses/LGPL-3'
gmenuharness-0.1.4/debian/libgmenuharness-dev.install 0000664 0000000 0000000 00000000171 14033350362 0022765 0 ustar 00root root 0000000 0000000 usr/lib/*/libgmenuharness.so
usr/include/gmenuharness-0.1/lomiri/gmenuharness/*.h
usr/lib/*/pkgconfig/libgmenuharness.pc
gmenuharness-0.1.4/debian/libgmenuharness0.1.install 0000664 0000000 0000000 00000000036 14033350362 0022430 0 ustar 00root root 0000000 0000000 usr/lib/*/libgmenuharness.so.* gmenuharness-0.1.4/debian/libgmenuharness0.1.symbols 0000664 0000000 0000000 00000024245 14033350362 0022462 0 ustar 00root root 0000000 0000000 libgmenuharness.so.0.1 libgmenuharness0.1 #MINVER#
(c++)"lomiri::gmenuharness::g_object_deleter(void*)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::gvariant_deleter(_GVariant*)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::concat_failures[abi:cxx11]() const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::createChild() const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::failure(std::vector > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::hasTimedOut() const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::MatchResult()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::MatchResult(lomiri::gmenuharness::MatchResult&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::MatchResult(lomiri::gmenuharness::MatchResult const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::merge(lomiri::gmenuharness::MatchResult const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::operator=(lomiri::gmenuharness::MatchResult&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::operator=(lomiri::gmenuharness::MatchResult const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MatchResult::success() const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::action(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::activate(std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::attribute_not_set(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::attribute(std::__cxx11::basic_string, std::allocator > const&, std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::boolean_attribute(std::__cxx11::basic_string, std::allocator > const&, bool)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::checkbox()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::double_attribute(std::__cxx11::basic_string, std::allocator > const&, double)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::enabled(bool)@Base" 0.1.1+16.10.20160610.2-0ubuntu1
(c++)"lomiri::gmenuharness::MenuItemMatcher::has_exactly(unsigned int)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::icon(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::int32_attribute(std::__cxx11::basic_string, std::allocator > const&, int)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::int64_attribute(std::__cxx11::basic_string, std::allocator > const&, int)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::is_empty()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::item(lomiri::gmenuharness::MenuItemMatcher&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::item(lomiri::gmenuharness::MenuItemMatcher const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::label(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::match(lomiri::gmenuharness::MatchResult&, std::vector > const&, std::shared_ptr<_GMenuModel> const&, std::map, std::allocator >, std::shared_ptr<_GActionGroup>, std::less, std::allocator > >, std::allocator, std::allocator > const, std::shared_ptr<_GActionGroup> > > >&, unsigned int) const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::~MenuItemMatcher()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::MenuItemMatcher()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::MenuItemMatcher(lomiri::gmenuharness::MenuItemMatcher&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::MenuItemMatcher(lomiri::gmenuharness::MenuItemMatcher const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::mode(lomiri::gmenuharness::MenuItemMatcher::Mode)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::operator=(lomiri::gmenuharness::MenuItemMatcher&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::operator=(lomiri::gmenuharness::MenuItemMatcher const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::pass_through_activate(std::__cxx11::basic_string, std::allocator > const&, std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::pass_through_attribute(std::__cxx11::basic_string, std::allocator > const&, std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::pass_through_boolean_attribute(std::__cxx11::basic_string, std::allocator > const&, bool)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::pass_through_double_attribute(std::__cxx11::basic_string, std::allocator > const&, double)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::pass_through_string_attribute(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::radio()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::round_doubles(double)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::section()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::set_action_state(std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::set_pass_through_action_state(std::__cxx11::basic_string, std::allocator > const&, std::shared_ptr<_GVariant> const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::state_icons(std::vector, std::allocator >, std::allocator, std::allocator > > > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::string_attribute(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::submenu()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::themed_icon(std::__cxx11::basic_string, std::allocator > const&, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::toggled(bool)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::type(lomiri::gmenuharness::MenuItemMatcher::Type)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuItemMatcher::widget(std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::item(lomiri::gmenuharness::MenuItemMatcher const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::match() const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::match(lomiri::gmenuharness::MatchResult&) const@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::~MenuMatcher()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::MenuMatcher(lomiri::gmenuharness::MenuMatcher::Parameters const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::operator=(lomiri::gmenuharness::MenuMatcher::Parameters&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::operator=(lomiri::gmenuharness::MenuMatcher::Parameters const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::~Parameters()@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::Parameters(std::__cxx11::basic_string, std::allocator > const&, std::vector, std::allocator >, std::__cxx11::basic_string, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > const&, std::__cxx11::basic_string, std::allocator > const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::Parameters(lomiri::gmenuharness::MenuMatcher::Parameters&&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::MenuMatcher::Parameters::Parameters(lomiri::gmenuharness::MenuMatcher::Parameters const&)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::menuWaitForItems(std::shared_ptr<_GMenuModel> const&, unsigned int)@Base" 0.1+16.04.20151118
(c++)"lomiri::gmenuharness::waitForCore(_GObject*, std::__cxx11::basic_string, std::allocator > const&, unsigned int)@Base" 0.1+16.04.20151118
gmenuharness-0.1.4/debian/rules 0000775 0000000 0000000 00000000211 14033350362 0016506 0 ustar 00root root 0000000 0000000 #!/usr/bin/make -f
# -*- makefile -*-
export QT_SELECT := qt5
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
%:
dh $@ --parallel --fail-missing
gmenuharness-0.1.4/debian/source/ 0000775 0000000 0000000 00000000000 14033350362 0016734 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/debian/source/format 0000664 0000000 0000000 00000000004 14033350362 0020141 0 ustar 00root root 0000000 0000000 1.0
gmenuharness-0.1.4/include/ 0000775 0000000 0000000 00000000000 14033350362 0015635 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/include/CMakeLists.txt 0000664 0000000 0000000 00000000031 14033350362 0020367 0 ustar 00root root 0000000 0000000 add_subdirectory(lomiri)
gmenuharness-0.1.4/include/lomiri/ 0000775 0000000 0000000 00000000000 14033350362 0017130 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/include/lomiri/CMakeLists.txt 0000664 0000000 0000000 00000000037 14033350362 0021670 0 ustar 00root root 0000000 0000000 add_subdirectory(gmenuharness)
gmenuharness-0.1.4/include/lomiri/gmenuharness/ 0000775 0000000 0000000 00000000000 14033350362 0021627 5 ustar 00root root 0000000 0000000 gmenuharness-0.1.4/include/lomiri/gmenuharness/CMakeLists.txt 0000664 0000000 0000000 00000000213 14033350362 0024363 0 ustar 00root root 0000000 0000000 install(FILES
MatchResult.h
MatchUtils.h
MenuItemMatcher.h
MenuMatcher.h
DESTINATION ${GMENU_HARNESS_HDR_INSTALL_DIR})
gmenuharness-0.1.4/include/lomiri/gmenuharness/MatchResult.h 0000664 0000000 0000000 00000002705 14033350362 0024237 0 ustar 00root root 0000000 0000000 /*
* Copyright © 2014 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Pete Woods
*/
#pragma once
#include
#include
#include
namespace lomiri
{
namespace gmenuharness
{
class MatchResult
{
public:
MatchResult();
MatchResult(MatchResult&& other);
MatchResult(const MatchResult& other);
MatchResult& operator=(const MatchResult& other);
MatchResult& operator=(MatchResult&& other);
~MatchResult() = default;
MatchResult createChild() const;
void failure(const std::vector& location, const std::string& message);
void merge(const MatchResult& other);
bool success() const;
bool hasTimedOut() const;
std::string concat_failures() const;
protected:
struct Priv;
std::shared_ptr p;
};
} // namespace gmenuharness
} // namespace lomiri
gmenuharness-0.1.4/include/lomiri/gmenuharness/MatchUtils.h 0000664 0000000 0000000 00000002170 14033350362 0024055 0 ustar 00root root 0000000 0000000 /*
* Copyright © 2014 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Pete Woods
*/
#pragma once
#include
#include
#include
namespace lomiri
{
namespace gmenuharness
{
void waitForCore(GObject* obj, const std::string& signalName, unsigned int timeout = 10);
void menuWaitForItems(const std::shared_ptr& menu, unsigned int timeout = 10);
void g_object_deleter(gpointer object);
void gvariant_deleter(GVariant* varptr);
} //namespace gmenuharness
} // namespace lomiri
gmenuharness-0.1.4/include/lomiri/gmenuharness/MenuItemMatcher.h 0000664 0000000 0000000 00000007732 14033350362 0025040 0 ustar 00root root 0000000 0000000 /*
* Copyright © 2014 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Authored by: Pete Woods
*/
#pragma once
#include