Skip to content

Commit

Permalink
- removing non ASCII characters form javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Sep 7, 2016
1 parent febd28b commit 25759e8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public void testCoverageDimension() throws IOException {
coverageDimension1.getDescription());
Assert.assertEquals("-inf", coverageDimension1.getRangeMin());
Assert.assertEquals("inf", coverageDimension1.getRangeMax());
Assert.assertEquals("dobson units³", coverageDimension1.getUnit());
// Assert.assertEquals("dobson units", coverageDimension1.getUnit());
Assert.assertTrue(coverageDimension1.getUnit().startsWith("dobson units"));
Assert.assertEquals("REAL_32BITS", coverageDimension1.getDimensionTypeName());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void testAll() {
// setting dimensions (since gs-2.4.x)
GSCoverageDimensionEncoder gsCoverageDimensionEncoder = new GSCoverageDimensionEncoder(
"GRAY_INDEX", "GridSampleDimension[-Infinity,Infinity]", "-inf", "inf",
"dobson units³", "REAL_32BITS");
"dobson units", "REAL_32BITS");
encoder.addCoverageDimensionInfo(gsCoverageDimensionEncoder);

encoder.setNativeCoverageName("Sample native name");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ public class GSCoverageDimensionEncoderTest {
@Test
public void coverageDimensionTest() {
GSCoverageDimensionEncoder encoder = new GSCoverageDimensionEncoder("GRAY_INDEX",
"GridSampleDimension[-Infinity,Infinity]", "-inf", "inf", "dobson units³",
"GridSampleDimension[-Infinity,Infinity]", "-inf", "inf", "dobson units",
"REAL_32BITS");

Assert.assertEquals("GRAY_INDEX", encoder.getName());
Assert.assertEquals("GridSampleDimension[-Infinity,Infinity]", encoder.getDescription());
Assert.assertEquals("-inf", encoder.getRangeMin());
Assert.assertEquals("inf", encoder.getRangeMax());
Assert.assertEquals("dobson units³", encoder.getUnit());
Assert.assertEquals("dobson units", encoder.getUnit());
Assert.assertEquals("REAL_32BITS", encoder.getDimensionTypeName());

Assert.assertTrue(encoder.delName());
Expand All @@ -59,15 +59,15 @@ public void coverageDimensionTest() {
encoder.setName("GRAY_INDEX");
encoder.setDescription("GridSampleDimension[-Infinity,Infinity]");
encoder.setRange("-inf", "inf");
encoder.setUnit("dobson units³");
encoder.setUnit("dobson units");
encoder.setDimensionType("REAL_32BITS");

Assert.assertEquals("GRAY_INDEX", encoder.getName());
Assert.assertEquals("GridSampleDimension[-Infinity,Infinity]", encoder.getDescription());
Assert.assertEquals("-inf", encoder.getRangeMin());
Assert.assertEquals("inf", encoder.getRangeMax());
Assert.assertEquals("dobson units³", encoder.getUnit());
Assert.assertEquals("dobson units", encoder.getUnit());
Assert.assertEquals("REAL_32BITS", encoder.getDimensionTypeName());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void testCreateDeleteImageMosaicDatastore() throws MalformedURLException,
if (v.compareTo(GSVersionDecoder.VERSION.v24)>=0){
GSCoverageDimensionEncoder gsCoverageDimensionEncoder = new GSCoverageDimensionEncoder(
"GRAY_INDEX", "GridSampleDimension[-Infinity,Infinity]", "-inf", "inf",
"dobson units³", "REAL_32BITS");
"dobson units", "REAL_32BITS");
coverageEncoder.addCoverageDimensionInfo(gsCoverageDimensionEncoder);
}

Expand Down

0 comments on commit 25759e8

Please sign in to comment.