File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/org/apache/xmpbox/type
test/java/org/apache/xmpbox/xml Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public Object getRawValue()
9898 @ Override
9999 public String toString ()
100100 {
101- return "[" + this .getClass ().getSimpleName () + ":" + getStringValue () + "]" ;
101+ return "[" + getPropertyName () + "=" + this .getClass ().getSimpleName () + ":" + getStringValue () + "]" ;
102102 }
103103
104104 /**
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ void testPageTextSchema() throws XmpParsingException
198198 XMPPageTextSchema pageTextSchema = xmp .getPageTextSchema ();
199199 DimensionsType dim = (DimensionsType ) pageTextSchema .getProperty (XMPPageTextSchema .MAX_PAGE_SIZE );
200200 Assertions .assertEquals ("DimensionsType{4.0 x 3.0 inch}" , dim .toString ());
201- Assertions .assertEquals ("[IntegerType:7]" , pageTextSchema .getProperty (XMPPageTextSchema .N_PAGES ).toString ());
201+ Assertions .assertEquals ("[NPages= IntegerType:7]" , pageTextSchema .getProperty (XMPPageTextSchema .N_PAGES ).toString ());
202202 XMPMediaManagementSchema xmpMediaManagementSchema = xmp .getXMPMediaManagementSchema ();
203203 ResourceRefType derivedFromProperty = xmpMediaManagementSchema .getDerivedFromProperty ();
204204 Assertions .assertEquals ("uuid:b429d411-e628-45ca-b932-d2c77fbe6cd3" , xmpMediaManagementSchema .getInstanceID ());
You can’t perform that action at this time.
0 commit comments