Skip to content

Commit

Permalink
Move resources to match Maven standard directory structure
Browse files Browse the repository at this point in the history
git-svn-id: https://zxing.googlecode.com/svn/trunk@2915 59b500cc-1b3d-0410-9834-0bbf25fbcc57
  • Loading branch information
[email protected] committed Nov 21, 2013
1 parent cc8254b commit 1bcc298
Show file tree
Hide file tree
Showing 2,707 changed files with 126 additions and 135 deletions.
11 changes: 5 additions & 6 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-->
<project name="ZXing" default="release">

<property name="version" value="2.2"/>
<property name="version" value="2.3.0"/>

<target name="release">
<zip file="ZXing-${version}.zip" level="9">
Expand All @@ -25,8 +25,7 @@
<exclude name="**/.svn"/>
<exclude name="**/*.iml"/>
<exclude name="**/bin/**"/>
<exclude name="**/build/**"/>
<exclude name="**/gen/**"/>
<exclude name="**/gen/**"/>
<exclude name="**/target/**"/>
<exclude name="**/local.properties"/>
<include name="AUTHORS"/>
Expand All @@ -41,7 +40,7 @@
<include name="androidtest/**"/>
<exclude name="androidtest/libs/**"/>
<include name="core/**"/>
<exclude name="core/test/data/**"/> <!-- included separately below -->
<exclude name="core/src/test/resources/**"/> <!-- included separately below -->
<include name="cpp/**"/>
<include name="csharp/**"/>
<include name="iphone/**"/>
Expand All @@ -51,15 +50,15 @@
<include name="qt/**"/>
<include name="zxing.appspot.com/**"/>
<include name="zxingorg/**"/>
<exclude name="zxingorg/resources/private/**"/>
<exclude name="**/private/**"/>
</zipfileset>
</zip>
<!-- Separate out test data files now to make download more manageable -->
<zip file="ZXing-${version}-testdata.zip" level="9">
<zipfileset dir="." prefix="zxing-${version}" followsymlinks="false">
<exclude name="**/.*"/>
<exclude name="**/.svn"/>
<include name="core/test/data/**"/>
<include name="core/src/test/resources/**"/>
</zipfileset>
</zip>
</target>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public final class AztecBlackBox1TestCase extends AbstractBlackBoxTestCase {

public AztecBlackBox1TestCase() {
super("test/data/blackbox/aztec-1", new AztecReader(), BarcodeFormat.AZTEC);
super("src/test/resources/blackbox/aztec-1", new AztecReader(), BarcodeFormat.AZTEC);
addTest(12, 12, 0.0f);
addTest(12, 12, 90.0f);
addTest(12, 12, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public final class AztecBlackBox2TestCase extends AbstractBlackBoxTestCase {

public AztecBlackBox2TestCase() {
super("test/data/blackbox/aztec-2", new AztecReader(), BarcodeFormat.AZTEC);
super("src/test/resources/blackbox/aztec-2", new AztecReader(), BarcodeFormat.AZTEC);
addTest(5, 5, 0.0f);
addTest(4, 4, 90.0f);
addTest(6, 6, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class DataMatrixBlackBox1TestCase extends AbstractBlackBoxTestCase {

public DataMatrixBlackBox1TestCase() {
super("test/data/blackbox/datamatrix-1", new MultiFormatReader(), BarcodeFormat.DATA_MATRIX);
super("src/test/resources/blackbox/datamatrix-1", new MultiFormatReader(), BarcodeFormat.DATA_MATRIX);
addTest(18, 18, 0.0f);
addTest(18, 18, 90.0f);
addTest(18, 18, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class DataMatrixBlackBox2TestCase extends AbstractBlackBoxTestCase {

public DataMatrixBlackBox2TestCase() {
super("test/data/blackbox/datamatrix-2", new MultiFormatReader(), BarcodeFormat.DATA_MATRIX);
super("src/test/resources/blackbox/datamatrix-2", new MultiFormatReader(), BarcodeFormat.DATA_MATRIX);
addTest(8, 15, 0, 1, 0.0f);
addTest(14, 16, 0, 1, 90.0f);
addTest(14, 15, 0, 1, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class FalsePositives2BlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {

public FalsePositives2BlackBoxTestCase() {
super("test/data/blackbox/falsepositives-2");
super("src/test/resources/blackbox/falsepositives-2");
addTest(4, 0.0f);
addTest(4, 90.0f);
addTest(4, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class FalsePositivesBlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {

public FalsePositivesBlackBoxTestCase() {
super("test/data/blackbox/falsepositives");
super("src/test/resources/blackbox/falsepositives");
addTest(2, 0.0f);
addTest(2, 90.0f);
addTest(2, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class PartialBlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {

public PartialBlackBoxTestCase() {
super("test/data/blackbox/partial");
super("src/test/resources/blackbox/partial");
addTest(2, 0.0f);
addTest(2, 90.0f);
addTest(2, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UnsupportedBlackBoxTestCase extends AbstractNegativeBlackBoxTestCase {

public UnsupportedBlackBoxTestCase() {
super("test/data/blackbox/unsupported");
super("src/test/resources/blackbox/unsupported");
addTest(0, 0.0f);
addTest(0, 90.0f);
addTest(0, 180.0f);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class CodabarBlackBox1TestCase extends AbstractBlackBoxTestCase {

public CodabarBlackBox1TestCase() {
super("test/data/blackbox/codabar-1", new MultiFormatReader(), BarcodeFormat.CODABAR);
super("src/test/resources/blackbox/codabar-1", new MultiFormatReader(), BarcodeFormat.CODABAR);
addTest(11, 11, 0.0f);
addTest(11, 11, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code128BlackBox1TestCase extends AbstractBlackBoxTestCase {

public Code128BlackBox1TestCase() {
super("test/data/blackbox/code128-1", new MultiFormatReader(), BarcodeFormat.CODE_128);
super("src/test/resources/blackbox/code128-1", new MultiFormatReader(), BarcodeFormat.CODE_128);
addTest(5, 5, 0.0f);
addTest(5, 5, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code128BlackBox2TestCase extends AbstractBlackBoxTestCase {

public Code128BlackBox2TestCase() {
super("test/data/blackbox/code128-2", new MultiFormatReader(), BarcodeFormat.CODE_128);
super("src/test/resources/blackbox/code128-2", new MultiFormatReader(), BarcodeFormat.CODE_128);
addTest(36, 39, 0.0f);
addTest(36, 39, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code128BlackBox3TestCase extends AbstractBlackBoxTestCase {

public Code128BlackBox3TestCase() {
super("test/data/blackbox/code128-3", new MultiFormatReader(), BarcodeFormat.CODE_128);
super("src/test/resources/blackbox/code128-3", new MultiFormatReader(), BarcodeFormat.CODE_128);
addTest(2, 2, 0.0f);
addTest(2, 2, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code39BlackBox1TestCase extends AbstractBlackBoxTestCase {

public Code39BlackBox1TestCase() {
super("test/data/blackbox/code39-1", new MultiFormatReader(), BarcodeFormat.CODE_39);
super("src/test/resources/blackbox/code39-1", new MultiFormatReader(), BarcodeFormat.CODE_39);
addTest(4, 4, 0.0f);
addTest(4, 4, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code39BlackBox3TestCase extends AbstractBlackBoxTestCase {

public Code39BlackBox3TestCase() {
super("test/data/blackbox/code39-3", new MultiFormatReader(), BarcodeFormat.CODE_39);
super("src/test/resources/blackbox/code39-3", new MultiFormatReader(), BarcodeFormat.CODE_39);
addTest(17, 17, 0.0f);
addTest(17, 17, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public final class Code39ExtendedBlackBox2TestCase extends AbstractBlackBoxTestCase {

public Code39ExtendedBlackBox2TestCase() {
super("test/data/blackbox/code39-2", new Code39Reader(false, true), BarcodeFormat.CODE_39);
super("src/test/resources/blackbox/code39-2", new Code39Reader(false, true), BarcodeFormat.CODE_39);
addTest(2, 2, 0.0f);
addTest(2, 2, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class Code93BlackBox1TestCase extends AbstractBlackBoxTestCase {

public Code93BlackBox1TestCase() {
super("test/data/blackbox/code93-1", new MultiFormatReader(), BarcodeFormat.CODE_93);
super("src/test/resources/blackbox/code93-1", new MultiFormatReader(), BarcodeFormat.CODE_93);
addTest(3, 3, 0.0f);
addTest(3, 3, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class EAN13BlackBox1TestCase extends AbstractBlackBoxTestCase {

public EAN13BlackBox1TestCase() {
super("test/data/blackbox/ean13-1", new MultiFormatReader(), BarcodeFormat.EAN_13);
super("src/test/resources/blackbox/ean13-1", new MultiFormatReader(), BarcodeFormat.EAN_13);
addTest(30, 32, 0.0f);
addTest(27, 32, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public final class EAN13BlackBox2TestCase extends AbstractBlackBoxTestCase {

public EAN13BlackBox2TestCase() {
super("test/data/blackbox/ean13-2", new MultiFormatReader(), BarcodeFormat.EAN_13);
super("src/test/resources/blackbox/ean13-2", new MultiFormatReader(), BarcodeFormat.EAN_13);
addTest(12, 17, 0, 1, 0.0f);
addTest(11, 17, 0, 1, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class EAN13BlackBox3TestCase extends AbstractBlackBoxTestCase {

public EAN13BlackBox3TestCase() {
super("test/data/blackbox/ean13-3", new MultiFormatReader(), BarcodeFormat.EAN_13);
super("src/test/resources/blackbox/ean13-3", new MultiFormatReader(), BarcodeFormat.EAN_13);
addTest(53, 55, 0.0f);
addTest(55, 55, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public final class EAN13BlackBox4TestCase extends AbstractBlackBoxTestCase {

public EAN13BlackBox4TestCase() {
super("test/data/blackbox/ean13-4", new MultiFormatReader(), BarcodeFormat.EAN_13);
super("src/test/resources/blackbox/ean13-4", new MultiFormatReader(), BarcodeFormat.EAN_13);
addTest(6, 13, 1, 1, 0.0f);
addTest(7, 13, 1, 1, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public final class EAN13BlackBox5BlurryTestCase extends AbstractBlackBoxTestCase {

public EAN13BlackBox5BlurryTestCase() {
super("test/data/blackbox/ean13-5", new MultiFormatReader(), BarcodeFormat.EAN_13);
super("src/test/resources/blackbox/ean13-5", new MultiFormatReader(), BarcodeFormat.EAN_13);
addTest(0, 0, 0.0f);
addTest(0, 0, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class EAN8BlackBox1TestCase extends AbstractBlackBoxTestCase {

public EAN8BlackBox1TestCase() {
super("test/data/blackbox/ean8-1", new MultiFormatReader(), BarcodeFormat.EAN_8);
super("src/test/resources/blackbox/ean8-1", new MultiFormatReader(), BarcodeFormat.EAN_8);
addTest(8, 8, 0.0f);
addTest(8, 8, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class ITFBlackBox1TestCase extends AbstractBlackBoxTestCase {

public ITFBlackBox1TestCase() {
super("test/data/blackbox/itf-1", new MultiFormatReader(), BarcodeFormat.ITF);
super("src/test/resources/blackbox/itf-1", new MultiFormatReader(), BarcodeFormat.ITF);
addTest(9, 13, 0.0f);
addTest(12, 13, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class ITFBlackBox2TestCase extends AbstractBlackBoxTestCase {

public ITFBlackBox2TestCase() {
super("test/data/blackbox/itf-2", new MultiFormatReader(), BarcodeFormat.ITF);
super("src/test/resources/blackbox/itf-2", new MultiFormatReader(), BarcodeFormat.ITF);
addTest(13, 13, 0.0f);
addTest(13, 13, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UPCABlackBox1TestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox1TestCase() {
super("test/data/blackbox/upca-1", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-1", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(14, 18, 0, 1, 0.0f);
addTest(16, 18, 0, 1, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UPCABlackBox2TestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox2TestCase() {
super("test/data/blackbox/upca-2", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-2", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(30, 36, 0, 2, 0.0f);
addTest(31, 36, 0, 2, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UPCABlackBox3ReflectiveTestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox3ReflectiveTestCase() {
super("test/data/blackbox/upca-3", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-3", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(7, 9, 0, 2, 0.0f);
addTest(8, 9, 0, 2, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UPCABlackBox4TestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox4TestCase() {
super("test/data/blackbox/upca-4", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-4", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(9, 11, 0, 1, 0.0f);
addTest(9, 11, 0, 1, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public final class UPCABlackBox5TestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox5TestCase() {
super("test/data/blackbox/upca-5", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-5", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(20, 23, 0, 0, 0.0f);
addTest(22, 23, 0, 0, 180.0f);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public final class UPCABlackBox6BlurryTestCase extends AbstractBlackBoxTestCase {

public UPCABlackBox6BlurryTestCase() {
super("test/data/blackbox/upca-6", new MultiFormatReader(), BarcodeFormat.UPC_A);
super("src/test/resources/blackbox/upca-6", new MultiFormatReader(), BarcodeFormat.UPC_A);
addTest(0, 0, 0.0f);
addTest(0, 0, 180.0f);
}
Expand Down
Loading

0 comments on commit 1bcc298

Please sign in to comment.