mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1009] [MERGED] Add tests for KeySequence #1736
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1736
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1009
Author: @p12tic
Created: 1/7/2021
Status: ✅ Merged
Merged: 1/7/2021
Merged by: @p12tic
Base:
master← Head:gui-keysequence-tests📝 Commits (7)
6b31735gui: List all source files explicitly for the lupdate tool1d5fcfagui: Remove qmake project01b97d0gui: Explicitly set the lists of source filesacc54desrc: Extract test CMake setup to separate file3f387bdgui: Fix incorrect parameter order in KeySequence::appendKey()1c434dfgui: Remove unnecessary accessor to private member in KeySequence88c0c03gui: Add tests for KeySequence serialization📊 Changes
10 files changed (+297 additions, -181 deletions)
View changed files
📝
CMakeLists.txt(+3 -0)📝
cmake/gtest.cmake(+6 -9)📝
src/CMakeLists.txt(+4 -1)📝
src/gui/CMakeLists.txt(+129 -2)➖
src/gui/gui.pro(+0 -162)📝
src/gui/lang.cmd(+1 -1)📝
src/gui/src/KeySequence.cpp(+4 -4)📝
src/gui/src/KeySequence.h(+1 -2)➕
src/gui/test/KeySequenceTests.cpp(+126 -0)➕
src/gui/test/main.cpp(+23 -0)📄 Description
This setups a way to write unit tests for the gui sub-project. The first set of tests are for the KeySequence serialization in an attempt to add tests for #916. However, it seems that at least I didn't understand the issue correctly and tests didn't reproduce failure as expected, so the problem is one layer higher.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.