Skip to content

Commit e117bfd

Browse files
committed
make test arrays protected so extended tests can use them
1 parent b3bfb32 commit e117bfd

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## BSD 2-Clause License
22

3-
Copyright (c) 2017-2018, Stephan Saalfeld
3+
Copyright (c) 2017-2020, Stephan Saalfeld
44

55
All rights reserved.
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Chunked datasets can be sparse, i.e. empty chunks do not need to be stored.
1616

1717
## File-system specification
1818

19-
*version 2.2.1-SNAPSHOT*
19+
*version 2.2.2-SNAPSHOT*
2020

2121
N5 group is not a single file but simply a directory on the file system. Meta-data is stored as a JSON file per each group/ directory. Tensor datasets can be chunked and chunks are stored as individual files. This enables parallel reading and writing on a cluster.
2222

doc/LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## BSD 2-Clause License
22

3-
Copyright (c) @project.inceptionYear@-2018, Stephan Saalfeld
3+
Copyright (c) @project.inceptionYear@-2020, Stephan Saalfeld
44

55
All rights reserved.
66

src/test/java/org/janelia/saalfeldlab/n5/AbstractN5Test.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
*/
1717
package org.janelia.saalfeldlab.n5;
1818

19-
import org.janelia.saalfeldlab.n5.N5Reader.Version;
20-
import org.junit.AfterClass;
21-
import org.junit.Assert;
22-
import org.junit.Before;
23-
import org.junit.Test;
19+
import static org.junit.Assert.fail;
2420

2521
import java.io.IOException;
2622
import java.nio.file.Path;
@@ -30,7 +26,11 @@
3026
import java.util.Map;
3127
import java.util.Random;
3228

33-
import static org.junit.Assert.fail;
29+
import org.janelia.saalfeldlab.n5.N5Reader.Version;
30+
import org.junit.AfterClass;
31+
import org.junit.Assert;
32+
import org.junit.Before;
33+
import org.junit.Test;
3434

3535
/**
3636
* Abstract base class for testing N5 functionality.
@@ -47,12 +47,12 @@ public abstract class AbstractN5Test {
4747
static protected final long[] dimensions = new long[]{100, 200, 300};
4848
static protected final int[] blockSize = new int[]{44, 33, 22};
4949

50-
static private byte[] byteBlock;
51-
static private short[] shortBlock;
52-
static private int[] intBlock;
53-
static private long[] longBlock;
54-
static private float[] floatBlock;
55-
static private double[] doubleBlock;
50+
static protected byte[] byteBlock;
51+
static protected short[] shortBlock;
52+
static protected int[] intBlock;
53+
static protected long[] longBlock;
54+
static protected float[] floatBlock;
55+
static protected double[] doubleBlock;
5656

5757
static protected N5Writer n5;
5858

0 commit comments

Comments
 (0)