From 7f8da4cce656fd6119fd6f04da97720f201d3c1e Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 8 Apr 2014 13:29:27 +0200 Subject: [PATCH] Updated layout of test projects --- {tests => test_client}/.classpath | 4 +- {tests => test_client}/.project | 2 +- {tests => test_client}/AndroidManifest.xml | 0 .../assets/fileToUpload.png | Bin .../assets/fileToUploadChunks.MP4 | Bin test_client/build.xml | 92 ++++++++++++++++++ {tests => test_client}/ic_launcher-web.png | Bin .../libs/android-support-v4.jar | Bin {tests => test_client}/project.properties | 0 .../res/drawable-hdpi/ic_launcher.png | Bin .../res/drawable-mdpi/ic_launcher.png | Bin .../res/drawable-xhdpi/ic_launcher.png | Bin .../res/drawable-xxhdpi/ic_launcher.png | Bin .../res/layout/activity_test.xml | 0 {tests => test_client}/res/menu/test.xml | 0 .../res/values-sw600dp/dimens.xml | 0 .../res/values-sw720dp-land/dimens.xml | 0 .../res/values-v11/styles.xml | 0 .../res/values-v14/styles.xml | 0 {tests => test_client}/res/values/dimens.xml | 0 {tests => test_client}/res/values/setup.xml | 0 {tests => test_client}/res/values/strings.xml | 0 {tests => test_client}/res/values/styles.xml | 0 .../lib/test_project/TestActivity.java | 0 .../tests}/.classpath | 8 +- .../test_cases => test_client/tests}/.project | 2 +- .../tests}/AndroidManifest.xml | 0 test_client/tests/ant.properties | 18 ++++ test_client/tests/build.xml | 92 ++++++++++++++++++ .../tests}/project.properties | 0 .../tests}/res/drawable-hdpi/ic_launcher.png | Bin .../tests}/res/drawable-ldpi/ic_launcher.png | Bin .../tests}/res/drawable-mdpi/ic_launcher.png | Bin .../tests}/res/drawable-xhdpi/ic_launcher.png | Bin .../tests}/res/values/strings.xml | 0 .../test_project/test/CreateFolderTest.java | 0 .../test_project/test/CreateShareTest.java | 0 .../lib/test_project/test/DeleteFileTest.java | 0 .../test_project/test/DownloadFileTest.java | 0 .../lib/test_project/test/GetSharesTest.java | 0 .../lib/test_project/test/ReadFileTest.java | 0 .../lib/test_project/test/ReadFolderTest.java | 0 .../test_project/test/RemoveShareTest.java | 0 .../lib/test_project/test/RenameFileTest.java | 0 .../lib/test_project/test/UploadFileTest.java | 0 tests/.settings/org.eclipse.jdt.core.prefs | 4 - .../.settings/org.eclipse.jdt.core.prefs | 4 - 47 files changed, 210 insertions(+), 16 deletions(-) rename {tests => test_client}/.classpath (100%) rename {tests => test_client}/.project (93%) rename {tests => test_client}/AndroidManifest.xml (100%) rename {tests => test_client}/assets/fileToUpload.png (100%) rename {tests => test_client}/assets/fileToUploadChunks.MP4 (100%) create mode 100644 test_client/build.xml rename {tests => test_client}/ic_launcher-web.png (100%) rename {tests => test_client}/libs/android-support-v4.jar (100%) rename {tests => test_client}/project.properties (100%) rename {tests => test_client}/res/drawable-hdpi/ic_launcher.png (100%) rename {tests => test_client}/res/drawable-mdpi/ic_launcher.png (100%) rename {tests => test_client}/res/drawable-xhdpi/ic_launcher.png (100%) rename {tests => test_client}/res/drawable-xxhdpi/ic_launcher.png (100%) rename {tests => test_client}/res/layout/activity_test.xml (100%) rename {tests => test_client}/res/menu/test.xml (100%) rename {tests => test_client}/res/values-sw600dp/dimens.xml (100%) rename {tests => test_client}/res/values-sw720dp-land/dimens.xml (100%) rename {tests => test_client}/res/values-v11/styles.xml (100%) rename {tests => test_client}/res/values-v14/styles.xml (100%) rename {tests => test_client}/res/values/dimens.xml (100%) rename {tests => test_client}/res/values/setup.xml (100%) rename {tests => test_client}/res/values/strings.xml (100%) rename {tests => test_client}/res/values/styles.xml (100%) rename {tests => test_client}/src/com/owncloud/android/lib/test_project/TestActivity.java (100%) rename {tests/test_cases => test_client/tests}/.classpath (76%) rename {tests/test_cases => test_client/tests}/.project (94%) rename {tests/test_cases => test_client/tests}/AndroidManifest.xml (100%) create mode 100644 test_client/tests/ant.properties create mode 100644 test_client/tests/build.xml rename {tests/test_cases => test_client/tests}/project.properties (100%) rename {tests/test_cases => test_client/tests}/res/drawable-hdpi/ic_launcher.png (100%) rename {tests/test_cases => test_client/tests}/res/drawable-ldpi/ic_launcher.png (100%) rename {tests/test_cases => test_client/tests}/res/drawable-mdpi/ic_launcher.png (100%) rename {tests/test_cases => test_client/tests}/res/drawable-xhdpi/ic_launcher.png (100%) rename {tests/test_cases => test_client/tests}/res/values/strings.xml (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/CreateFolderTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/CreateShareTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/DeleteFileTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/DownloadFileTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/GetSharesTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/ReadFileTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/ReadFolderTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/RemoveShareTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/RenameFileTest.java (100%) rename {tests/test_cases => test_client/tests}/src/com/owncloud/android/lib/test_project/test/UploadFileTest.java (100%) delete mode 100644 tests/.settings/org.eclipse.jdt.core.prefs delete mode 100644 tests/test_cases/.settings/org.eclipse.jdt.core.prefs diff --git a/tests/.classpath b/test_client/.classpath similarity index 100% rename from tests/.classpath rename to test_client/.classpath index 51769745..7bc01d9a 100644 --- a/tests/.classpath +++ b/test_client/.classpath @@ -1,9 +1,9 @@ + + - - diff --git a/tests/.project b/test_client/.project similarity index 93% rename from tests/.project rename to test_client/.project index 66824491..30c2462f 100644 --- a/tests/.project +++ b/test_client/.project @@ -1,6 +1,6 @@ - ownCloud Android Library Test Project + ownCloud Android library test project diff --git a/tests/AndroidManifest.xml b/test_client/AndroidManifest.xml similarity index 100% rename from tests/AndroidManifest.xml rename to test_client/AndroidManifest.xml diff --git a/tests/assets/fileToUpload.png b/test_client/assets/fileToUpload.png similarity index 100% rename from tests/assets/fileToUpload.png rename to test_client/assets/fileToUpload.png diff --git a/tests/assets/fileToUploadChunks.MP4 b/test_client/assets/fileToUploadChunks.MP4 similarity index 100% rename from tests/assets/fileToUploadChunks.MP4 rename to test_client/assets/fileToUploadChunks.MP4 diff --git a/test_client/build.xml b/test_client/build.xml new file mode 100644 index 00000000..1be67e32 --- /dev/null +++ b/test_client/build.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/ic_launcher-web.png b/test_client/ic_launcher-web.png similarity index 100% rename from tests/ic_launcher-web.png rename to test_client/ic_launcher-web.png diff --git a/tests/libs/android-support-v4.jar b/test_client/libs/android-support-v4.jar similarity index 100% rename from tests/libs/android-support-v4.jar rename to test_client/libs/android-support-v4.jar diff --git a/tests/project.properties b/test_client/project.properties similarity index 100% rename from tests/project.properties rename to test_client/project.properties diff --git a/tests/res/drawable-hdpi/ic_launcher.png b/test_client/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from tests/res/drawable-hdpi/ic_launcher.png rename to test_client/res/drawable-hdpi/ic_launcher.png diff --git a/tests/res/drawable-mdpi/ic_launcher.png b/test_client/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from tests/res/drawable-mdpi/ic_launcher.png rename to test_client/res/drawable-mdpi/ic_launcher.png diff --git a/tests/res/drawable-xhdpi/ic_launcher.png b/test_client/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from tests/res/drawable-xhdpi/ic_launcher.png rename to test_client/res/drawable-xhdpi/ic_launcher.png diff --git a/tests/res/drawable-xxhdpi/ic_launcher.png b/test_client/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from tests/res/drawable-xxhdpi/ic_launcher.png rename to test_client/res/drawable-xxhdpi/ic_launcher.png diff --git a/tests/res/layout/activity_test.xml b/test_client/res/layout/activity_test.xml similarity index 100% rename from tests/res/layout/activity_test.xml rename to test_client/res/layout/activity_test.xml diff --git a/tests/res/menu/test.xml b/test_client/res/menu/test.xml similarity index 100% rename from tests/res/menu/test.xml rename to test_client/res/menu/test.xml diff --git a/tests/res/values-sw600dp/dimens.xml b/test_client/res/values-sw600dp/dimens.xml similarity index 100% rename from tests/res/values-sw600dp/dimens.xml rename to test_client/res/values-sw600dp/dimens.xml diff --git a/tests/res/values-sw720dp-land/dimens.xml b/test_client/res/values-sw720dp-land/dimens.xml similarity index 100% rename from tests/res/values-sw720dp-land/dimens.xml rename to test_client/res/values-sw720dp-land/dimens.xml diff --git a/tests/res/values-v11/styles.xml b/test_client/res/values-v11/styles.xml similarity index 100% rename from tests/res/values-v11/styles.xml rename to test_client/res/values-v11/styles.xml diff --git a/tests/res/values-v14/styles.xml b/test_client/res/values-v14/styles.xml similarity index 100% rename from tests/res/values-v14/styles.xml rename to test_client/res/values-v14/styles.xml diff --git a/tests/res/values/dimens.xml b/test_client/res/values/dimens.xml similarity index 100% rename from tests/res/values/dimens.xml rename to test_client/res/values/dimens.xml diff --git a/tests/res/values/setup.xml b/test_client/res/values/setup.xml similarity index 100% rename from tests/res/values/setup.xml rename to test_client/res/values/setup.xml diff --git a/tests/res/values/strings.xml b/test_client/res/values/strings.xml similarity index 100% rename from tests/res/values/strings.xml rename to test_client/res/values/strings.xml diff --git a/tests/res/values/styles.xml b/test_client/res/values/styles.xml similarity index 100% rename from tests/res/values/styles.xml rename to test_client/res/values/styles.xml diff --git a/tests/src/com/owncloud/android/lib/test_project/TestActivity.java b/test_client/src/com/owncloud/android/lib/test_project/TestActivity.java similarity index 100% rename from tests/src/com/owncloud/android/lib/test_project/TestActivity.java rename to test_client/src/com/owncloud/android/lib/test_project/TestActivity.java diff --git a/tests/test_cases/.classpath b/test_client/tests/.classpath similarity index 76% rename from tests/test_cases/.classpath rename to test_client/tests/.classpath index 08ef9591..d1c3047c 100644 --- a/tests/test_cases/.classpath +++ b/test_client/tests/.classpath @@ -1,10 +1,10 @@ - - - - + + + + diff --git a/tests/test_cases/.project b/test_client/tests/.project similarity index 94% rename from tests/test_cases/.project rename to test_client/tests/.project index 54097574..f4fb0109 100644 --- a/tests/test_cases/.project +++ b/test_client/tests/.project @@ -1,6 +1,6 @@ - ownCloud Android Library Tests + ownCloud Android library test cases diff --git a/tests/test_cases/AndroidManifest.xml b/test_client/tests/AndroidManifest.xml similarity index 100% rename from tests/test_cases/AndroidManifest.xml rename to test_client/tests/AndroidManifest.xml diff --git a/test_client/tests/ant.properties b/test_client/tests/ant.properties new file mode 100644 index 00000000..16244024 --- /dev/null +++ b/test_client/tests/ant.properties @@ -0,0 +1,18 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + +tested.project.dir=.. diff --git a/test_client/tests/build.xml b/test_client/tests/build.xml new file mode 100644 index 00000000..b3a5cb6a --- /dev/null +++ b/test_client/tests/build.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tests/test_cases/project.properties b/test_client/tests/project.properties similarity index 100% rename from tests/test_cases/project.properties rename to test_client/tests/project.properties diff --git a/tests/test_cases/res/drawable-hdpi/ic_launcher.png b/test_client/tests/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from tests/test_cases/res/drawable-hdpi/ic_launcher.png rename to test_client/tests/res/drawable-hdpi/ic_launcher.png diff --git a/tests/test_cases/res/drawable-ldpi/ic_launcher.png b/test_client/tests/res/drawable-ldpi/ic_launcher.png similarity index 100% rename from tests/test_cases/res/drawable-ldpi/ic_launcher.png rename to test_client/tests/res/drawable-ldpi/ic_launcher.png diff --git a/tests/test_cases/res/drawable-mdpi/ic_launcher.png b/test_client/tests/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from tests/test_cases/res/drawable-mdpi/ic_launcher.png rename to test_client/tests/res/drawable-mdpi/ic_launcher.png diff --git a/tests/test_cases/res/drawable-xhdpi/ic_launcher.png b/test_client/tests/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from tests/test_cases/res/drawable-xhdpi/ic_launcher.png rename to test_client/tests/res/drawable-xhdpi/ic_launcher.png diff --git a/tests/test_cases/res/values/strings.xml b/test_client/tests/res/values/strings.xml similarity index 100% rename from tests/test_cases/res/values/strings.xml rename to test_client/tests/res/values/strings.xml diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/CreateFolderTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/CreateFolderTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/CreateFolderTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/CreateFolderTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/CreateShareTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/CreateShareTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/CreateShareTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/CreateShareTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/DeleteFileTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/DeleteFileTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/DeleteFileTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/DeleteFileTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/DownloadFileTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/DownloadFileTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/DownloadFileTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/DownloadFileTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/GetSharesTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/GetSharesTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/GetSharesTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/GetSharesTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/ReadFileTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/ReadFileTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/ReadFileTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/ReadFileTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/ReadFolderTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/ReadFolderTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/ReadFolderTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/ReadFolderTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/RemoveShareTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/RemoveShareTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/RemoveShareTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/RemoveShareTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/RenameFileTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/RenameFileTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/RenameFileTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/RenameFileTest.java diff --git a/tests/test_cases/src/com/owncloud/android/lib/test_project/test/UploadFileTest.java b/test_client/tests/src/com/owncloud/android/lib/test_project/test/UploadFileTest.java similarity index 100% rename from tests/test_cases/src/com/owncloud/android/lib/test_project/test/UploadFileTest.java rename to test_client/tests/src/com/owncloud/android/lib/test_project/test/UploadFileTest.java diff --git a/tests/.settings/org.eclipse.jdt.core.prefs b/tests/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index b080d2dd..00000000 --- a/tests/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/tests/test_cases/.settings/org.eclipse.jdt.core.prefs b/tests/test_cases/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index b080d2dd..00000000 --- a/tests/test_cases/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.source=1.6