summaryrefslogtreecommitdiffstats
path: root/test/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Revert incomplete deltas work with blue surrounds.Michael Meeks2017-12-011-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pushed in error, and not ready for prime-time: Revert "Deltas - collapse multiple rows to a single row." This reverts commit 74f44251b782e5cab42960d1e328102a1538e72f. Revert "Convert Javascript to row deltas." This reverts commit fa86ba9ec5ecb418bd025c0bc7bbea8456409c07. Revert "Make delta-builder row-based." This reverts commit 5efb59db50a49374bcf53198f7c0a1e120754cc9. Revert "Start of Delta unit-tests." This reverts commit 42d264eeb00fc14bb89104c7dc8b3bcd53897e30. Revert "Move the Delta generator out into its own file." This reverts commit 78398d4482a5a39c87d7c0ec88fc9d357f73408c. Revert "Insert pixels from 'new' not 'old'." This reverts commit ed8807a1a5a613f54dfc5a204294e870969254e2. Revert "Deltas should be pixel based, add debugging." This reverts commit b1124c05a89007bd00f29be3e1a42d7817458048. Revert "Start of delta creator." This reverts commit 0bfbbf98510f82eb9a8ff3dc44254bd848458d53.
* Start of Delta unit-tests.Michael Meeks2017-11-221-0/+1
| | | | Change-Id: I1a25f5347c0d7430000146bb585a041d363bcf37
* tdf#99744 SaveAs: Reimplementation of the PutRelativeFile going through Kit.Jan Holesovsky2017-10-261-2/+4
| | | | | | | | This is necessary so that changing of the file type works. Includes a unit test. Change-Id: Id01d44e555b6bac1002ff950de461fd330602f63
* PutFile ext: X-LOOL-WOPI-IsModifiedByUser unit test.Jan Holesovsky2017-09-271-2/+5
| | | | | | | Change-Id: I0b1ffc74dbbc771f0dcb68f87d46af3ba469ae9e Reviewed-on: https://gerrit.libreoffice.org/42855 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* Implement more reliable in-process short-cuts.Michael Meeks2017-09-191-2/+2
| | | | Change-Id: Icdfa71affad147c29df175ae687cbecc3f1f171b
* Re-factor pid hunting code into test.cpp where we can do better.Michael Meeks2017-09-191-5/+20
| | | | | | Prepare the ground for using WSD hooks for this. Change-Id: I5c3e32396b335ad189472ab3a51044372ee304b2
* unit tests: Really bail out on error; and no need for a tempfile.Jan Holesovsky2017-08-171-1/+1
| | | | Change-Id: I53c1ab62bf9293217a5cada54c358292364ed60a
* access_header: Infrastructure for providing custom headers for authentication.Jan Holesovsky2017-08-171-0/+1
| | | | | | | | Change-Id: I52e61dc01dbad0d501471e663aaf364d9bc23c52 Reviewed-on: https://gerrit.libreoffice.org/41223 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* wsd: Fix the OAuth unit test.Jan Holesovsky2017-08-091-4/+4
| | | | | | | | Trying to combine the Poco's http server together with our polling loop leads only to problem; so instead let's introduce a hook where we can do the WOPI serving directly in the unit test. Change-Id: Id3fec6ff93c3ad652aa4e0fc6309c5b7639728cb
* wsd: OAuth token passingHenry Castro2017-08-031-1/+3
| | | | | | | | MS-WOPI: "The following HTTP header MUST be included in all WOPI requests." "Authorization "Bearer" and <token>" Change-Id: Ie5327286e93b86a49a0248ff5886bf3ea99df768
* Use WireIds instead of long hashes to identify tiles efficiently.Michael Meeks2017-06-201-1/+1
| | | | | | | | Changes protocol to use 'wid' instead of 'hash' everywhere. Wire-ids are monotonically increasing integers that can be mapped to hash values for all of the hash values and tiles we cache internally. Change-Id: Ibcb25817bab0f453e93d52a6f99d3ff65059e47d
* Run old-style unit tests as a new-style unit test.Michael Meeks2017-06-021-2/+4
| | | | | | | | This moves the code into the same process, for easier logging & debugging. Disabled initially. Change-Id: Id48b5649ba14deb0a2159ca59e321c7d0ae66dad
* Run fc-cache before running the unit tests too.Jan Holesovsky2017-04-051-0/+3
| | | | Change-Id: I5d0cc0a1299cfdf1dc0e421d5fab8e2705a258ff
* UnitStorage - first cut at restoring this.Michael Meeks2017-03-311-1/+1
|
* UnitTimeout: repair unit test timeout fidelity.Michael Meeks2017-03-311-1/+1
|
* Tests: enable tilecache test and bin socket buffer size test.Michael Meeks2017-03-311-4/+2
|
* Makefile: Simplify and link zlib properlyPranav Kant2017-03-311-1/+1
| | | | | | | | | | | | | | | Without this, online doesn't link, atleast for me. The problem seems to be because in presence of target specific _LDFLAGS, AM_LDFLAGS is ignored and it is only the latter where we are specifying ZLIB_LIBS. Further, since the LDFLAGS values are same for all targets, we can simplify here and rather use AM_LDFLAGS and remove all target specific LDFLAGS. Change-Id: I2f1c30c7f34b32c638a4ac60fab709b32f1e6c9a Reviewed-on: https://gerrit.libreoffice.org/35959 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
* Re-enable UnitPrefork.Michael Meeks2017-03-301-1/+1
|
* test: remove duplicate common/Util.cppHenry Castro2017-03-301-1/+0
| | | | Change-Id: I65cfd6a0460a09f7ed3708082127a2ff939e7622
* Cleanup prctl / gettid system-call thrash on logging.Michael Meeks2017-03-301-0/+1
| | | | Makes the strace look much prettier.
* UnitPrefork - restore most of the functionality.Michael Meeks2017-03-161-2/+1
| | | | No need for the memory reporting bits now that Admin gets this right.
* UnitFonts - disable.Michael Meeks2017-03-161-3/+1
| | | | Now we use the forkit, font lists are always the same in kit & forkit.
* Remove un-necesssary and inefficient wakeupWorld.Michael Meeks2017-03-151-0/+1
| | | | | | While message emplacement happens in the DocumentBroker poll, we can be sure that the next iteration of the poll will call hasQueuedWrites before polling.
* Disable new-style unit tests for now.Michael Meeks2017-03-101-1/+1
|
* signal handling: keep track of all socket poll wakeups & wakeup.Michael Meeks2017-03-101-1/+2
| | | | Instead of waiting for polls to timeout; wake them up.
* nb: This file is not needed any more.Jan Holesovsky2017-03-101-1/+0
| | | | Change-Id: Ic73ddcc61495889fd36eb6f23f41c1bd45eb85c6
* nb: Use the non-blocking socket in the loolwsd.Jan Holesovsky2017-03-101-1/+2
| | | | | | This so far only builds, but I did not even try to run it yet. Change-Id: Iceacb5fc5c8994726508e8ea00bd495d758391a8
* Skip unit-oob.la for now as loading it fails with an undefined symbolTor Lillqvist2017-01-161-1/+4
| | | | | | | | | | Which is not odd, as it seems to be a forkit process that tries to load unit-oob.so, and the symbol in question, UnitWSD::testHandleRequest(UnitWSD::TestRequest, UnitHTTPServerRequest&, UnitHTTPServerResponse&), is in LOOWSD.cpp. Oh well. Whatever. Change-Id: I0e0409b7247acdcd00e830d6fa63e73f27ea6c3a
* loolwsd: run whitebox unittests with `make check`Ashod Nakashian2016-12-191-5/+5
| | | | | | | Change-Id: I4354e1f42f33a5b2181a895077e1e16abb4e2c99 Reviewed-on: https://gerrit.libreoffice.org/32154 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
* tdf#104695: Unit test for missing tiles due to low socket buffer sizePranav Kant2016-12-161-2/+4
| | | | | | | Change-Id: I278c5d532cb9b6340dee71a4b66410b32a164704 Reviewed-on: https://gerrit.libreoffice.org/32072 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* Bin this unit testPranav Kant2016-12-161-4/+2
| | | | | | | | | | This was added while debugging some problem with forward slashes in docurl in websocket endpoint automatically being decoded on some machines. But it turned out it was due to the apache server setting. So, this test serves no purpose now and tests something really obvious. Change-Id: I4658354d53c481cf7554804383892f501bc408cd
* loolwsd: per-socket dedicated sending threadAshod Nakashian2016-12-141-1/+0
| | | | | | | | | | | To avoid degrading performance for everyone because of a single slow/bad connection, we send data to clients each in its own thread. Change-Id: I6f980c25a404c4d05bcdb1979849ea3d2776c7b9 Reviewed-on: https://gerrit.libreoffice.org/31984 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
* loolwsd: move SenderQueue to wsdAshod Nakashian2016-12-121-1/+1
| | | | | | | Change-Id: I33af4d1b2bbf0305cbc5fa6f05266d126f1bb803 Reviewed-on: https://gerrit.libreoffice.org/31884 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
* loolwsd: SenderQueue to hold messages to send to clientsAshod Nakashian2016-12-121-1/+2
| | | | | | | | | | | | | This adds SenderQueue and a wrapper of messages to send back to clients. Currently no threading takes place, but the messages are pumped through the queue nonetheless. Change-Id: Id9997539c0a2a351cbf406f649c268dd3643e88e Reviewed-on: https://gerrit.libreoffice.org/31883 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
* Unit test to avoid assert returning.Michael Meeks2016-12-081-2/+4
|
* Adapt makefiles, includes etc. to new locations.Michael Meeks2016-11-251-10/+11
|
* Apply the pre-branch rename script to re-organize the source.Michael Meeks2016-11-251-0/+90