summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
diff options
context:
space:
mode:
authorEarl Ou <shunhsingou@google.com>2012-09-19 11:59:45 +0800
committerEarl Ou <shunhsingou@google.com>2012-09-19 19:03:06 +0800
commit2abb15cd5ac2dc5987c409023af2d1bf7851d74c (patch)
tree7a3d9dc9c63952720af41934072d84d253781c6a /tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
parentb5b30a05b575cac7b00e5f793004900307c3cbc6 (diff)
downloadandroid_packages_apps_Snap-2abb15cd5ac2dc5987c409023af2d1bf7851d74c.tar.gz
android_packages_apps_Snap-2abb15cd5ac2dc5987c409023af2d1bf7851d74c.tar.bz2
android_packages_apps_Snap-2abb15cd5ac2dc5987c409023af2d1bf7851d74c.zip
Tests for ExifData
Bug:7192363 Change-Id: Ic74ecad2eff50e26efa85f928ef7904a2c51ecc7
Diffstat (limited to 'tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java')
-rw-r--r--tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java b/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
new file mode 100644
index 000000000..41b315181
--- /dev/null
+++ b/tests/src/com/android/gallery3d/exif/ExifXmlDataTestCase.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package com.android.gallery3d.exif;
+
+import android.test.InstrumentationTestCase;
+
+public class ExifXmlDataTestCase extends InstrumentationTestCase {
+ protected final int mImageResourceId;
+ protected final int mXmlResourceId;
+
+ public ExifXmlDataTestCase(int imageRes, int xmlRes) {
+ mImageResourceId = imageRes;
+ mXmlResourceId = xmlRes;
+ }
+}