3 y  x x      x       t        x   " ! "" # $ %& x'()* /+,- ./ .0 12 t34 85 678 89 :; /< x=> ?@ AB CDE F GHI G; JF xKL M N JMO QP QR QSTU 6VWX / xYZ [\] m;^_`ab c def xgh xi rj k3l mno pq rrstuvwxyz8(Lorg/dataone/integration/ContextAwareTestCaseDataone;)VCodeLineNumberTableLocalVariableTablethisTLorg/dataone/integration/it/testImplementations/ContentIntegrityTestImplementations;catc5Lorg/dataone/integration/ContextAwareTestCaseDataone;testResourceMap_Parsing)(Ljava/util/Iterator;Ljava/lang/String;)V nodeIteratorLjava/util/Iterator;versionLjava/lang/String;LocalVariableTypeTable9Ljava/util/Iterator; StackMapTable SignatureN(Ljava/util/Iterator;Ljava/lang/String;)VRuntimeVisibleAnnotations-Lorg/dataone/integration/webTest/WebTestName;valueresource map - parsing4Lorg/dataone/integration/webTest/WebTestDescription;this test gets a resource map for the format identifier 'http://www.openarchives.org/ore/terms' and attempts to parse the contents of the input stream, verifying that no exceptions are thrown8(Lorg/dataone/service/types/v1/Node;Ljava/lang/String;)VeLjava/lang/Exception;oiResMap)Lorg/dataone/service/types/v1/ObjectInfo;isLjava/io/InputStream; resMapContentol)Lorg/dataone/service/types/v1/ObjectList;.Lorg/dataone/service/exceptions/BaseException;node#Lorg/dataone/service/types/v1/Node;cca4Lorg/dataone/integration/adapters/CommonCallAdapter; currentUrly{| })testResourceMap_Checksum_Size_Consistency(resource map - checksum size consistencythis test lists objects of type 'RESOURCE' and looks at the ObjectInfoto make sure the checksum and its size match what is in system metadata and that it matches what is recalculated when retrieving the object&testMetadata_Checksum_Size_Consistency$metadata - checksum size consistencythis test lists objects of type 'METADATA' and looks at the ObjectInfoto make sure the checksum and its size match what is in system metadata and that it matches what is recalculated when retrieving the object%testContent_Checksum_Size_ConsistencyJ(Ljava/lang/String;Lorg/dataone/service/types/v1/Node;Ljava/lang/String;)V.Lorg/dataone/service/exceptions/NotAuthorized;oismd-Lorg/dataone/service/types/v2/SystemMetadata;cis1Lorg/apache/commons/io/input/CountingInputStream;calcCS'Lorg/dataone/service/types/v1/Checksum;calcSizeJof+Lorg/dataone/service/types/v1/ObjectFormat;i$ofl/Lorg/dataone/service/types/v2/ObjectFormatList; formatTypeformatsCheckedLjava/lang/StringBuffer;foundOneZ)~4DtestResourceMapParsinga more thorough test of resource map parsing that fetches calls listObjects on the 'RESOURCE' format and iterates through all results and attempts to parse the contents of the input stream, verifying that no exceptions are thrownnpe Ljava/lang/NullPointerException;mn_testResourceMap_ResolveURLresource map - resolve URLz ... test seems to be unfinished ... looks like it should be going through the resource map and checking for resolve URLs?resourceMapCheckerr(Lorg/dataone/integration/adapters/CommonCallAdapter;Lorg/dataone/service/types/v1/Identifier;Ljava/lang/String;)Vpp)Lorg/dataone/service/types/v1/Identifier;iddocsdocdLjava/util/List;itaggLjava/util/Map;itt packageIdrm;Ljava/util/List;?Ljava/util/Iterator;uLjava/util/Map;>;Ljava/util/Map;>;>;slu Exceptions SourceFile(ContentIntegrityTestImplementations.java z{  !org/dataone/service/types/v1/Node 2org/dataone/integration/adapters/CommonCallAdapterpublic  z java/lang/StringBuilder ztestGetChecksum() vs. node:   %http://www.openarchives.org/ore/terms  |   'org/dataone/service/types/v1/ObjectInfo     java/lang/Exception 2should be able to parse the serialized resourceMap mNo resource maps (formatId = 'http://www.openarchives.org/ore/terms' returned from listObjects. Cannot test.,org/dataone/service/exceptions/BaseException  : ::    RESOURCE METADATAjava/lang/StringBufferFormats Checked: z&testContent_Checksum_Size_Consistency( ) vs. node:   ~  )org/dataone/service/types/v1/ObjectFormat {     $ looking for objects with format:    items found of type ,org/dataone/service/exceptions/NotAuthorized0objectInfo checksum should equal that of sysMeta   :  ,objectInfo size should equal that of sysMeta /org/apache/commons/io/input/CountingInputStream z  0calculated checksum should equal that of sysMeta,calculated size should equal that of sysMeta No objects of formatType )returned from listObjects. Cannot test. #testResourceMapParsing() vs. node:  Found public resource map: %got null content from the get requestjava/lang/NullPointerExceptionGot NPE exception from the parsing library, which means that the content could not be parsed into a ResourceMap. One known cause is relative resource URIs used for the resource map object, the aggregated resources, or the aggregation itself.DShould be able to parse the serialized resourceMap. Got exception: at line number  ANo public resource maps returned from listObjects. Cannot test. .testResourceMapParsing_ResolveURL() vs. node: 'org/dataone/service/types/v1/Identifier  package:    java/util/Mapmd: java/util/Listdata: parseResourceMap returned nullRorg/dataone/integration/it/testImplementations/ContentIntegrityTestImplementations.org/dataone/integration/it/ContextAwareAdapterjava/lang/String'org/dataone/service/types/v1/ObjectListjava/io/InputStream-org/dataone/service/types/v2/ObjectFormatListjava/util/Iterator+org/dataone/service/types/v2/SystemMetadata$java/io/UnsupportedEncodingException org/dspace/foresite/OREExceptionjava/net/URISyntaxException&org/dspace/foresite/OREParserExceptionhasNext()Znext()Ljava/lang/Object; getSessionA(Ljava/lang/String;)Lorg/dataone/client/rest/MultipartRestClient;e(Lorg/dataone/client/rest/MultipartRestClient;Lorg/dataone/service/types/v1/Node;Ljava/lang/String;)VgetNodeBaseServiceUrl()Ljava/lang/String;()Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toStringprintTestHeader(Ljava/lang/String;)V)org/dataone/client/v1/types/D1TypeBuilderbuildFormatIdentifierI(Ljava/lang/String;)Lorg/dataone/service/types/v1/ObjectFormatIdentifier; listObjects(Lorg/dataone/service/types/v1/Session;Ljava/util/Date;Ljava/util/Date;Lorg/dataone/service/types/v1/ObjectFormatIdentifier;Ljava/lang/Integer;Ljava/lang/Integer;)Lorg/dataone/service/types/v1/ObjectList;sizeObjectInfoList()IgetObjectInfoList()Ljava/util/List;get(I)Ljava/lang/Object; getIdentifier+()Lorg/dataone/service/types/v1/Identifier;f(Lorg/dataone/service/types/v1/Session;Lorg/dataone/service/types/v1/Identifier;)Ljava/io/InputStream;org/apache/commons/io/IOUtils)(Ljava/io/InputStream;)Ljava/lang/String;"org/dataone/ore/ResourceMapFactory getInstance&()Lorg/dataone/ore/ResourceMapFactory;parseResourceMap#(Ljava/lang/String;)Ljava/util/Map;getLatestRequestUrl handleFail'(Ljava/lang/String;Ljava/lang/String;)Vjava/lang/ObjectgetClass()Ljava/lang/Class;java/lang/Class getSimpleNamegetDetail_codegetDescriptionprintStackTracegetName getMessage/org/dataone/client/v2/formats/ObjectFormatCache3()Lorg/dataone/client/v2/formats/ObjectFormatCache; listFormats1()Lorg/dataone/service/types/v2/ObjectFormatList;getObjectFormatListiterator()Ljava/util/Iterator; getFormatTypeequals(Ljava/lang/Object;)Z getFormatId7()Lorg/dataone/service/types/v1/ObjectFormatIdentifier;3org/dataone/service/types/v1/ObjectFormatIdentifiergetValue,(Ljava/lang/String;)Ljava/lang/StringBuffer;log Lorg/apache/commons/logging/Log;org/apache/commons/logging/Loginfo(Ljava/lang/Object;)V(I)Ljava/lang/StringBuilder;getSystemMetadata~(Lorg/dataone/service/types/v1/Session;Lorg/dataone/service/types/v1/Identifier;)Lorg/dataone/service/types/v2/SystemMetadata; getChecksum)()Lorg/dataone/service/types/v1/Checksum;%org/dataone/service/types/v1/Checksum getAlgorithm checkEqualsK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VgetSize()Ljava/math/BigInteger;java/math/BigInteger(Ljava/io/InputStream;)V.org/dataone/service/types/v1/util/ChecksumUtilchecksumP(Ljava/io/InputStream;Ljava/lang/String;)Lorg/dataone/service/types/v1/Checksum; getByteCount()JvalueOf(J)Ljava/lang/String;java/lang/Integer(I)Ljava/lang/Integer; getStackTrace ()[Ljava/lang/StackTraceElement;java/lang/StackTraceElement getLineNumberkeySet()Ljava/util/Set; java/util/Setjava/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintln&(Ljava/lang/Object;)Ljava/lang/Object;!xy z{|>*+} )*~|}+*+,}1 23~  ss|> Y*+, N- :* Y  -:A:-::W: *- *-! n:*- Y #$%&'( 2:)* Y #*%+ iru.".}Z789.<>?F@VBbCiErHuFwGIJVOPVSTUW~z w V+bi>P7-7u   B{.|+*,+,-}^ _`~  ss|+*.+,-}g hi~  ss|/Y01:Y*,- : :* Y 2+3645:67:   8:  9+: Y ; <=>W? Y @ <=A <:  &6? Y  BC <=A : :  D: :1*F Y  GHI GJ Y  KHI KJL*M NO POL :QYR: GHS:T7*UJ KJL*VW POL`o:* Y #$%&'( 2:)* Y #*%+ ,* Y X+YZ %(EG"G>}'q st#uDwGyOzq{}|}%(*-;>@Emr~*  QF70+ q [ O8@- #yGU [  B|.-|}+*+,[} ~  ss|SY*+, N- :* Y \/Y01:645:67:W8:  9,:; Y ; <=>W- <]:  ? Y  BC <=A 7:   : - :6? Y ^ _A:   W *-` Z:U:*-b F:*- Y c#$%+de2fB ="*- Y gZ :*- Y #$%&'( D:)* Y #*%+de2fB NQENVaNe9"9}(.9<Dfs ,38DNQSVXbegR ~G3 X gA  fE P^<D7?SSSC=9P ^  DNB#B{@|}+*+,h} ~  ss|: Y*+, N- :* Y i/Y01:645:67:68:  9,: Y ; <=>W- <]:  ޲? Y  BC <=A 7:   : - :6? Y ^ _A: *-  jH:C:*-b 4:*- Y c#$%+ ^"*- Y gZ n:*- Y #$%&'( 2:)* Y #*%+ ?BE?Ga?V9"9}&.9<Df!s"$%&(+, -,.3/?>B2D>G4I5S>V9X:?BCDPIJPMNOQ~83 I X/ f$ P=<uDm7-    9z P \ DN0#B{.|c  -:kl:/m:n Y o_pklqr:kl:|m:n Y s_pqt:  7:  / m: n Y u _pͧ *vw }RW ]^`&a2bOcReof}ghiklmnopq s~ 2 6 j? o}     4? o} )5*I5