diff options
author | Robin McCorkell <robin@mccorkell.me.uk> | 2016-04-13 23:18:07 +0100 |
---|---|---|
committer | Robin McCorkell <robin@mccorkell.me.uk> | 2016-04-14 00:44:28 +0100 |
commit | 4717605d22f5f60e887b5584e8da25b8ef69cdf4 (patch) | |
tree | 8c8ff5df9adaf4701375ef3a8bc76f3e4aa04d0b /autotest-external.sh | |
parent | 3c0a1d4241c16c13b3fd93406402320284d153d9 (diff) | |
download | nextcloud-server-4717605d22f5f60e887b5584e8da25b8ef69cdf4.tar.gz nextcloud-server-4717605d22f5f60e887b5584e8da25b8ef69cdf4.zip |
Fix storage backend class namespaces and move to subdir
All classes that were previously \OC\Files\Storage\FooBar are now
\OCA\Files_External\Lib\Storage\FooBar
Diffstat (limited to 'autotest-external.sh')
-rwxr-xr-x | autotest-external.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/autotest-external.sh b/autotest-external.sh index ef6516c0721..9705980aa2b 100755 --- a/autotest-external.sh +++ b/autotest-external.sh @@ -178,7 +178,7 @@ EOF return; fi - FILES_EXTERNAL_BACKEND_PATH=../apps/files_external/tests/backends + FILES_EXTERNAL_BACKEND_PATH=../apps/files_external/tests/storage FILES_EXTERNAL_BACKEND_ENV_PATH=../apps/files_external/tests/env for startFile in `ls -1 $FILES_EXTERNAL_BACKEND_ENV_PATH | grep start`; do @@ -198,16 +198,17 @@ EOF # getting backend to test from filename # it's the part between the dots startSomething.TestToRun.sh testToRun=`echo $startFile | cut -d '-' -f 2` + testToRun="${testToRun}test.php" # run the specific test if [ -z "$NOCOVERAGE" ]; then rm -rf "coverage-external-html-$1-$name" mkdir "coverage-external-html-$1-$name" - "$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1-$name.xml" --coverage-clover "autotest-external-clover-$1-$name.xml" --coverage-html "coverage-external-html-$1-$name" "$FILES_EXTERNAL_BACKEND_PATH/$testToRun.php" + "$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1-$name.xml" --coverage-clover "autotest-external-clover-$1-$name.xml" --coverage-html "coverage-external-html-$1-$name" "$FILES_EXTERNAL_BACKEND_PATH/$testToRun" RESULT=$? else echo "No coverage" - "$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1-$name.xml" "$FILES_EXTERNAL_BACKEND_PATH/$testToRun.php" + "$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1-$name.xml" "$FILES_EXTERNAL_BACKEND_PATH/$testToRun" RESULT=$? fi else |