Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactoring of the acceptance project

  • Loading branch information...
commit 09eff8f81a60ee22fe8c4389739fcf4bf221dd56 1 parent 3eb7a2b
@luigi-agosti luigi-agosti authored
View
20 acceptance/AndroidManifest.xml
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.novoda.lib.imageloadertester.test"
- android:versionCode="1"
- android:versionName="1.0">
- <uses-sdk android:minSdkVersion="8" />
- <uses-sdk android:targetSdkVersion="8" />
- <instrumentation android:targetPackage="com.novoda.lib.imageloadertester" android:name="android.test.InstrumentationTestRunner" />
- <application android:icon="@drawable/icon" android:label="@string/app_name">
- <uses-library android:name="android.test.runner" />
- </application>
+<manifest xmlns:a="http://schemas.android.com/apk/res/android"
+ package="com.novoda.imageloader.acceptance" a:versionCode="1"
+ a:versionName="1.0">
+ <uses-sdk a:minSdkVersion="8" />
+ <uses-sdk a:targetSdkVersion="8" />
+ <instrumentation a:targetPackage="com.novoda.imageloader.demo"
+ a:name="android.test.InstrumentationTestRunner" />
+ <application a:icon="@drawable/icon" a:label="@string/app_name">
+ <uses-library a:name="android.test.runner" />
+ </application>
</manifest>
View
23 acceptance/gen/com/novoda/lib/imageloadertester/test/R.java
@@ -1,23 +0,0 @@
-/* AUTO-GENERATED FILE. DO NOT MODIFY.
- *
- * This class was automatically generated by the
- * aapt tool from the resource data it found. It
- * should not be modified by hand.
- */
-
-package com.novoda.lib.imageloadertester.test;
-
-public final class R {
- public static final class attr {
- }
- public static final class drawable {
- public static final int icon=0x7f020000;
- }
- public static final class layout {
- public static final int main=0x7f030000;
- }
- public static final class string {
- public static final int app_name=0x7f040001;
- public static final int hello=0x7f040000;
- }
-}
View
40 acceptance/proguard.cfg
@@ -1,40 +0,0 @@
--optimizationpasses 5
--dontusemixedcaseclassnames
--dontskipnonpubliclibraryclasses
--dontpreverify
--verbose
--optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-
--keep public class * extends android.app.Activity
--keep public class * extends android.app.Application
--keep public class * extends android.app.Service
--keep public class * extends android.content.BroadcastReceiver
--keep public class * extends android.content.ContentProvider
--keep public class * extends android.app.backup.BackupAgentHelper
--keep public class * extends android.preference.Preference
--keep public class com.android.vending.licensing.ILicensingService
-
--keepclasseswithmembernames class * {
- native <methods>;
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet);
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet, int);
-}
-
--keepclassmembers class * extends android.app.Activity {
- public void *(android.view.View);
-}
-
--keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
-}
-
--keep class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
-}
View
5 acceptance/res/layout/main.xml
@@ -4,9 +4,4 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
-<TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/hello"
- />
</LinearLayout>
View
3  acceptance/res/values/strings.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="hello">Hello World!</string>
- <string name="app_name">ImageLoaderDemoTest</string>
+ <string name="app_name">ImageLoaderAcceptanceTest</string>
</resources>
View
10 ...oadertester/test/ImageLoaderTestActivityTest.java → ...oader/acceptance/ImageLoaderDemoActivityTest.java
@@ -1,13 +1,13 @@
-package com.novoda.lib.imageloadertester.test;
+package com.novoda.imageloader.acceptance;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.LargeTest;
import android.widget.ListView;
import com.jayway.android.robotium.solo.Solo;
-import com.novoda.lib.imageloadertester.ImageLoaderTestActivity;
+import com.novoda.imageloader.demo.ImageLoaderDemoActivity;
-public class ImageLoaderTestActivityTest extends ActivityInstrumentationTestCase2<ImageLoaderTestActivity>{
+public class ImageLoaderDemoActivityTest extends ActivityInstrumentationTestCase2<ImageLoaderDemoActivity>{
private static final int QUICK = 2;
private static final int NORMAL = 7;
@@ -15,8 +15,8 @@
private Solo robotium;
private ListView list;
- public ImageLoaderTestActivityTest() {
- super("com.novoda.lib.imageloadertester",ImageLoaderTestActivity.class);
+ public ImageLoaderDemoActivityTest() {
+ super("com.novoda.imageloader.demo", ImageLoaderDemoActivity.class);
}
@Override
Please sign in to comment.
Something went wrong with that request. Please try again.