Ignacio Rodríguez
8c11fb8e8a
Document CLI arguments ( #6909 )
...
* Documentation file added
* fixes motivated by the review of server arguments
* updated changelog
* added client app arguments
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-20 14:07:25 +02:00
Ignacio Rodríguez
8ca0c185b2
Synergy 591 remaining sonarcloud bugs in synergy core ( #6915 )
...
* (WIP)-all issues corrected, tests started
* first test passing
alternative solution for SonarCloud check
fixed for to while translation
added changelog item
adding tests and fixes
more tests; avoid compiling BSD Tests on Windows
attempting a BSD compile patch
more tests
borrowing symbol detection from another test
more ambitious testing
changed the order of assertions for better info
more tests
fixed clear errors before executing
expanding transformation to use string comparison
including terminator on translation count
a different flag for testing MS Windows
differente Windows flag
more tests
fixing platform encoding match
Windows compiler difference on #ifdef
Google Test macro usage fix
test added
added keymap test
test and initialisation fixed
ms cl issue with named init
test for keymap
exercising keystate
more configuration exercises
one more test for config
added Unicode test
an IPv6 test
more portable networking code
using our own platform switching code
avoiding strcpy
* Fixed typo in Changelog.
* +appropriate memory handling
* one more test for coverage
* a tad more coverage
* expanded test on Config
* forcing addresses be resolved before use on test
* log modified
* re-obtaining equivalency at continue
* test added
* additional test, and initialisation for Windows
* added test sections for coverage
* fixed count
Co-authored-by: Max <maxmommersteeg@hotmail.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-19 14:52:37 +02:00
Ignacio Rodríguez
5c2311a50a
Remaining SonarCloud Bugs ( #6900 )
...
* (WIP)-all issues corrected, tests started
* first test passing
alternative solution for SonarCloud check
fixed for to while translation
added changelog item
adding tests and fixes
more tests; avoid compiling BSD Tests on Windows
attempting a BSD compile patch
more tests
borrowing symbol detection from another test
more ambitious testing
changed the order of assertions for better info
more tests
fixed clear errors before executing
expanding transformation to use string comparison
including terminator on translation count
a different flag for testing MS Windows
differente Windows flag
more tests
fixing platform encoding match
Windows compiler difference on #ifdef
Google Test macro usage fix
test added
added keymap test
test and initialisation fixed
ms cl issue with named init
test for keymap
exercising keystate
more configuration exercises
one more test for config
added Unicode test
an IPv6 test
more portable networking code
using our own platform switching code
avoiding strcpy
* Fixed typo in Changelog.
* +appropriate memory handling
* one more test for coverage
* a tad more coverage
* expanded test on Config
Co-authored-by: Max <maxmommersteeg@hotmail.com>
Co-authored-by: SerhiiGadzhilov <71632867+SerhiiGadzhilov@users.noreply.github.com>
2021-01-15 13:24:31 +02:00
Alex Konradi
31fcab2ca1
Update googletest ( #6878 )
...
* Update googletest to current head
* Use MOCK_METHOD macro instead of MOCK_METHODn ones
MOCK_METHOD supports annotating functions with override and is the
preferred way to define mock methods.
* Use TEST_SUITE instead of TEST_CASE
The former is deprecated, switch to the latter.
* Update changelog
2020-12-17 19:02:12 +02:00
Ignacio Rodriguez
c2c952fe11
adding missing include
2020-11-09 21:55:46 +07:00
Ignacio Rodriguez
d9e656db97
accepted more suggestions from sonarcloud
2020-11-09 21:46:56 +07:00
Ignacio Rodriguez
455c254462
adding last test branch
2020-11-09 21:13:11 +07:00
Ignacio Rodriguez
af221bd94f
increasing coverage
2020-11-09 19:43:19 +07:00
Ignacio Rodríguez
b9d3ce8aa0
Merge pull request #6829 from symless/fix/SYNERGY-509-deployment-fix
...
fix for older compilers
2020-11-05 16:09:18 +07:00
Ignacio Rodriguez
3961167dd0
avoiding auto in this context
2020-11-04 22:41:20 +07:00
Ignacio Rodríguez
20c830afb0
Merge pull request #6826 from symless/SYNERGY-509-sonarcloud-critical-bugs-in-synergy-core
...
SonarCloud Critical bugs
2020-11-04 19:02:38 +07:00
SerhiiGadzhilov
64249f13c9
SYNERGY-362 Eliminate using std::chrono ( #6828 )
...
* SYNERGY-362 Eliminate using chrono due to compilation error on: centos7.6, ubuntu1604, debian9
* Remove chrono header
* Update ChangeLog
* SYNERGY-362 Tests compilation fix
* SYNERGY-362 Fix code smell
2020-11-04 12:10:18 +02:00
Ignacio Rodríguez
0bd9aabbc1
Merge branch 'master' into SYNERGY-509-sonarcloud-critical-bugs-in-synergy-core
2020-11-03 22:33:40 +07:00
Ignacio Rodriguez
edbf4dfeda
a few tests
2020-11-03 22:31:50 +07:00
SerhiiGadzhilov
b235a1891a
SYNERGY-221 Blocker bugs in synergy-core tests ( #6824 )
...
* SYNERGY-221 Blocker bugs in synergy-core tests
* Update ChangeLog
2020-11-03 16:00:12 +02:00
SerhiiGadzhilov
261b1f422d
SYNERGY-362 Improve license validation ( #6816 )
...
* SYNERGY-362 Improve license validation
* Update ChangeLog
* SYNERGY-362 Improve license validation
2020-11-02 17:11:03 +02:00
SerhiiGadzhilov
d9d833fcb8
SYNERGY-221 Blocker bugs ( #6821 )
...
* SYNERGY-221 Blocker bugs
* SYNERGY-221 Compilation fix
* Update ChangeLog
* SYNERGY-221 Exception message has been fixed.
* Update src/lib/synergy/ProtocolUtil.cpp
Co-authored-by: Jnewbon <48688400+Jnewbon@users.noreply.github.com>
* SYNERGY-221 Fix code smells
Co-authored-by: Jnewbon <48688400+Jnewbon@users.noreply.github.com>
2020-10-30 18:21:03 +02:00
Serhii Hadzhilov
60e4dc1103
SYNERGY-323 No configuration available. Fix test to use correct data size in mock.
2020-10-15 11:59:28 +03:00
Serhii Hadzhilov
6c37cfad3b
SYNERGY-323 "No configuration available" error. Sonar issues fix.
2020-10-13 22:38:50 +03:00
Serhii Hadzhilov
75efede1e3
SYNERGY-323 Fixed sonar issues in tests.
2020-10-13 18:09:20 +03:00
Serhii Hadzhilov
a31e984aad
SYNERGY-323 "No configuration available" error.
...
Main fix and additional tests.
2020-10-13 12:56:26 +03:00
Serhii Hadzhilov
4e51f3bb7a
SYNERGY-323 Add unit tests for ProtocolUtils
2020-10-12 13:49:32 +03:00
Serhii Hadzhilov
90fce9af2a
SYNERGY-324 Replace tabs with spaces.
2020-10-05 18:34:03 +03:00
Serhii Hadzhilov
05a66271a1
SYNERGY-324 Update behaviour when unregistered
2020-10-02 15:34:11 +03:00
Serhii Hadzhilov
9274f06e3c
SYNERGY-315 Synergy "Business" edition
2020-10-02 10:19:13 +03:00
Serhii Hadzhilov
74ae96d0c0
"temp" has been changed to "subscription"
2020-09-28 10:37:10 +03:00
Serhii Hadzhilov
1d43ab0f7c
License notise has been corrected.
2020-09-25 21:26:54 +03:00
Serhii Hadzhilov
371a45d9c8
Preliminary implementation of license key expiry.
2020-09-24 22:11:47 +03:00
Jamie Newbon
9eaafdecc9
#6750 disabled failing test
2020-08-24 14:11:53 +01:00
Jamie Newbon
7571288fe9
#6736 Fixed failing test on windows and mac
2020-07-28 14:06:03 +01:00
Jamie Newbon
6684b8b09f
#6734 Added new cmd option --tls-cert
...
- Moved ArgsBase, ClientArgs, and ServerArgs to own namespace
- Added some Documentation to Args classes
Signed-off-by: Jamie Newbon <jamie@symless.com>
2020-07-27 13:29:58 +01:00
Pieterjan Camerlynck
16bccc2ed0
#6725 allow building of synergy without tests
...
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Jamie Newbon <jamie@symless.com>
2020-07-14 11:44:17 +01:00
Jamie Newbon
e70b1669d5
#6661 Disabled Ipc tests due to build error
2020-07-02 12:18:16 +01:00
Jamie Newbon
83d1588666
#6661 Updated google tests to 1.8.1
2020-07-01 14:12:44 +01:00
talyz
3e80a0bfc0
Build tests again
...
The tests were accidentally disabled in
688095d0a7 . Since then, the code has
drifted slightly: the synergy lib has been renamed from synergy to
synlib in 4263fd1717 and the curl
dependency was dropped in 491bb2de00 .
This re-enables the tests, targets the right lib and removes the
obsolete test.
2020-03-19 19:08:59 +01:00
Jamie Newbon
051138c8df
Removed synwinhk DLL, back porting 703097c
2019-11-14 15:11:00 +00:00
Jerry (Xinyu Hou)
8446fe5395
#6178 Merge IPv6 PR
2018-03-20 13:53:38 +00:00
Andrew Nelless
45580db33c
Port fix for guitests from offical debian package
2017-05-22 22:34:25 +01:00
Andrew Nelless
b3f606daee
Merge branch 'master' into v1.9
2017-03-09 21:35:55 +00:00
Andrew Nelless
c30301e234
Merge branch 'master' into v1.8.8
2017-03-03 14:05:27 +00:00
Epakai
c5b83ce4c4
Fix ClipboardChunkTests unit test ( Fixes #5840 )
2017-02-12 21:18:44 +00:00
Andrew Nelless
f7b87e0670
Remove version number from gtest/gmock paths
2017-02-09 22:30:42 +00:00
XinyuHou
2abfd7a0d5
Convert tabs into spaces
2017-02-07 01:25:00 +00:00
XinyuHou
deea23f866
Apply tab to spaces filter to src folder
2017-02-07 01:24:59 +00:00
Jiwoong Yoo
180d3e57d2
#5196 Korean and Japanese keyboards have same key code
2017-01-25 21:04:13 +00:00
Jerry (Xinyu Hou)
cf397a0d6f
#5186 Remove Dpi calculation code
2016-10-28 04:50:06 -07:00
Andrew Nelless
99dbdc5eb3
#5657 Use SerialKey class in ServerArgs
2016-10-17 17:38:05 +01:00
Andrew Nelless
88c59b4ca6
#5657 Fix unit tests after SerialKey::isValid removal
2016-10-17 17:37:30 +01:00
Andrew Nelless
b5a6ae0a94
#5657 Fix SerialKey expiring unit test
2016-10-17 16:27:40 +01:00
Andrew Nelless
7eefa49c77
#5657 Fix SerialKey construction in unit tests
2016-10-17 16:12:33 +01:00
Andrew Nelless
e14ff8935b
#5657 Fix SerialKey unit test
2016-10-15 16:25:04 +01:00
Andrew Nelless
1f93b4a918
#5657 Rename dayLeft to daysLeft in unit tests
2016-10-15 12:37:00 +01:00
XinyuHou
dc31f395cc
#5657 Fixed integtests using the old server constructor
2016-10-14 09:44:02 -07:00
Jerry (Xinyu Hou)
2b1b0640ea
#5657 Added serial argument parsing unit test
2016-10-14 13:51:46 +01:00
Jerry (Xinyu Hou)
1e5dfd3cb5
#5657 Added more unit tests for member functions in SerialKey
2016-10-14 12:43:58 +01:00
Jerry (Xinyu Hou)
235f528dd9
#5657 Added unit tests for SerialKey
2016-10-13 17:55:38 +01:00
Jerry (Xinyu Hou)
92680b2877
#5657 Extracted shared code between GUI and core
2016-10-13 13:53:09 +01:00
Andrew Nelless
0568271506
Partially remove reinterpret_casts in network tests
2016-10-05 12:46:16 +01:00
Andrew Nelless
f3d1470e58
Brutally replace all reinterpret_casts with static_casts
2016-10-05 12:46:16 +01:00
Andrew Nelless
5db78acab4
#5628 Link Synergy core against OpenSSL
2016-09-29 13:05:04 +01:00
Andrew Nelless
c3c0913633
Update company copyright notice
2016-09-26 11:58:33 +01:00
Andrew Nelless
36be2051c2
Change company domain name
2016-09-26 11:58:33 +01:00
XinyuHou
47ea124c77
#2765 Used EXPECT_FALSE instead of EXPECT_EQ
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
de91be1035
#2765 Added unit tests for KeyMap
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
bbb652e504
#2765 Added unit test for modifier mapping
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
cc10e319d1
#3305 Resolved namespace issue
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
b62de406e2
#3305 Refactor MockKeyState into a separate class
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
82d2a9564e
#3305 Made mock match to the original KeyState
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
d9a6c14170
#3305 Used Mac native way to simulate media keys
2016-09-26 11:58:33 +01:00
Jerry (Xinyu Hou)
fbd2c1413e
Merge branch 'jerry-sandbox2'
2015-11-23 09:54:05 -08:00
XinyuHou
ebec92fd5b
Fix unit test failed compiling on Linux #5030
2015-11-19 13:46:47 -08:00
Jerry (Xinyu Hou)
c23d443a9a
Add unit tests for DpiHelper
2015-11-19 13:46:47 -08:00
Jerry (Xinyu Hou)
8c4ccdf148
Unit test for new fields in serial key #4715
2015-11-12 10:08:55 -08:00
Jerry (Xinyu Hou)
73ac3df22d
Limit expired time to trial version #4716
2015-10-30 11:41:51 -07:00
Jerry (Xinyu Hou)
942dcabdcd
Add split empty string unit test #4933
2015-10-29 15:11:09 -07:00
Jerry (Xinyu Hou)
c148fbb7f4
Fix unit tests name convention #4933
2015-10-29 13:08:00 -07:00
Jerry (Xinyu Hou)
d429988e73
Add more unit tests for split string function #4933
2015-10-29 13:00:03 -07:00
Jerry (Xinyu Hou)
1b73b8875b
Add unit tests for split string function #4933
2015-10-29 12:53:15 -07:00
Jerry (Xinyu Hou)
da315ec164
Add unit tests for subscription manager #4715
2015-10-23 11:35:58 -07:00
Jerry (Xinyu Hou)
de49b46edd
Expected hasClients at least 3 times #4721
2015-07-31 13:56:19 -07:00
Jerry (Xinyu Hou)
9d44affc89
Fixed Ipc unit test intermittently fail #4721
2015-07-31 13:56:10 -07:00
Jerry (Xinyu Hou)
a5c865913f
Added expect call time for hasClients #4721
2015-07-31 13:55:09 -07:00
Jerry (Xinyu Hou)
c3d38db053
Made buffer thread wait for notify when no gui #4721
2015-07-31 13:55:00 -07:00
Jerry (Xinyu Hou)
5ec9ccc76e
Revert "Made buffer thread wait until there is a GUI client #4721 "
...
This reverts commit 9a4327e44236c0ac30809660dc87a97e984dc84f.
2015-07-31 13:52:56 -07:00
Jerry (Xinyu Hou)
01526bbe78
Revert "Removed unrelated checking #4721 "
...
This reverts commit 2de276cfca71a79df31a1d4a89d412212279a1a5.
2015-07-31 13:52:47 -07:00
Xinyu Hou
88214a0d3c
Removed unrelated checking #4721
2015-07-31 13:49:42 -07:00
Xinyu Hou
afdcb9cefe
Made buffer thread wait until there is a GUI client #4721
...
Conflicts:
src/lib/ipc/IpcLogOutputter.cpp
2015-07-31 13:49:17 -07:00
Jerry (Xinyu Hou)
a8cf9173c8
Revert "Changed note to notify #4745 "
...
This reverts commit 5006adedfe .
Conflicts:
src/test/unittests/ipc/IpcLogOutputterTests.cpp
2015-07-31 13:19:17 -07:00
Nick Bolton
f94e1e1660
Disabled intermittently failing unit test #4651
2015-06-10 07:04:58 -07:00
Jerry (Xinyu Hou)
f36d257495
Updated the comments
2015-06-09 15:48:08 -07:00
Jerry (Xinyu Hou)
81acb96540
Tried to fix random unittest fail (part2)
2015-06-09 15:33:57 -07:00
Jerry (Xinyu Hou)
deb3db93e6
Tried to fix random unittest fail
2015-06-09 13:59:04 -07:00
Jerry (Xinyu Hou)
0680c33909
Added file events #4584
2015-06-05 15:21:17 -07:00
Jerry (Xinyu Hou)
4508e10186
Fixed IpcLogOutputterTest #4721
2015-06-03 15:23:33 -07:00
Jerry (Xinyu Hou)
c4e8dc7198
Merge remote-tracking branch 'origin/master' into jerry-sandbox
2015-06-02 15:30:33 -07:00
Jerry (Xinyu Hou)
5006adedfe
Changed note to notify #4745
2015-06-01 14:46:08 -07:00
Jerry (Xinyu Hou)
bd3a8e9429
Fixed unittest for ipcLogOutputter #4721
2015-05-29 17:48:53 -07:00
Nick Bolton
b71c298163
Changed sleep time to 100ms for unit test (hack) #4651
2015-05-25 15:25:14 +01:00
Jerry (Xinyu Hou)
c22e327eed
Merge remote-tracking branch 'origin/master' into jerry-sandbox
2015-05-21 11:37:42 -07:00
Xinyu Hou
49ac320f97
Refactored clipboard event into ClipboardEvent #4601
2015-05-20 19:09:54 +01:00