Ashod Nakashian
f3b151132c
wsd: test: use chrono for readable and safe time durations
...
Change-Id: I0e1b380af4cff8e364564d287c8291b206622f38
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:18:41 -04:00
Ashod Nakashian
65f71a2efb
wsd: better logging of hex data dumps
...
And guard http data dumping with debug directives.
Change-Id: I22a725ba49bfb0399a27889ce9732dfe061e2563
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
5467a7f7ef
wsd: simplify and document dumpHex
...
Change-Id: I636dd6548b0712a72dfc162eb7381e3e7ac18b5a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-13 19:34:02 -05:00
Ashod Nakashian
96c9e03b88
wsd: test: catch and fail WSD tests when exceptions are thrown
...
Change-Id: Ifaabb6387d86c5a80e00cd5de34093520a1e9d66
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-12-28 12:04:53 -04:00
Ashod Nakashian
13d7d23cbe
wsd: use chrono for readability and conversion safety
...
Change-Id: If5d478605fef0199b331d91310673a460e70d48e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-12-22 11:24:13 -05:00
Andras Timar
0002fdfd6c
fix license headers
...
Change-Id: I8623770b32d278a45357dc7f757fabfadd2b4af7
2020-10-01 11:56:43 +02:00
Ashod Nakashian
d2d0492245
wsd: move LOOLProtocol::tokenize to Util::tokenize
...
The tokenizer(s) are more generic than the protocol
logic, and are used from contexts that don't involve
the protocol as such.
Change-Id: Ie8c256bf11a91e466bff794021f41603c9596a7f
2020-06-02 18:03:36 +01:00
Ashod Nakashian
224ef08c7f
wsd: single-char string literals -> char
...
More readable and typically more efficient.
Change-Id: I9bd5bfc91f4ac255bb8ae0987708fb8b56b398f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95285
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-06-02 01:31:26 +02:00
Michael Meeks
10caa82b0a
tdf#130382 - unit test for core fix for text input ordering issue.
...
Requires the relevant core commit.
Change-Id: I1b89c476ed6900bd0c5d981d125824c4bc2bf6da
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87930
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-10 23:23:04 +01:00
mert
a5000034cd
Added normalizedViewId to the tests with tilemsg
...
Change-Id: I479246a2c592b7e4f50b613a0fb0f96af761198c
2019-10-15 18:13:03 +03:00
Andras Timar
2835fbd845
typo: randonly -> randomly
...
Change-Id: I07b5a322ec3d8f149b2e4a45588bfedfcd28da37
2019-10-08 10:42:23 +02:00
Miklos Vajna
7aac228539
test: use reserve() before calling emplace_back() in a loop
...
Change-Id: Ieb754e9433cad9fc47c3449c1957702e493c7533
2019-05-31 08:34:48 +02:00
Jan Holesovsky
ce95c52234
Fix build.
...
Change-Id: I434a22f14482bf901d08b7c833eaff01e7c9c4f5
2019-02-14 08:44:46 +01:00
Michael Meeks
92cf5707cf
Add calc / typing unit test.
...
Change-Id: Ib62ad6e1a720bdfce41ed5520d7396e83c8f5a91
2019-02-13 18:24:36 +01:00