Miklos Vajna
f209773f0a
loolwsd: fix naming style of static members
...
README suggests not using an initial underscore for those. Rename the
few cases which don't respect this recommendation.
Change-Id: If36a36da9374597f6b9090e7f81a1b3fb2f23647
2016-06-07 09:18:49 +02:00
Ashod Nakashian
958f6ffcbd
loolwsd: fix UnitPrefork deadlock/corruption
...
Reading from the socket in the test is not
thread-safe, and was causing all sorts of
problems.
The new code adds a test API and reads the
incoming data through it and not directly
from the socket. In addition, the read is
synchronized.
Change-Id: Id13821a40a59e32fd8a14f733a47306aee42ada8
Reviewed-on: https://gerrit.libreoffice.org/25244
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-21 03:43:15 +00:00
Michael Meeks
6b88e97b63
Add unit test hook for libreofficekit.
2016-05-02 05:40:24 +01:00
Ashod Nakashian
d16f44d7a2
loolwsd: TileCache unittest, hooks, and events
...
Change-Id: Id9e0539d2f920f15b0d0cb8e5924e480ed6d1e87
Reviewed-on: https://gerrit.libreoffice.org/24570
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-05-01 17:16:31 +00:00
Pranav Kant
3e93a212f0
loolwsd: Admin console unit tests
...
Change-Id: Id0baa51c2adb14b77080b5acd2abf0658ee54b2b
2016-04-19 14:40:03 +05:30
Ashod Nakashian
a70c5300b1
loolwsd: childConnected event added to UnitWSD
...
Change-Id: I3d19465229b434d07f50290f08462e9c9c66a6ca
Reviewed-on: https://gerrit.libreoffice.org/24160
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-17 15:26:09 +00:00
Ashod Nakashian
ea83ed2374
loolwsd: configuration manipulation UT hook added
...
Change-Id: If5ab75ee3630e629179dfc8d3c3374795bd2a221
Reviewed-on: https://gerrit.libreoffice.org/24156
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-04-17 15:20:14 +00:00
Michael Meeks
25a092d7de
Add memory accounting metric to UnitPrefork.
...
Also add hooks to allow custom LOK <-> WSD message for this test.
2016-04-12 21:58:27 +01:00
Michael Meeks
5b8f49423d
More kit unit testing tentacles.
2016-04-09 18:29:20 +01:00
Michael Meeks
b308792801
Add infrastructure to inject test pieces into loolforkit.
2016-04-09 18:17:12 +01:00
Michael Meeks
3e618a97e3
Tests: add timeout, and test for timeout.
2016-04-08 17:36:08 +01:00
Tor Lillqvist
f6d9b2c099
Consistency is a virtue
...
(But sure, tons of much more annoying inconsistencies in style
remain.)
2016-04-08 11:09:46 +03:00
Michael Meeks
7d62c74b83
Fix segv on failure to create a storage, and add unit test infra.
2016-04-07 22:21:14 +01:00
Michael Meeks
a454a3c407
Improve test API, and handle failure better.
2016-04-07 19:39:11 +01:00
Michael Meeks
ad13dca8f8
First cut at adding integration and unit test hooks into loolwsd.
...
Add new configure parameter --with-lo-path= which can be used to
auto-populate a system template as required.
2016-04-07 19:38:33 +01:00