-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST(overlay): adds build files for OverlayTest
adds a test application that connects to MumbleOverlayPipe and displays the overlay as configured. It's disabled by default as it is designed to be a check for humans
- Loading branch information
1 parent
bfe53aa
commit e90cb73
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 2020-2022 The Mumble Developers. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license | ||
# that can be found in the LICENSE file at the root of the | ||
# Mumble source tree or at <https://www.mumble.info/LICENSE>. | ||
|
||
add_executable(OverlayTest OverlayTest.cpp) | ||
|
||
set_target_properties(OverlayTest PROPERTIES AUTOMOC ON) | ||
|
||
find_pkg(Qt5 COMPONENTS Gui Widgets REQUIRED) | ||
|
||
target_link_libraries(OverlayTest PRIVATE mumble_client_object_lib) | ||
target_link_libraries(OverlayTest PRIVATE shared Qt5::Test Qt5::Widgets) | ||
|
||
add_test(NAME OverlayTest COMMAND $<TARGET_FILE:OverlayTest>) | ||
|
||
# OverlayTest is disabled because it can only be tested by humans checking that the application is correctly displaying the overlay | ||
set_tests_properties(OverlayTest PROPERTIES DISABLED TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters