sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1626345 [14/14] - in /sis/trunk: ./ core/sis-feature/src/main/java/org/apache/sis/feature/ core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/code/ core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/ core/sis-metada...
Date Fri, 19 Sep 2014 21:46:44 GMT
Modified: sis/trunk/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/MetadataReaderTest.java
URL: http://svn.apache.org/viewvc/sis/trunk/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/MetadataReaderTest.java?rev=1626345&r1=1626344&r2=1626345&view=diff
==============================================================================
--- sis/trunk/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/MetadataReaderTest.java
[UTF-8] (original)
+++ sis/trunk/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/MetadataReaderTest.java
[UTF-8] Fri Sep 19 21:46:39 2014
@@ -87,13 +87,15 @@ public final strictfp class MetadataRead
      * The given metadata shall have been created from the {@link #NCEP} dataset.
      */
     static void compareToExpected(final Metadata actual) {
+        final String text = formatNameAndValue(DefaultMetadata.castOrCopy(actual).asTreeTable());
         assertMultilinesEquals(
             "Metadata\n" +
             "  ├─File identifier…………………………………………………………………………
edu.ucar.unidata:NCEP/SST/Global_5x2p5deg/SST_Global_5x2p5deg_20050922_0000.nc\n" +
             "  ├─Hierarchy level…………………………………………………………………………
Dataset\n" +
             "  ├─Contact\n" +
-            "  │   ├─Individual name………………………………………………………………
NOAA/NWS/NCEP\n" +
-            "  │   └─Role……………………………………………………………………………………………
Point of contact\n" +
+            "  │   ├─Role……………………………………………………………………………………………
Point of contact\n" +
+            "  │   └─Party\n" +
+            "  │       └─Name…………………………………………………………………………………
NOAA/NWS/NCEP\n" +
             "  ├─Metadata standard name………………………………………………………
ISO 19115-2 Geographic Information - Metadata Part 2 Extensions for imagery and gridded data\n"
+
             "  ├─Metadata standard version………………………………………………
ISO 19115-2:2009(E)\n" +
             "  ├─Spatial representation info\n" +
@@ -120,12 +122,14 @@ public final strictfp class MetadataRead
             "  │   │   │   └─Authority\n" +
             "  │   │   │       └─Title…………………………………………………………
edu.ucar.unidata\n" +
             "  │   │   └─Cited responsible party\n" +
-            "  │   │       ├─Individual name…………………………………………
NOAA/NWS/NCEP\n" +
-            "  │   │       └─Role………………………………………………………………………
Originator\n" +
+            "  │   │       ├─Role………………………………………………………………………
Originator\n" +
+            "  │   │       └─Party\n" +
+            "  │   │           └─Name……………………………………………………………
NOAA/NWS/NCEP\n" +
             "  │   ├─Abstract…………………………………………………………………………………
NCEP SST Global 5.0 x 2.5 degree model data\n" +
             "  │   ├─Point of contact\n" +
-            "  │   │   ├─Individual name……………………………………………………
NOAA/NWS/NCEP\n" +
-            "  │   │   └─Role…………………………………………………………………………………
Point of contact\n" +
+            "  │   │   ├─Role…………………………………………………………………………………
Point of contact\n" +
+            "  │   │   └─Party\n" +
+            "  │   │       └─Name………………………………………………………………………
NOAA/NWS/NCEP\n" +
             "  │   ├─Descriptive keywords\n" +
             "  │   │   ├─Keyword…………………………………………………………………………
EARTH SCIENCE > Oceans > Ocean Temperature > Sea Surface Temperature\n" +
             "  │   │   ├─Type…………………………………………………………………………………
Theme\n" +
@@ -145,13 +149,13 @@ public final strictfp class MetadataRead
             "  │           ├─Minimum value………………………………………………
0.0\n" +
             "  │           └─Maximum value………………………………………………
0.0\n" +
             "  ├─Content info\n" +
-            "  │   └─Dimension\n" +
-            "  │       ├─Sequence identifier…………………………………………
SST\n" +
-            "  │       └─Descriptor…………………………………………………………………
Sea temperature\n" +
+            "  │   └─Attribute group\n" +
+            "  │       └─Attribute\n" +
+            "  │           ├─Sequence identifier………………………………
SST\n" +
+            "  │           └─Description……………………………………………………
Sea temperature\n" +
             "  └─Data quality info\n" +
             "      └─Lineage\n" +
             "          └─Statement……………………………………………………………………
2003-04-07 12:12:50 - created by gribtocdl" +
-            "              2005-09-26T21:50:00 - edavis - add attributes for dataset discovery\n",
-        formatNameAndValue(DefaultMetadata.castOrCopy(actual).asTreeTable()));
+            "              2005-09-26T21:50:00 - edavis - add attributes for dataset discovery\n",
text);
     }
 }



Mime
View raw message