sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1820013 - /sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java
Date Wed, 03 Jan 2018 21:16:43 GMT
Author: desruisseaux
Date: Wed Jan  3 21:16:42 2018
New Revision: 1820013

URL: http://svn.apache.org/viewvc?rev=1820013&view=rev
Log:
Adaptation of commit 554ca46345bb3b80506ef881604ad37a27a1bdfd from Image Matter
(minor changes to DefaultCitationTest)

Modified:
    sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java

Modified: sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java
URL: http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java?rev=1820013&r1=1820012&r2=1820013&view=diff
==============================================================================
--- sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java
[UTF-8] (original)
+++ sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java
[UTF-8] Wed Jan  3 21:16:42 2018
@@ -225,6 +225,7 @@ public final strictfp class DefaultCitat
                 new DefaultResponsibility(Role.FUNDER,     null, new DefaultIndividual("Robin
Hood",  null, contact))
         ));
         c.getDates().add(new DefaultCitationDate(TestUtilities.date("2015-10-17 00:00:00"),
DateType.ADOPTED));
+        // Check that XML file built by the marshaller is the same as the example file.
         assertMarshalEqualsFile(file, c, version, "xlmns:*", "xsi:schemaLocation");
     }
 
@@ -273,7 +274,7 @@ public final strictfp class DefaultCitat
         final Contact contact = assertResponsibilityEquals(Role.ORIGINATOR, "Maid Marian",
it.next());
         assertEquals("Contact instruction", "Send carrier pigeon.", contact.getContactInstructions().toString());
 
-        // Thanks to xlink:href, the Contact shall be the same instance than above.
+        // Thanks to xlink:href, the Contact shall be the same instance as above.
         assertSame("contact", contact, assertResponsibilityEquals(Role.FUNDER, "Robin Hood",
it.next()));
         assertFalse(it.hasNext());
     }



Mime
View raw message