We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412cf74 commit 5589d57Copy full SHA for 5589d57
src/test/java/org/scijava/io/location/BytesLocationTest.java
@@ -72,4 +72,16 @@ public void testBytesOffsetLength() {
72
assertArrayEquals(expectedDigits, testDigits);
73
}
74
75
+ @Test
76
+ public void getNameTest() {
77
+
78
+ final BytesLocation loc1 = new BytesLocation(0);
79
+ assertEquals(loc1.defaultName(), loc1.getName());
80
81
+ final BytesLocation loc2 = new BytesLocation(0);
82
+ final String expectedName = "test.name";
83
+ loc2.setName(expectedName);
84
+ assertEquals(expectedName, loc2.getName());
85
+ }
86
87
0 commit comments