Added a reflective UPC-E unit test. We cannot decode any of these silver on silver barcodes.

git-svn-id: https://zxing.googlecode.com/svn/trunk@509 59b500cc-1b3d-0410-9834-0bbf25fbcc57
diff --git a/core/test/data/blackbox/upce-3/01.jpg b/core/test/data/blackbox/upce-3/01.jpg
new file mode 100755
index 0000000..1c81ac8
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/01.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/01.txt b/core/test/data/blackbox/upce-3/01.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/01.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/02.jpg b/core/test/data/blackbox/upce-3/02.jpg
new file mode 100755
index 0000000..7c179f3
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/02.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/02.txt b/core/test/data/blackbox/upce-3/02.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/02.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/03.jpg b/core/test/data/blackbox/upce-3/03.jpg
new file mode 100755
index 0000000..ad66a12
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/03.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/03.txt b/core/test/data/blackbox/upce-3/03.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/03.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/04.jpg b/core/test/data/blackbox/upce-3/04.jpg
new file mode 100755
index 0000000..8137670
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/04.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/04.txt b/core/test/data/blackbox/upce-3/04.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/04.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/05.jpg b/core/test/data/blackbox/upce-3/05.jpg
new file mode 100755
index 0000000..ada12f5
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/05.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/05.txt b/core/test/data/blackbox/upce-3/05.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/05.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/06.jpg b/core/test/data/blackbox/upce-3/06.jpg
new file mode 100755
index 0000000..5af8b70
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/06.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/06.txt b/core/test/data/blackbox/upce-3/06.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/06.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/07.jpg b/core/test/data/blackbox/upce-3/07.jpg
new file mode 100755
index 0000000..4aa4c29
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/07.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/07.txt b/core/test/data/blackbox/upce-3/07.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/07.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/08.jpg b/core/test/data/blackbox/upce-3/08.jpg
new file mode 100755
index 0000000..99bcaab
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/08.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/08.txt b/core/test/data/blackbox/upce-3/08.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/08.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/09.jpg b/core/test/data/blackbox/upce-3/09.jpg
new file mode 100755
index 0000000..8250238
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/09.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/09.txt b/core/test/data/blackbox/upce-3/09.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/09.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/10.jpg b/core/test/data/blackbox/upce-3/10.jpg
new file mode 100755
index 0000000..4209aef
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/10.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/10.txt b/core/test/data/blackbox/upce-3/10.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/10.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/data/blackbox/upce-3/11.jpg b/core/test/data/blackbox/upce-3/11.jpg
new file mode 100755
index 0000000..9180195
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/11.jpg
Binary files differ
diff --git a/core/test/data/blackbox/upce-3/11.txt b/core/test/data/blackbox/upce-3/11.txt
new file mode 100644
index 0000000..e33c450
--- /dev/null
+++ b/core/test/data/blackbox/upce-3/11.txt
@@ -0,0 +1 @@
+04965802
\ No newline at end of file
diff --git a/core/test/src/com/google/zxing/oned/UPCEBlackBox3ReflectiveTestCase.java b/core/test/src/com/google/zxing/oned/UPCEBlackBox3ReflectiveTestCase.java
new file mode 100644
index 0000000..ee0e31a
--- /dev/null
+++ b/core/test/src/com/google/zxing/oned/UPCEBlackBox3ReflectiveTestCase.java
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2008 ZXing authors
+ *
+ * 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.google.zxing.oned;
+
+import com.google.zxing.MultiFormatReader;
+import com.google.zxing.BarcodeFormat;
+import com.google.zxing.common.AbstractBlackBoxTestCase;
+
+import java.io.File;
+
+/**
+ * @author dswitkin@google.com (Daniel Switkin)
+ */
+public final class UPCEBlackBox3ReflectiveTestCase extends AbstractBlackBoxTestCase {
+
+  public UPCEBlackBox3ReflectiveTestCase() {
+    super(new File("test/data/blackbox/upce-3"), new MultiFormatReader(), BarcodeFormat.UPC_E);
+    addTest(0, 0, 0.0f);
+    addTest(0, 0, 180.0f);
+  }
+
+}