diff options
Diffstat (limited to 'tests')
97 files changed, 135 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e464a030..a3e619a7 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,16 +8,23 @@ macro(ADD_TEST_MACRO NAME COMMAND) string(REGEX REPLACE "[^.]*\\." "" proj "${NAME}") add_test(${NAME} ${CMAKE_CTEST_COMMAND} --build-and-test - "${CMAKE_SOURCE_DIR}/tests/${dir}" - "${CMAKE_BINARY_DIR}/tests/${dir}" + "${CMAKE_CURRENT_SOURCE_DIR}/${dir}" + "${CMAKE_CURRENT_BINARY_DIR}/${dir}" --build-two-config --build-generator ${CMAKE_GENERATOR} --build-makeprogram ${CMAKE_MAKE_PROGRAM} --build-project ${proj} ${${NAME}_EXTRA_OPTIONS} --test-command ${COMMAND} ${ARGN}) -# list(APPEND TEST_BUILD_DIRS "${CMAKE_BINARY_DIR}/tests/${dir}") endmacro(ADD_TEST_MACRO) - add_test_macro(ExecuteAllModules ExecuteAllModules) + +set(ECMInstallIconsTest_EXTRA_OPTIONS + --build-target install + --build-options + "-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/ECMInstallIconsTest/InstallDirectory" +) +add_test_macro(ECMInstallIconsTest + ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_BINARY_DIR}/ECMInstallIconsTest/check_tree.cmake" +) diff --git a/tests/ECMInstallIconsTest/128-devices-drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/128-devices-drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/128-devices-drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/128-emblems-emblem-mounted.png b/tests/ECMInstallIconsTest/128-emblems-emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/128-emblems-emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/128-places-home.mng b/tests/ECMInstallIconsTest/128-places-home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/128-places-home.mng diff --git a/tests/ECMInstallIconsTest/16-actions-badext.txt b/tests/ECMInstallIconsTest/16-actions-badext.txt new file mode 100644 index 00000000..9daeafb9 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-actions-badext.txt @@ -0,0 +1 @@ +test diff --git a/tests/ECMInstallIconsTest/16-actions-computer.png b/tests/ECMInstallIconsTest/16-actions-computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-actions-computer.png diff --git a/tests/ECMInstallIconsTest/16-animations-loading.mng b/tests/ECMInstallIconsTest/16-animations-loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-animations-loading.mng diff --git a/tests/ECMInstallIconsTest/16-apps-cmake.png b/tests/ECMInstallIconsTest/16-apps-cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-apps-cmake.png diff --git a/tests/ECMInstallIconsTest/16-categories-system-help.mng b/tests/ECMInstallIconsTest/16-categories-system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-categories-system-help.mng diff --git a/tests/ECMInstallIconsTest/16-emotes-face-smile.png b/tests/ECMInstallIconsTest/16-emotes-face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-emotes-face-smile.png diff --git a/tests/ECMInstallIconsTest/16-intl-something.png b/tests/ECMInstallIconsTest/16-intl-something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-intl-something.png diff --git a/tests/ECMInstallIconsTest/16-status-user-online.png b/tests/ECMInstallIconsTest/16-status-user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/16-status-user-online.png diff --git a/tests/ECMInstallIconsTest/CMakeLists.txt b/tests/ECMInstallIconsTest/CMakeLists.txt new file mode 100644 index 00000000..85f2d9f5 --- /dev/null +++ b/tests/ECMInstallIconsTest/CMakeLists.txt @@ -0,0 +1,97 @@ +project(ECMInstallIconsTest) +cmake_minimum_required(VERSION 2.8.12) + +set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../modules) + +# make sure the test install dir is clean +file(REMOVE_RECURSE "${CMAKE_INSTALL_PREFIX}") + +include(ECMInstallIcons) + +add_subdirectory(v1-syntax) +add_subdirectory(v1-syntax-l10n) + +ecm_install_icons( + ICONS 16-actions-computer.png + DESTINATION single-file-test +) + +ecm_install_icons( + ICONS + 16-actions-computer.png + 16-animations-loading.mng + 16-apps-cmake.png + 16-categories-system-help.mng + 16-emotes-face-smile.png + 16-intl-something.png + 16-status-user-online.png + 128-devices-drive-removable-media-usb-pendrive.png + 128-emblems-emblem-mounted.png + 128-places-home.mng + sc-mimetypes-fonts-package.svgz + DESTINATION multi-file-test +) + +ecm_install_icons( + ICONS + 16-actions-computer.png + 16-animations-loading.mng + 16-apps-cmake.png + 16-categories-system-help.mng + 16-emotes-face-smile.png + 16-intl-something.png + 16-status-user-online.png + 128-devices-drive-removable-media-usb-pendrive.png + 128-emblems-emblem-mounted.png + 128-places-home.mng + sc-mimetypes-fonts-package.svgz + DESTINATION themed-test + THEME theme-name-2 +) + +ecm_install_icons( + ICONS + 16-actions-computer.png + 16-animations-loading.mng + 16-apps-cmake.png + 16-categories-system-help.mng + 16-emotes-face-smile.png + 16-intl-something.png + 16-status-user-online.png + 128-devices-drive-removable-media-usb-pendrive.png + 128-emblems-emblem-mounted.png + 128-places-home.mng + sc-mimetypes-fonts-package.svgz + DESTINATION lang-test + LANG en_US +) + +ecm_install_icons( + ICONS + 16-actions-computer.png + 16-animations-loading.mng + 16-apps-cmake.png + 16-categories-system-help.mng + 16-emotes-face-smile.png + 16-intl-something.png + 16-status-user-online.png + 128-devices-drive-removable-media-usb-pendrive.png + 128-emblems-emblem-mounted.png + 128-places-home.mng + sc-mimetypes-fonts-package.svgz + DESTINATION themed-lang-test + THEME oxygen + LANG en_US +) + +# all these should be warned about +ecm_install_icons( + ICONS + aa-actions-badsize.png # ignored + badlynamedfile.png # ignored + 16-actions-badext.txt # copied + DESTINATION badly-named-files-test +) + +# this will be run by CTest +configure_file(check_tree.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/check_tree.cmake" @ONLY) diff --git a/tests/ECMInstallIconsTest/aa-actions-badsize.png b/tests/ECMInstallIconsTest/aa-actions-badsize.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/aa-actions-badsize.png diff --git a/tests/ECMInstallIconsTest/badlynamedfile.png b/tests/ECMInstallIconsTest/badlynamedfile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/badlynamedfile.png diff --git a/tests/ECMInstallIconsTest/check_tree.cmake.in b/tests/ECMInstallIconsTest/check_tree.cmake.in new file mode 100644 index 00000000..6d14246b --- /dev/null +++ b/tests/ECMInstallIconsTest/check_tree.cmake.in @@ -0,0 +1,23 @@ +set(EXP_TREE "@CMAKE_CURRENT_SOURCE_DIR@/expected-tree") +set(ACTUAL_TREE "@CMAKE_INSTALL_PREFIX@") + +file(GLOB_RECURSE exp_files RELATIVE "${EXP_TREE}" "${EXP_TREE}/*") +file(GLOB_RECURSE actual_files RELATIVE "${ACTUAL_TREE}" "${ACTUAL_TREE}/*") +list(SORT exp_files) +list(SORT actual_files) + +if(NOT exp_files STREQUAL actual_files) + foreach(f ${exp_files}) + list(FIND actual_files "${f}" result) + if(result EQUAL -1) + message(WARNING "${f} was expected, but not found") + endif() + endforeach() + foreach(f ${actual_files}) + list(FIND exp_files "${f}" result) + if(result EQUAL -1) + message(WARNING "${f} was found, but not expected") + endif() + endforeach() + message(FATAL_ERROR "Trees differ!") +endif() diff --git a/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt b/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt new file mode 100644 index 00000000..9daeafb9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/badly-named-files-test/hicolor/16x16/actions/badext.txt @@ -0,0 +1 @@ +test diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/emblems/l10n/en_US/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/emblems/l10n/en_US/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/emblems/l10n/en_US/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/places/l10n/en_US/home.mng b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/places/l10n/en_US/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/128x128/places/l10n/en_US/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/actions/l10n/en_US/computer.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/actions/l10n/en_US/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/actions/l10n/en_US/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/animations/l10n/en_US/loading.mng b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/animations/l10n/en_US/loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/animations/l10n/en_US/loading.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/apps/l10n/en_US/cmake.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/apps/l10n/en_US/cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/apps/l10n/en_US/cmake.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/categories/l10n/en_US/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/categories/l10n/en_US/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/categories/l10n/en_US/system-help.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/emotes/l10n/en_US/face-smile.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/emotes/l10n/en_US/face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/emotes/l10n/en_US/face-smile.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/intl/l10n/en_US/something.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/intl/l10n/en_US/something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/intl/l10n/en_US/something.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/status/l10n/en_US/user-online.png b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/status/l10n/en_US/user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/16x16/status/l10n/en_US/user-online.png diff --git a/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/lang-test/hicolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/emblems/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/emblems/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/emblems/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/places/home.mng b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/places/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/128x128/places/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/actions/computer.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/actions/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/actions/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/animations/loading.mng b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/animations/loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/animations/loading.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/apps/cmake.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/apps/cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/apps/cmake.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/categories/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/categories/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/categories/system-help.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/emotes/face-smile.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/emotes/face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/emotes/face-smile.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/intl/something.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/intl/something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/intl/something.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/status/user-online.png b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/status/user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/16x16/status/user-online.png diff --git a/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/scalable/mimetypes/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/scalable/mimetypes/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/multi-file-test/hicolor/scalable/mimetypes/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png b/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/single-file-test/hicolor/16x16/actions/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/devices/l10n/en_US/drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/emblems/l10n/en_US/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/emblems/l10n/en_US/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/emblems/l10n/en_US/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/places/l10n/en_US/home.mng b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/places/l10n/en_US/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/128x128/places/l10n/en_US/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/actions/l10n/en_US/computer.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/actions/l10n/en_US/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/actions/l10n/en_US/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/animations/l10n/en_US/loading.mng b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/animations/l10n/en_US/loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/animations/l10n/en_US/loading.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/apps/l10n/en_US/cmake.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/apps/l10n/en_US/cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/apps/l10n/en_US/cmake.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/categories/l10n/en_US/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/categories/l10n/en_US/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/categories/l10n/en_US/system-help.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/emotes/l10n/en_US/face-smile.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/emotes/l10n/en_US/face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/emotes/l10n/en_US/face-smile.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/intl/l10n/en_US/something.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/intl/l10n/en_US/something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/intl/l10n/en_US/something.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/status/l10n/en_US/user-online.png b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/status/l10n/en_US/user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/16x16/status/l10n/en_US/user-online.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/scalable/mimetypes/l10n/en_US/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/scalable/mimetypes/l10n/en_US/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-lang-test/oxygen/scalable/mimetypes/l10n/en_US/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/devices/drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/devices/drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/devices/drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/emblems/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/emblems/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/emblems/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/places/home.mng b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/places/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/128x128/places/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/actions/computer.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/actions/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/actions/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/animations/loading.mng b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/animations/loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/animations/loading.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/apps/cmake.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/apps/cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/apps/cmake.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/categories/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/categories/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/categories/system-help.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/emotes/face-smile.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/emotes/face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/emotes/face-smile.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/intl/something.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/intl/something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/intl/something.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/status/user-online.png b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/status/user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/16x16/status/user-online.png diff --git a/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/scalable/mimetypes/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/scalable/mimetypes/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/themed-test/theme-name-2/scalable/mimetypes/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/l10n/en_US/emblem-mounted.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/l10n/en_US/emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/crystalsvg/128x128/emblems/l10n/en_US/emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/devices/drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/home.mng b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/l10n/en_US/home.mng b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/l10n/en_US/home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/128x128/places/l10n/en_US/home.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/computer.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/l10n/en_US/computer.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/l10n/en_US/computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/actions/l10n/en_US/computer.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/animations/loading.mng b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/animations/loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/animations/loading.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/apps/cmake.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/apps/cmake.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/apps/cmake.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/emotes/face-smile.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/emotes/face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/emotes/face-smile.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/intl/something.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/intl/something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/intl/something.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/status/user-online.png b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/status/user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/hicolor/16x16/status/user-online.png diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz b/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/locolor/scalable/mimetypes/l10n/en_US/fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/l10n/en_US/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/l10n/en_US/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/l10n/en_US/system-help.mng diff --git a/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/system-help.mng b/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/expected-tree/v1-icons/oxygen/16x16/categories/system-help.mng diff --git a/tests/ECMInstallIconsTest/sc-mimetypes-fonts-package.svgz b/tests/ECMInstallIconsTest/sc-mimetypes-fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/sc-mimetypes-fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/CMakeLists.txt b/tests/ECMInstallIconsTest/v1-syntax-l10n/CMakeLists.txt new file mode 100644 index 00000000..c959e469 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/CMakeLists.txt @@ -0,0 +1 @@ +ecm_install_icons(v1-icons en_US) diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/cr128-emblems-emblem-mounted.png b/tests/ECMInstallIconsTest/v1-syntax-l10n/cr128-emblems-emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/cr128-emblems-emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/hi128-places-home.mng b/tests/ECMInstallIconsTest/v1-syntax-l10n/hi128-places-home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/hi128-places-home.mng diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/hi16-actions-computer.png b/tests/ECMInstallIconsTest/v1-syntax-l10n/hi16-actions-computer.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/hi16-actions-computer.png diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/losc-mimetypes-fonts-package.svgz b/tests/ECMInstallIconsTest/v1-syntax-l10n/losc-mimetypes-fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/losc-mimetypes-fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/v1-syntax-l10n/ox16-categories-system-help.mng b/tests/ECMInstallIconsTest/v1-syntax-l10n/ox16-categories-system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax-l10n/ox16-categories-system-help.mng diff --git a/tests/ECMInstallIconsTest/v1-syntax/CMakeLists.txt b/tests/ECMInstallIconsTest/v1-syntax/CMakeLists.txt new file mode 100644 index 00000000..5ff25a5c --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/CMakeLists.txt @@ -0,0 +1 @@ +ecm_install_icons(v1-icons) diff --git a/tests/ECMInstallIconsTest/v1-syntax/cr128-emblems-emblem-mounted.png b/tests/ECMInstallIconsTest/v1-syntax/cr128-emblems-emblem-mounted.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/cr128-emblems-emblem-mounted.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi128-devices-drive-removable-media-usb-pendrive.png b/tests/ECMInstallIconsTest/v1-syntax/hi128-devices-drive-removable-media-usb-pendrive.png Binary files differnew file mode 100644 index 00000000..715218d9 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi128-devices-drive-removable-media-usb-pendrive.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi128-places-home.mng b/tests/ECMInstallIconsTest/v1-syntax/hi128-places-home.mng Binary files differnew file mode 100644 index 00000000..c81faca3 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi128-places-home.mng diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-actions-computer.png b/tests/ECMInstallIconsTest/v1-syntax/hi16-actions-computer.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-actions-computer.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-animations-loading.mng b/tests/ECMInstallIconsTest/v1-syntax/hi16-animations-loading.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-animations-loading.mng diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-apps-cmake.png b/tests/ECMInstallIconsTest/v1-syntax/hi16-apps-cmake.png Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-apps-cmake.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-emotes-face-smile.png b/tests/ECMInstallIconsTest/v1-syntax/hi16-emotes-face-smile.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-emotes-face-smile.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-intl-something.png b/tests/ECMInstallIconsTest/v1-syntax/hi16-intl-something.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-intl-something.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/hi16-status-user-online.png b/tests/ECMInstallIconsTest/v1-syntax/hi16-status-user-online.png Binary files differnew file mode 100644 index 00000000..c60150f8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/hi16-status-user-online.png diff --git a/tests/ECMInstallIconsTest/v1-syntax/losc-mimetypes-fonts-package.svgz b/tests/ECMInstallIconsTest/v1-syntax/losc-mimetypes-fonts-package.svgz Binary files differnew file mode 100644 index 00000000..125002e8 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/losc-mimetypes-fonts-package.svgz diff --git a/tests/ECMInstallIconsTest/v1-syntax/ox16-categories-system-help.mng b/tests/ECMInstallIconsTest/v1-syntax/ox16-categories-system-help.mng Binary files differnew file mode 100644 index 00000000..ed9a1181 --- /dev/null +++ b/tests/ECMInstallIconsTest/v1-syntax/ox16-categories-system-help.mng |