libreoffice-online/test
Ashod Nakashian d06ad733c5 wsd: improved RequestDetails parsing and documentation
...with support for properly extracting the different
fields with unit-test.

URIs are quite complex and varied. For historic reasons
they have all been treated without distinction, which
makes support for all variants difficult. RequestDetails
encapsulates this complexity, and now it is almost
completely documented both descriptively and functionally
(via extensive unit-tests).

Parsing of the URIs is now more structured by having
named fields instead of relying on knowing which
token should contain which field, which is error-prone
and very opaque.

Change-Id: I68d07c2e00baf43f0ade97d20f62691ffb3bf576
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95292
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-06-02 20:04:48 +02:00
..
data
.gitignore
countloolkits.hpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
DeltaTests.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
fakesockettest.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
helpers.hpp wsd: performance-unnecessary-value-param 2020-06-02 20:01:29 +02:00
httpcrashtest.cpp killpoco: removed Poco::Thread from net directory 2020-05-04 13:57:46 +02:00
httpwstest.cpp
integration-http-server.cpp
lokassert.hpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
Makefile.am wsd: RequestDetails takes the service root as argument 2020-06-02 17:28:40 +02:00
run_unit.sh.in
test.cpp
test.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
TileCacheTests.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
TileQueueTests.cpp
UnitAdmin.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitBadDocLoad.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitCalc.cpp
UnitClient.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
UnitClose.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitConvert.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
UnitCopyPaste.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
UnitCursor.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitEachView.cpp
UnitFuzz.cpp kill IoUtil - obsolete & unused. 2020-04-10 16:38:25 +02:00
UnitHosting.cpp
UnitHTTP.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
UnitInsertDelete.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitLargePaste.cpp
UnitLoad.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitLoadTorture.cpp test: increase load timeout in UnitLoadTorture 2020-03-20 10:47:59 +01:00
UnitOAuth.cpp
UnitOOB.cpp kill IoUtil - obsolete & unused. 2020-04-10 16:38:25 +02:00
UnitPasswordProtected.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitPaste.cpp
UnitPrefork.cpp
UnitRenderingOptions.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitRenderShape.cpp
UnitSession.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitStorage.cpp
UnitTiffLoad.cpp
UnitTileCache.cpp
UnitTimeout.cpp
UnitTyping.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
UnitUNOCommand.cpp wsd: single-char string literals -> char 2020-06-02 01:31:26 +02:00
UnitWOPI.cpp
UnitWOPIDocumentConflict.cpp Poll - switch to ppoll for closer to microsecond accuracy. 2020-04-10 10:06:23 +02:00
UnitWOPILoadEncoded.cpp
UnitWopiOwnertermination.cpp
UnitWOPIRenameFile.cpp
UnitWOPISaveAs.cpp
UnitWOPITemplate.cpp Storage: add as_scheme to allow auto-determination of whether to use SSL. 2020-04-30 14:53:25 +02:00
UnitWOPIVersionRestore.cpp
UnitWOPIWatermark.cpp wsd: move LOOLProtocol::tokenize to Util::tokenize 2020-06-02 18:03:36 +01:00
WhiteBoxTests.cpp wsd: improved RequestDetails parsing and documentation 2020-06-02 20:04:48 +02:00
WopiProofTests.cpp Ticks count is signed 2020-04-09 09:27:23 +02:00
WopiTestServer.hpp wsd: single-char string literals -> char 2020-06-02 17:22:26 +02:00