nextcloud/tests
Daniel Calviño Sánchez bc84aa0269 Include empty directories in the default state of acceptance tests
Before each scenario of the acceptance tests is run the Nextcloud server
is reset to a default state. To do this the full directory of the
Nextcloud server is commited to a local Git repository and then reset to
that commit when needed.

Unfortunately, Git does not support including empty directories in a
commit. Due to this, when the default state was restored, it could
happen that the file cache listed an empty directory that did not exist
because it was not properly restored (for example,
"data/appdata_*/css/icons"), and that in turn could lead to an error
when the directory was used.

Currently the only way to force Git to include an empty directory is to
add a dummy file to the directory (so it will no longer be empty,
but that should not be a problem in the affected directories, even if
the dummy file is not included in the file cache); although Git FAQ
suggests using a ".gitignore" file a ".keep" file was used instead, as
it conveys better its purpose.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-09-18 10:23:35 +02:00
..
Core Merge pull request #10743 from danielkesselberg/bugfix/noid/allow-password-reset-for-duplicate-email 2018-09-13 10:48:30 +02:00
Settings Change check if secure randomness is possible. 2018-08-24 23:12:02 +02:00
acceptance Include empty directories in the default state of acceptance tests 2018-09-18 10:23:35 +02:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
data Testcase for HEIC image (similar to the ImageTest) 2018-08-11 01:22:57 +02:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Add breadcrumb support to crash reporters 2018-09-05 20:58:39 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
ui-regression Keep timestamp replacements at the beginning 2018-07-30 15:24:46 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js Bump karma config 2018-07-20 23:38:04 +02:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Add tests 2018-01-25 13:44:47 +01:00
preseed-config.php add azure unit tests with azurite 2018-06-04 16:18:03 +02:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00