Author: desruisseaux Date: Wed Dec 5 08:34:16 2018 New Revision: 1848189 URL: http://svn.apache.org/viewvc?rev=1848189&view=rev Log: IP review about test classes. Added: sis/ip-review/CategoryListTest.xhtml sis/ip-review/CategoryTest.xhtml sis/ip-review/GeophysicsCategoryList.xhtml sis/ip-review/SampleDimensionTest.xhtml sis/ip-review/rev/05900/ sis/ip-review/rev/05900/CategoryListTest.xhtml sis/ip-review/rev/05900/CategoryTest.xhtml sis/ip-review/rev/05900/HEADER.html sis/ip-review/rev/05900/SampleDimensionTest.xhtml sis/ip-review/rev/10796/GeophysicsCategoryList.xhtml sis/ip-review/rev/10894/CategoryListTest.xhtml sis/ip-review/rev/10894/CategoryTest.xhtml sis/ip-review/rev/10894/SampleDimensionTest.xhtml sis/ip-review/rev/20970/CategoryListTest.xhtml sis/ip-review/rev/20970/CategoryTest.xhtml sis/ip-review/rev/20970/GeophysicsCategoryList.xhtml sis/ip-review/rev/20970/SampleDimensionTest.xhtml sis/ip-review/rev/29950/CategoryListTest.xhtml Added: sis/ip-review/CategoryListTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/CategoryListTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/CategoryListTest.xhtml (added) +++ sis/ip-review/CategoryListTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,65 @@ + + + + + CategoryListTest history + + + +
+

CategoryListTest history

+

Click on the commit message for inspecting the diff and how the code has been rewritten.

+

Command line:

+
svn log -r31996:1 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryListTest.java
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rev.DateAuthorMessage
308362008-07-01desruisseauxBest effort in an attempt to bring a little bit of order in the coverage test bazar. A lonely test file moved to the sample-data module. Operation tests moved to the processing package. A few utility methods consolidated in base classes ending in "TestBase.java". Removed redundancy introduced by copy-and-paste. Merged the two occurences of ImageWorkerTest. Examples of coverages provided in a more "Java collection" way. Comparaison of values performed with "assertEquals(a,b)" rather than "assertTrue(a==b)" so we know what was the expected value in case of failure. Tests upgrated to JUnit 4 framework.
306432008-06-12acusterCopyright headers: lib/coverage, this time with feeling (and the el in Toolkit)
305412008-06-06acusterCopyright review: update headers on lib/coverage
302582008-05-08acusterReshuffle the top level repo: drop uDig, move up trunk, tags, and branches.
302572008-05-08acusterMove trunk/gt/ directory contents up to trunk/ and drop gt
299502008-04-17jgarnettRange implementation hooked up, we can now use referencing without JAI, GEOT-746
298262008-04-07desruisseauxMore support for PixelOrientation in GridGeometry construction and queries. A side effect of this work is the refactoring of GridGeometry2D translation method into a separated PixelTranslation class.
290522008-02-01desruisseauxMore information in GridCoverage2D.toString(). Attempt to enable "Piecewise" JAI operation when converting from packed to geophysics (not finished). Bug fix in Resampler2D when the only work to do is a Crop.
289222008-01-24acusterBump the (at)since version to 2.5 since WKTParser was cut from 2.4
285402007-12-29acusterHide buttons which are not yet used
278472007-11-12desruisseauxReplaced some references to 'org.geotools.util' by references to 'org.geotools.util.logging'. Removed the old classes to make sure that there is no more accidental references. Note that the old classes will not be removed from the 2.4 branch.
275752007-10-22desruisseauxConverted Java source files from ISO-LATIN-1 encoding to UTF-8 (GEOT-1516).
229972006-11-26desruisseauxReplaced the use of some deprecated methods (MonolineFormatter.initGeotools --> Logging.forceMonolineConsoleOutput; Utilities.unexpectedException --> Logging.unexpectedException; GeneralEnvelope.getCoordinateReferenceSystem --> Envelope.getCoordinateReferenceSystem).
223272006-10-23desruisseauxGEOT-982: regroup 'module', 'plugin', 'ext' and 'unsupported' in a common directory.
223172006-10-22desruisseauxReorganisation of directory tree structure (GEOT-982) phase 3: moved 'test' to 'src/test/java'.
209702006-08-11jgarnettIP review.txt updated, along with headers
176722006-01-19desruisseauxAdded @source tag.
176602006-01-18desruisseauxFixed SVN attributes, including the addition of URL attribute.
165722005-11-02desruisseauxMoved coverage implementation to its own module (GEOT-745)
116982005-02-28desruisseauxMoved tests from legacy to main module
110042005-02-02desruisseauxFixed wrong encoding in legacy/test
108942005-01-31dzwiersmoved legacy
108222005-01-28dzwiersmoving tests
107982005-01-28jgarnettHere is another one
107962005-01-28dzwiersimports cleaned
62752004-05-31jgarnettfixed format test problem
62552004-05-31desruisseauxBug fix for horizontal and vertical line colinear with an axis
62382004-05-28desruisseauxReplaced org.geotools.[...].TransformException by org.opengis.[...].TransformException
59002004-05-23jgarnettgcs-coverage moved to main
58432004-05-23jgarnettTest directory now assumed to be junit
57742004-05-23jgarnettgeotools-src serves as the start of our new module directory (the data access modules will escape off to plugin directory soon)
57692004-05-23jgarnettProject renamed to gt
56192004-05-13(no author)Move repository under gt.
28582003-05-13desruisseauxAdded PMC owner to copyright notice
27862003-05-01desruisseauxRefactored the 'SampleTranscode' operation
23322003-02-18desruisseauxTry to make a better JUnit citizen
12812002-07-26desruisseauxFinished SampleDimension implementation
12402002-07-24desruisseauxUpdated for the API change
12172002-07-23desruisseauxTests for the new version of org.geotools.cv package
+
+ + Added: sis/ip-review/CategoryTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/CategoryTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/CategoryTest.xhtml (added) +++ sis/ip-review/CategoryTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,62 @@ + + + + + CategoryTest history + + + +
+

CategoryTest history

+

Click on the commit message for inspecting the diff and how the code has been rewritten.

+

Command line:

+
svn log -r31996:1 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryTest.java
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rev.DateAuthorMessage
308362008-07-01desruisseauxBest effort in an attempt to bring a little bit of order in the coverage test bazar. A lonely test file moved to the sample-data module. Operation tests moved to the processing package. A few utility methods consolidated in base classes ending in "TestBase.java". Removed redundancy introduced by copy-and-paste. Merged the two occurences of ImageWorkerTest. Examples of coverages provided in a more "Java collection" way. Comparaison of values performed with "assertEquals(a,b)" rather than "assertTrue(a==b)" so we know what was the expected value in case of failure. Tests upgrated to JUnit 4 framework.
306432008-06-12acusterCopyright headers: lib/coverage, this time with feeling (and the el in Toolkit)
305412008-06-06acusterCopyright review: update headers on lib/coverage
302582008-05-08acusterReshuffle the top level repo: drop uDig, move up trunk, tags, and branches.
302572008-05-08acusterMove trunk/gt/ directory contents up to trunk/ and drop gt
298262008-04-07desruisseauxMore support for PixelOrientation in GridGeometry construction and queries. A side effect of this work is the refactoring of GridGeometry2D translation method into a separated PixelTranslation class.
290522008-02-01desruisseauxMore information in GridCoverage2D.toString(). Attempt to enable "Piecewise" JAI operation when converting from packed to geophysics (not finished). Bug fix in Resampler2D when the only work to do is a Crop.
289222008-01-24acusterBump the (at)since version to 2.5 since WKTParser was cut from 2.4
285402007-12-29acusterHide buttons which are not yet used
278472007-11-12desruisseauxReplaced some references to 'org.geotools.util' by references to 'org.geotools.util.logging'. Removed the old classes to make sure that there is no more accidental references. Note that the old classes will not be removed from the 2.4 branch.
275752007-10-22desruisseauxConverted Java source files from ISO-LATIN-1 encoding to UTF-8 (GEOT-1516).
229972006-11-26desruisseauxReplaced the use of some deprecated methods (MonolineFormatter.initGeotools --> Logging.forceMonolineConsoleOutput; Utilities.unexpectedException --> Logging.unexpectedException; GeneralEnvelope.getCoordinateReferenceSystem --> Envelope.getCoordinateReferenceSystem).
223272006-10-23desruisseauxGEOT-982: regroup 'module', 'plugin', 'ext' and 'unsupported' in a common directory.
223172006-10-22desruisseauxReorganisation of directory tree structure (GEOT-982) phase 3: moved 'test' to 'src/test/java'.
209702006-08-11jgarnettIP review.txt updated, along with headers
176722006-01-19desruisseauxAdded @source tag.
176602006-01-18desruisseauxFixed SVN attributes, including the addition of URL attribute.
165722005-11-02desruisseauxMoved coverage implementation to its own module (GEOT-745)
116982005-02-28desruisseauxMoved tests from legacy to main module
110042005-02-02desruisseauxFixed wrong encoding in legacy/test
108942005-01-31dzwiersmoved legacy
108222005-01-28dzwiersmoving tests
107962005-01-28dzwiersimports cleaned
62752004-05-31jgarnettfixed format test problem
62552004-05-31desruisseauxBug fix for horizontal and vertical line colinear with an axis
62382004-05-28desruisseauxReplaced org.geotools.[...].TransformException by org.opengis.[...].TransformException
59002004-05-23jgarnettgcs-coverage moved to main
58432004-05-23jgarnettTest directory now assumed to be junit
57742004-05-23jgarnettgeotools-src serves as the start of our new module directory (the data access modules will escape off to plugin directory soon)
57692004-05-23jgarnettProject renamed to gt
56192004-05-13(no author)Move repository under gt.
28582003-05-13desruisseauxAdded PMC owner to copyright notice
12812002-07-26desruisseauxFinished SampleDimension implementation
12402002-07-24desruisseauxUpdated for the API change
12172002-07-23desruisseauxTests for the new version of org.geotools.cv package
11392002-07-17desruisseauxFirst implementation of a test suite for GCS
+
+ + Added: sis/ip-review/GeophysicsCategoryList.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/GeophysicsCategoryList.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/GeophysicsCategoryList.xhtml (added) +++ sis/ip-review/GeophysicsCategoryList.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,54 @@ + + + + + GeophysicsCategoryList history + + + +
+

GeophysicsCategoryList history

+

Click on the commit message for inspecting the diff and how the code has been rewritten.

+

Command line:

+
svn log -r31996:1 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/main/java/org/geotools/coverage/GeophysicsCategoryList.java
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rev.DateAuthorMessage
307602008-06-18desruisseauxUpgrated from JSR-108 to JSR-275 (GEOT-1266). Some opportunist javadoc fixes and @Override annotations in the process.
306432008-06-12acusterCopyright headers: lib/coverage, this time with feeling (and the el in Toolkit)
305412008-06-06acusterCopyright review: update headers on lib/coverage
303132008-05-16desruisseauxChanged my mind about Utilities.shallowEquals(Object,Object) and renamed it as equals, since a few tests show that the compiler always select the best overloaded flavor working on primitive types (except if an argument is a boolean and the other a different primitive type). Updated a few references. Fixed a few javadoc warnings by explicit declaration of parameter and return values.
302582008-05-08acusterReshuffle the top level repo: drop uDig, move up trunk, tags, and branches.
302572008-05-08acusterMove trunk/gt/ directory contents up to trunk/ and drop gt
289222008-01-24acusterBump the (at)since version to 2.5 since WKTParser was cut from 2.4
288522008-01-21desruisseauxReverted back "view(ViewType)" methods to "geophysics(boolean)" in Category and GridSampleDimension because views other than "geophysics" and "packed" don't make sense in current design. However those various views still in GridCoverage2D, which can support a richer set including "photographic" because it know about all bands together (as opposite to Category/GridSampleDimension which don't know what the other bands are). Also removed a few deprecated constructors and changed ViewType constants.
288462008-01-20desruisseauxCovariant return type for inverse() method in MathTransform1D and MathTransform2D. Also javadoc fixes and Java 5 type safety. Changed ViewType to an enum and initial implementation of GridCoverageViews (not yet connected to GridCoverage2D).
285402007-12-29acusterHide buttons which are not yet used
285002007-12-24desruisseauxAdded a new GridGeometry implementation (ImageGeometry) has a lightweight placeholder for 'gridRange' as a Rectangle and 'gridToCRS' as an AffineTransform. Used by TileBuilder.
284642007-12-21desruisseauxFirst draft of a TileCollection helper class. Not yet tested.
275752007-10-22desruisseauxConverted Java source files from ISO-LATIN-1 encoding to UTF-8 (GEOT-1516).
228172006-11-17desruisseauxFixed SVN properties for all Java files.
227102006-11-12desruisseauxReview of coverage branch merge: In 'CategoryList', check for the 'no data' category name only if the geophysics value is some NaN value. Moved XAffineTransform to a public place and added methods for testing axis swapping, as a proposed replacement for 'GeneralGridGeometry.swapXY(CoordinateSystem)' (replacement not yet done; waiting for the okay from the mailing list). In GeneralGridGeometry, added methods for returning a math transform relative to some pixel corner instead of pixel center, as a proposed replacement for the 'getTransform(...)' public static methods (I would like to remove those static methods in order to keep the API a little bit more orthogonal).
223272006-10-23desruisseauxGEOT-982: regroup 'module', 'plugin', 'ext' and 'unsupported' in a common directory.
223152006-10-22desruisseauxReorganisation of directory tree structure (GEOT-982) phase 1: moved 'src' to 'src/main/java'.
209702006-08-11jgarnettIP review.txt updated, along with headers
206002006-07-18simboss-committing first bunch of changes from the coverage branch. Modules involved are*api *referencing *coverage *main *renderer *shaperenderer
176722006-01-19desruisseauxAdded @source tag.
176602006-01-18desruisseauxFixed SVN attributes, including the addition of URL attribute.
165722005-11-02desruisseauxMoved coverage implementation to its own module (GEOT-745)
157362005-09-19desruisseauxAdded convenience methods or constructors
139252005-05-30desruisseauxAdded @since javadoc tag
115492005-02-22desruisseauxInitial cleaning for restarting GridCoverage work
110012005-02-02desruisseauxFixed wrong encoding in main/src
107962005-01-28dzwiersimports cleaned
62592004-05-31desruisseauxAdded more implementations for Coverage support
+
+ + Added: sis/ip-review/SampleDimensionTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/SampleDimensionTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/SampleDimensionTest.xhtml (added) +++ sis/ip-review/SampleDimensionTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,70 @@ + + + + + SampleDimensionTest history + + + +
+

SampleDimensionTest history

+

Click on the commit message for inspecting the diff and how the code has been rewritten.

+

Command line:

+
svn log -r31996:1 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/SampleDimensionTest.java
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Rev.DateAuthorMessage
308362008-07-01desruisseauxBest effort in an attempt to bring a little bit of order in the coverage test bazar. A lonely test file moved to the sample-data module. Operation tests moved to the processing package. A few utility methods consolidated in base classes ending in "TestBase.java". Removed redundancy introduced by copy-and-paste. Merged the two occurences of ImageWorkerTest. Examples of coverages provided in a more "Java collection" way. Comparaison of values performed with "assertEquals(a,b)" rather than "assertTrue(a==b)" so we know what was the expected value in case of failure. Tests upgrated to JUnit 4 framework.
306432008-06-12acusterCopyright headers: lib/coverage, this time with feeling (and the el in Toolkit)
305412008-06-06acusterCopyright review: update headers on lib/coverage
302582008-05-08acusterReshuffle the top level repo: drop uDig, move up trunk, tags, and branches.
302572008-05-08acusterMove trunk/gt/ directory contents up to trunk/ and drop gt
298262008-04-07desruisseauxMore support for PixelOrientation in GridGeometry construction and queries. A side effect of this work is the refactoring of GridGeometry2D translation method into a separated PixelTranslation class.
290522008-02-01desruisseauxMore information in GridCoverage2D.toString(). Attempt to enable "Piecewise" JAI operation when converting from packed to geophysics (not finished). Bug fix in Resampler2D when the only work to do is a Crop.
289222008-01-24acusterBump the (at)since version to 2.5 since WKTParser was cut from 2.4
285402007-12-29acusterHide buttons which are not yet used
278472007-11-12desruisseauxReplaced some references to 'org.geotools.util' by references to 'org.geotools.util.logging'. Removed the old classes to make sure that there is no more accidental references. Note that the old classes will not be removed from the 2.4 branch.
275752007-10-22desruisseauxConverted Java source files from ISO-LATIN-1 encoding to UTF-8 (GEOT-1516).
232112006-12-05desruisseauxReplaced Citation.OGC by Citation.GEOTOOLS for non-OGC operations. Code reformating and javadoc.
229972006-11-26desruisseauxReplaced the use of some deprecated methods (MonolineFormatter.initGeotools --> Logging.forceMonolineConsoleOutput; Utilities.unexpectedException --> Logging.unexpectedException; GeneralEnvelope.getCoordinateReferenceSystem --> Envelope.getCoordinateReferenceSystem).
223272006-10-23desruisseauxGEOT-982: regroup 'module', 'plugin', 'ext' and 'unsupported' in a common directory.
223172006-10-22desruisseauxReorganisation of directory tree structure (GEOT-982) phase 3: moved 'test' to 'src/test/java'.
209702006-08-11jgarnettIP review.txt updated, along with headers
206002006-07-18simboss-committing first bunch of changes from the coverage branch. Modules involved are*api *referencing *coverage *main *renderer *shaperenderer
176722006-01-19desruisseauxAdded @source tag.
176602006-01-18desruisseauxFixed SVN attributes, including the addition of URL attribute.
165722005-11-02desruisseauxMoved coverage implementation to its own module (GEOT-745)
131292005-04-15desruisseauxName change: removed 'GT' suffix in org.geotools.coverage implementations. Some on them were replaced by 'General' prefix for consistency with 'GeneralEnvelope' and 'GeneralDirectPosition'. In this context 'General' means "Can work with an arbitrary number of dimension". Other name changes in org.geotools.referencing and org.geotools.metadata are pending the choice between 'Default' prefix and 'Impl' suffix
117382005-03-02desruisseauxFirst working version of GridCoverage2D
116982005-02-28desruisseauxMoved tests from legacy to main module
110042005-02-02desruisseauxFixed wrong encoding in legacy/test
108942005-01-31dzwiersmoved legacy
108222005-01-28dzwiersmoving tests
107962005-01-28dzwiersimports cleaned
62752004-05-31jgarnettfixed format test problem
62552004-05-31desruisseauxBug fix for horizontal and vertical line colinear with an axis
61562004-05-25desruisseauxMoved MonolineFormatter to the org.geotools.util package
59002004-05-23jgarnettgcs-coverage moved to main
58432004-05-23jgarnettTest directory now assumed to be junit
57742004-05-23jgarnettgeotools-src serves as the start of our new module directory (the data access modules will escape off to plugin directory soon)
57692004-05-23jgarnettProject renamed to gt
56192004-05-13(no author)Move repository under gt.
28582003-05-13desruisseauxAdded PMC owner to copyright notice
27862003-05-01desruisseauxRefactored the 'SampleTranscode' operation
26912003-04-13desruisseauxChanged the semantic of 'rescale' method
26902003-04-12desruisseauxAdded a 'rescale' method in SampleDimension
12812002-07-26desruisseauxFinished SampleDimension implementation
12612002-07-25desruisseauxTest ImageAdapter as an registered image operation
12402002-07-24desruisseauxUpdated for the API change
12172002-07-23desruisseauxTests for the new version of org.geotools.cv package
11392002-07-17desruisseauxFirst implementation of a test suite for GCS
+
+ + Added: sis/ip-review/rev/05900/CategoryListTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/05900/CategoryListTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/05900/CategoryListTest.xhtml (added) +++ sis/ip-review/rev/05900/CategoryListTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,21 @@ + + + + + CategoryListTest changes for revisions 5618:5900 + + + +
+

CategoryListTest changes for revisions 5618:5900

+

No contribution relevant to SIS here.

+

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r5618:5900 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryListTest.java
+ + +
Revision 5618Revision 5900
+
+ + Added: sis/ip-review/rev/05900/CategoryTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/05900/CategoryTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/05900/CategoryTest.xhtml (added) +++ sis/ip-review/rev/05900/CategoryTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,21 @@ + + + + + CategoryTest changes for revisions 5618:5900 + + + +
+

CategoryTest changes for revisions 5618:5900

+

No contribution relevant to SIS here.

+

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r5618:5900 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryTest.java
+ + +
Revision 5618Revision 5900
+
+ + Added: sis/ip-review/rev/05900/HEADER.html URL: http://svn.apache.org/viewvc/sis/ip-review/rev/05900/HEADER.html?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/05900/HEADER.html (added) +++ sis/ip-review/rev/05900/HEADER.html Wed Dec 5 08:34:16 2018 @@ -0,0 +1,17 @@ + + + + + Revision 5900 + + +
+

Revision 5900

+ + + + +
Author:jgarnett
Date:2004-05-23
Message:gcs-coverage moved to main
+
+ + Added: sis/ip-review/rev/05900/SampleDimensionTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/05900/SampleDimensionTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/05900/SampleDimensionTest.xhtml (added) +++ sis/ip-review/rev/05900/SampleDimensionTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,21 @@ + + + + + SampleDimensionTest changes for revisions 5618:5900 + + + +
+

SampleDimensionTest changes for revisions 5618:5900

+

No contribution relevant to SIS here.

+

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r5618:5900 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/SampleDimensionTest.java
+ + +
Revision 5618Revision 5900
+
+ + Added: sis/ip-review/rev/10796/GeophysicsCategoryList.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/10796/GeophysicsCategoryList.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/10796/GeophysicsCategoryList.xhtml (added) +++ sis/ip-review/rev/10796/GeophysicsCategoryList.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,147 @@ + + + + + GeophysicsCategoryList changes for revisions 10795:10796 + + + +
+

GeophysicsCategoryList changes for revisions 10795:10796

+

Changes in this commit seem to be the result of some "auto reformat" tool execution. +The Java - GeoAPI - GeoTools import ordering is altered, +imports used only in Javadoc are lost and the encoding of non-ASCII characters is broken. +This commit has been reverted, except for the removal of really unused imports which are keep removed.

+

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r10795:10796 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/main/java/org/geotools/coverage/GeophysicsCategoryList.java
+ + + + + + + + + + + + +
Revision 10795Revision 10796
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2001, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2001, Institut de Recherche pour le D�veloppement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
package org.geotools.coverage;
+
+// J2SE dependencies
+import java.util.Locale;
+import java.text.NumberFormat;
+import java.text.FieldPosition;
+import javax.units.Unit;
+
+// Resources
+import org.geotools.resources.XMath;
+import org.geotools.resources.Utilities;
+
+
+/**
package org.geotools.coverage;
+
+// J2SE dependencies
+import java.text.FieldPosition;
+import java.text.NumberFormat;
+import java.util.AbstractList;
+import java.util.Locale;
+
+import javax.units.Unit;
+
+import org.geotools.resources.Utilities;
+import org.geotools.resources.XMath;
+
+
+/**
private static final int MAX_DIGITS = 6;
+
+/**
+ * Unités des mesures géophysiques représentées par les catégories.
+ * Ce champ peut être nul s'il ne s'applique pas ou si les unités
+ * ne sont pas connues.
+ */
+private final Unit unit;
+
+/**
+ * Nombre de chiffres significatifs après la virgule.
+ * Cette information est utilisée pour les écritures
+ * des valeurs géophysiques des catégories.
+ */
+private final int ndigits;
private static final int MAX_DIGITS = 6;
+
+/**
+ * Unit�s des mesures g�ophysiques repr�sent�es par les cat�gories.
+ * Ce champ peut �tre nul s'il ne s'applique pas ou si les unit�s
+ * ne sont pas connues.
+ */
+private final Unit unit;
+
+/**
+ * Nombre de chiffres significatifs apr�s la virgule.
+ * Cette information est utilis�e pour les �critures
+ * des valeurs g�ophysiques des cat�gories.
+ */
+private final int ndigits;
private transient Locale locale;
+
+/**
+ * Format à utiliser pour écrire les
+ * valeurs géophysiques des thèmes.
+ */
+private transient NumberFormat format;
private transient Locale locale;
+
+/**
+ * Format � utiliser pour �crire les
+ * valeurs g�ophysiques des th�mes.
+ */
+private transient NumberFormat format;
}
+
+/**
+ * Formatte la valeur spécifiée selon les conventions locales. Le nombre sera
+ * écrit avec un nombre de chiffres après la virgule approprié pour la catégorie.
+ * Le symbole des unités sera ajouté après le nombre si <code>writeUnit</code>
+ * est <code>true</code>.
+ *
+ * @param  value Valeur du paramètre géophysique à formatter.
+ * @param  writeUnit Indique s'il faut écrire le symbole des unités après le nombre.
+ *         Cet argument sera ignoré si aucune unité n'avait été spécifiée au constructeur.
+ * @param  locale Conventions locales à utiliser, ou <code>null</code> pour les conventions par
+ *         défaut.
+ * @param  buffer Le buffer dans lequel écrire la valeur.
+ * @return Le buffer <code>buffer</code> dans lequel auront été écrit la valeur et les unités.
+ */
+synchronized StringBuffer format(final double value, final boolean writeUnits,
+                                 final Locale locale, StringBuffer buffer)
}
+
+/**
+ * Formatte la valeur sp�cifi�e selon les conventions locales. Le nombre sera
+ * �crit avec un nombre de chiffres apr�s la virgule appropri� pour la cat�gorie.
+ * Le symbole des unit�s sera ajout� apr�s le nombre si <code>writeUnit</code>
+ * est <code>true</code>.
+ *
+ * @param  value Valeur du param�tre g�ophysique � formatter.
+ * @param  writeUnit Indique s'il faut �crire le symbole des unit�s apr�s le nombre.
+ *         Cet argument sera ignor� si aucune unit� n'avait �t� sp�cifi�e au constructeur.
+ * @param  locale Conventions locales � utiliser, ou <code>null</code> pour les conventions par
+ *         d�faut.
+ * @param  buffer Le buffer dans lequel �crire la valeur.
+ * @return Le buffer <code>buffer</code> dans lequel auront �t� �crit la valeur et les unit�s.
+ */
+synchronized StringBuffer format(final double value, final boolean writeUnits,
+                                 final Locale locale, StringBuffer buffer)
+
+ + Added: sis/ip-review/rev/10894/CategoryListTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/10894/CategoryListTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/10894/CategoryListTest.xhtml (added) +++ sis/ip-review/rev/10894/CategoryListTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,104 @@ + + + + + CategoryListTest changes for revisions 6274:10894 + + + +
+

CategoryListTest changes for revisions 6274:10894

+ +

No contribution relevant to SIS here.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r6274:10894 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryListTest.java
+ + + + + + + + +
Revision 6274Revision 10894
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le D�veloppement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
package org.geotools.cv;
+
+// J2SE dependencies
+import java.util.Random;
+import java.util.Arrays;
+
+// JAI dependencies
+import javax.media.jai.util.Range;
+
+// Geotools dependencies
+import org.geotools.cv.*;
+import org.geotools.ct.*;
+import org.geotools.resources.XArray;
+
+// OpenGIS dependencies
+import org.opengis.referencing.operation.TransformException;
+
+// JUnit dependencies
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+
+/**
+ * Test the {@link CategoryList} implementation.
+ *
+ * @version $Id: CategoryListTest.java,v 1.6 2003/05/13 10:59:53 desruisseaux Exp $
+ * @author Martin Desruisseaux
+ */
+public class CategoryListTest extends TestCase {
package org.geotools.cv;
+
+// J2SE dependencies
+import java.util.Arrays;
+import java.util.Random;
+
+import javax.media.jai.util.Range;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.geotools.resources.XArray;
+import org.opengis.referencing.operation.TransformException;
+
+
+/**
+ * Test the {@link CategoryList} implementation.
+ *
+ * @version $Id$
+ * @author Martin Desruisseaux
+ */
+public class CategoryListTest extends TestCase {
            throw exception;
+        }
+    }
+} while (searchNearest = !searchNearest);
+/*
+ * Test transformation using methods working on arrays.
+ * We assume that the 'transform(double)' version can
            throw exception;
+        }
+    }
+} while ((searchNearest = !searchNearest) == true);
+/*
+ * Test transformation using methods working on arrays.
+ * We assume that the 'transform(double)' version can
+
+ + Added: sis/ip-review/rev/10894/CategoryTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/10894/CategoryTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/10894/CategoryTest.xhtml (added) +++ sis/ip-review/rev/10894/CategoryTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,77 @@ + + + + + CategoryTest changes for revisions 6274:10894 + + + +
+

CategoryTest changes for revisions 6274:10894

+

No contribution relevant to SIS here.

+

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r6274:10894 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryTest.java
+ + + + + + +
Revision 6274Revision 10894
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le D�veloppement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
// J2SE dependencies
+import java.util.Random;
+import java.util.Arrays;
+
+// Geotools dependencies
+import org.geotools.cv.*;
+import org.geotools.ct.*;
+
+// OpenGIS dependencies
+import org.opengis.referencing.operation.TransformException;
+
+// JUnit dependencies
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+
+/**
+ * Test the {@link Category} implementation.
+ *
+ * @version $Id: CategoryTest.java,v 1.5 2003/05/13 10:59:53 desruisseaux Exp $
+ * @author Martin Desruisseaux
+ */
+public class CategoryTest extends TestCase {
// J2SE dependencies
+import java.util.Random;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.geotools.ct.MathTransform1D;
+import org.opengis.referencing.operation.TransformException;
+
+
+/**
+ * Test the {@link Category} implementation.
+ *
+ * @version $Id$
+ * @author Martin Desruisseaux
+ */
+public class CategoryTest extends TestCase {
+
+ + Added: sis/ip-review/rev/10894/SampleDimensionTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/10894/SampleDimensionTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/10894/SampleDimensionTest.xhtml (added) +++ sis/ip-review/rev/10894/SampleDimensionTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,99 @@ + + + + + SampleDimensionTest changes for revisions 6274:10894 + + + +
+

SampleDimensionTest changes for revisions 6274:10894

+ +

No contribution relevant to SIS here.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r6274:10894 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/SampleDimensionTest.java
+ + + + + + + + + + +
Revision 6274Revision 10894
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le D�veloppement
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
*     UNITED KINGDOM: James Macgill
+*             mailto:j.macgill@geog.leeds.ac.uk
+*
+*     FRANCE: Surveillance de l'Environnement Assistée par Satellite
+*             Institut de Recherche pour le Développement / US-Espace
+*             mailto:seasnet@teledetection.fr
+*
+*     CANADA: Observatoire du Saint-Laurent
*     UNITED KINGDOM: James Macgill
+*             mailto:j.macgill@geog.leeds.ac.uk
+*
+*     FRANCE: Surveillance de l'Environnement Assist�e par Satellite
+*             Institut de Recherche pour le D�veloppement / US-Espace
+*             mailto:seasnet@teledetection.fr
+*
+*     CANADA: Observatoire du Saint-Laurent
package org.geotools.cv;
+
+// J2SE dependencies
+import java.util.Random;
+import java.util.Arrays;
+import java.awt.image.*;
+
+// JAI dependencies
+import javax.media.jai.*;
+
+// Geotools dependencies
+import org.geotools.cv.*;
+
+// JUnit dependencies
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
package org.geotools.cv;
+
+// J2SE dependencies
+import java.awt.image.BufferedImage;
+import java.util.Random;
+
+import javax.media.jai.JAI;
+import javax.media.jai.OperationRegistry;
+import javax.media.jai.ParameterBlockJAI;
+import javax.media.jai.ParameterListDescriptor;
+import javax.media.jai.RenderedOp;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
 * rely on {@link CategoryList} for many of its work, many <code>SampleDimension</code>
+ * tests are actually <code>CategoryList</code> tests.
+ *
+ * @version $Id: SampleDimensionTest.java,v 1.9 2003/05/13 10:59:53 desruisseaux Exp $
+ * @author Martin Desruisseaux
+ */
+public class SampleDimensionTest extends TestCase {
 * rely on {@link CategoryList} for many of its work, many <code>SampleDimension</code>
+ * tests are actually <code>CategoryList</code> tests.
+ *
+ * @version $Id$
+ * @author Martin Desruisseaux
+ */
+public class SampleDimensionTest extends TestCase {
+
+ + Added: sis/ip-review/rev/20970/CategoryListTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/20970/CategoryListTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/20970/CategoryListTest.xhtml (added) +++ sis/ip-review/rev/20970/CategoryListTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,50 @@ + + + + + CategoryListTest changes for revisions 20969:20970 + + + +
+

CategoryListTest changes for revisions 20969:20970

+ +

Change in LGPL header only. Does not apply to Apache SIS.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r20969:20970 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryListTest.java
+ + + + + + +
Revision 20969Revision 20970
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
/*
+ *    GeoTools - OpenSource mapping toolkit
+ *    http://geotools.org
+ *    (C) 2003-2006, Geotools Project Managment Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+package org.geotools.coverage;
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ */
+package org.geotools.coverage;
+
+ + Added: sis/ip-review/rev/20970/CategoryTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/20970/CategoryTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/20970/CategoryTest.xhtml (added) +++ sis/ip-review/rev/20970/CategoryTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,50 @@ + + + + + CategoryTest changes for revisions 20969:20970 + + + +
+

CategoryTest changes for revisions 20969:20970

+ +

Change in LGPL header only. Does not apply to Apache SIS.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r20969:20970 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryTest.java
+ + + + + + +
Revision 20969Revision 20970
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
/*
+ *    GeoTools - OpenSource mapping toolkit
+ *    http://geotools.org
+ *    (C) 2003-2006, Geotools Project Managment Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+package org.geotools.coverage;
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ */
+package org.geotools.coverage;
+
+ + Added: sis/ip-review/rev/20970/GeophysicsCategoryList.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/20970/GeophysicsCategoryList.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/20970/GeophysicsCategoryList.xhtml (added) +++ sis/ip-review/rev/20970/GeophysicsCategoryList.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,68 @@ + + + + + GeophysicsCategoryList changes for revisions 20599:20970 + + + +
+

GeophysicsCategoryList changes for revisions 20599:20970

+ +

This change does not apply to Apache SIS. The change in loop condition has been reverted.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r20599:20970 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/main/java/org/geotools/coverage/GeophysicsCategoryList.java
+ + + + + + + + +
Revision 20599Revision 20970
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2001, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
/*
+ *    GeoTools - OpenSource mapping toolkit
+ *    http://geotools.org
+ *    (C) 2003-2006, Geotools Project Management Committee (PMC)
+ * (C) 2001, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+*    Lesser General Public License for more details.
+*
+*    You should have received a copy of the GNU Lesser General Public
+*    License along with this library; if not, write to the Free Software
+*    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*
+*
+*    This package contains documentation from OpenGIS specifications.
+*    OpenGIS consortium's work is fully acknowledged here.
+*/
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+*    Lesser General Public License for more details.
+*
+*    This package contains documentation from OpenGIS specifications.
+*    OpenGIS consortium's work is fully acknowledged here.
+*/
private static int getFractionDigitCount(final Category[] categories) {
+    int ndigits = 0;
+    final double EPS = 1E-6;
+    for (int i=0; i<categories.length; i++) {
+        final Category geophysics = categories[i].geophysics(true);
+        final Category samples    = categories[i].geophysics(false);
+        final double ln = XMath.log10((geophysics.maximum - geophysics.minimum)/
private static int getFractionDigitCount(final Category[] categories) {
+    int ndigits = 0;
+    final double EPS = 1E-6;
+    final int length=categories.length;
+    for (int i=0; i<length; i++) {
+        final Category geophysics = categories[i].geophysics(true);
+        final Category samples    = categories[i].geophysics(false);
+        final double ln = XMath.log10((geophysics.maximum - geophysics.minimum)/
+
+ + Added: sis/ip-review/rev/20970/SampleDimensionTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/20970/SampleDimensionTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/20970/SampleDimensionTest.xhtml (added) +++ sis/ip-review/rev/20970/SampleDimensionTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,65 @@ + + + + + SampleDimensionTest changes for revisions 20599:20970 + + + +
+

SampleDimensionTest changes for revisions 20599:20970

+ +

Change in LGPL header does not apply to Apache SIS. +Addition of a CharSequence argument in the SampleDimension constructor exists also in SIS.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r20599:20970 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/SampleDimensionTest.java
+ + + + + + + + +
Revision 20599Revision 20970
/*
+ * Geotools 2 - OpenSource mapping toolkit
+ * (C) 2003, Geotools Project Management Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
/*
+ *    GeoTools - OpenSource mapping toolkit
+ *    http://geotools.org
+ *    (C) 2003-2006, Geotools Project Managment Committee (PMC)
+ * (C) 2002, Institut de Recherche pour le Développement
+ *
+ *    This library is free software; you can redistribute it and/or
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+package org.geotools.coverage;
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ */
+package org.geotools.coverage;
        categories[i] = new Category(CATEGORIES[i], null, NO_DATA[i]);
+    }
+    categories[CATEGORIES.length] = new Category("SST", null, minimum, maximum, scale, offset);
+    test = new GridSampleDimension(categories, null);
+}
+
+/**
        categories[i] = new Category(CATEGORIES[i], null, NO_DATA[i]);
+    }
+    categories[CATEGORIES.length] = new Category("SST", null, minimum, maximum, scale, offset);
+    test = new GridSampleDimension("A",categories, null);
+}
+
+/**
+
+ + Added: sis/ip-review/rev/29950/CategoryListTest.xhtml URL: http://svn.apache.org/viewvc/sis/ip-review/rev/29950/CategoryListTest.xhtml?rev=1848189&view=auto ============================================================================== --- sis/ip-review/rev/29950/CategoryListTest.xhtml (added) +++ sis/ip-review/rev/29950/CategoryListTest.xhtml Wed Dec 5 08:34:16 2018 @@ -0,0 +1,42 @@ + + + + + CategoryListTest changes for revisions 29949:29950 + + + +
+

CategoryListTest changes for revisions 29949:29950

+ +

This trivial change has been kept in Apache SIS, but using org.apache.sis.util.Range implementation +instead than GeoTools one.

+ +

Command line:

+
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r29949:29950 http://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/CategoryListTest.java
+ + + + +
Revision 29949Revision 29950
import java.util.Arrays;
+import java.util.Random;
+import javax.media.jai.util.Range;
+
+import org.opengis.referencing.operation.TransformException;
+import org.geotools.resources.XArray;
+
+import org.junit.*;
+import static org.junit.Assert.*;
import java.util.Arrays;
+import java.util.Random;
+
+import org.opengis.referencing.operation.TransformException;
+import org.geotools.resources.XArray;
+import org.geotools.util.Range;
+
+import org.junit.*;
+import static org.junit.Assert.*;
+
+ +