summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/gallery3d/exif/ExifReaderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/com/android/gallery3d/exif/ExifReaderTest.java')
-rw-r--r--tests/src/com/android/gallery3d/exif/ExifReaderTest.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/src/com/android/gallery3d/exif/ExifReaderTest.java b/tests/src/com/android/gallery3d/exif/ExifReaderTest.java
index 74b8bd3d8..269120870 100644
--- a/tests/src/com/android/gallery3d/exif/ExifReaderTest.java
+++ b/tests/src/com/android/gallery3d/exif/ExifReaderTest.java
@@ -18,18 +18,14 @@ package com.android.gallery3d.exif;
import android.content.res.XmlResourceParser;
import android.graphics.BitmapFactory;
-import android.test.InstrumentationTestCase;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
-public class ExifReaderTest extends InstrumentationTestCase {
+public class ExifReaderTest extends ExifXmlDataTestCase {
private static final String TAG = "ExifReaderTest";
- private final int mImageResourceId;
- private final int mXmlResourceId;
-
private final HashMap<Short, String> mIfd0Value = new HashMap<Short, String>();
private final HashMap<Short, String> mIfd1Value = new HashMap<Short, String>();
private final HashMap<Short, String> mExifIfdValue = new HashMap<Short, String>();
@@ -38,8 +34,7 @@ public class ExifReaderTest extends InstrumentationTestCase {
private InputStream mImageInputStream;
public ExifReaderTest(int imageResourceId, int xmlResourceId) {
- mImageResourceId = imageResourceId;
- mXmlResourceId = xmlResourceId;
+ super(imageResourceId, xmlResourceId);
}
@Override