libreoffice-online/loolwsd/test
Ashod Nakashian d48d9044a1 loolwsd: run tests on doc copies
Tests can modify the test documents they use.
Currently there is data-loss protection that
saves an open doc if connection is lost with
the client. For tests this means modification
are saved when a connection is terminated
ungracefully and this both adds noise
to the git checkout and makes subsequent
tests fail.

This patch makes temp copies of the original
doc before a test is run and deletes them
afterwards.

Change-Id: I1dd6ff2b839701e85c8bd502ba75170c01fa106e
Reviewed-on: https://gerrit.libreoffice.org/23447
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-03-23 00:00:34 +00:00
..
data loolwsd: add cppunit test partscountchanged 2016-02-20 17:14:10 -04:00
.gitignore loolwsd: cppunit skeleton 2015-10-21 12:06:02 +02:00
httpposttest.cpp loolwsd: run tests on doc copies 2016-03-23 00:00:34 +00:00
httpwstest.cpp loolwsd: run tests on doc copies 2016-03-23 00:00:34 +00:00
Makefile.am loolwsd: add paste testcase 2015-10-28 10:42:29 +01:00
test.cpp loolwsd: cppunit skeleton 2015-10-21 12:06:02 +02:00