From: Bartek Przybylski Date: Sun, 30 Sep 2012 12:01:36 +0000 (+0200) Subject: let tests run on emulator 2.2 X-Git-Tag: oc-android-1.4.3~171 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/369f2adb504697f24e7fa8c5f62822bfb9f1a0c3?hp=-c let tests run on emulator 2.2 --- 369f2adb504697f24e7fa8c5f62822bfb9f1a0c3 diff --git a/.classpath b/.classpath index a4763d1e..3f9691c5 100644 --- a/.classpath +++ b/.classpath @@ -1,8 +1,8 @@ - - + + diff --git a/tests/.classpath b/tests/.classpath index f8cb89d9..4abbae7c 100644 --- a/tests/.classpath +++ b/tests/.classpath @@ -1,10 +1,10 @@ - - + + diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml index bc65d1c0..8c613c20 100644 --- a/tests/AndroidManifest.xml +++ b/tests/AndroidManifest.xml @@ -1,19 +1,21 @@ + - - - - - - + package="com.owncloud.android.test" + android:versionCode="1" + android:versionName="1.0"> + + - - \ No newline at end of file + + + diff --git a/tests/src/com/owncloud/android/test/AccountUtilsTest.java b/tests/src/com/owncloud/android/test/AccountUtilsTest.java index 582e9681..d444b916 100644 --- a/tests/src/com/owncloud/android/test/AccountUtilsTest.java +++ b/tests/src/com/owncloud/android/test/AccountUtilsTest.java @@ -1,15 +1,12 @@ package com.owncloud.android.test; -import org.junit.Test; +import android.test.AndroidTestCase; import com.owncloud.android.AccountUtils; import com.owncloud.android.utils.OwnCloudVersion; -import junit.framework.TestCase; - -public class AccountUtilsTest extends TestCase { +public class AccountUtilsTest extends AndroidTestCase { - @Test public void testGetWebdavPath() { OwnCloudVersion ocv12 = new OwnCloudVersion(0x010200); OwnCloudVersion ocv22 = new OwnCloudVersion(0x020200);