You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/ConvSpec-001-007.xspec
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,12 @@
26
26
<x:expectlabel="...and set the code for DLC"test="//bf:Work[4]/bf:adminMetadata/bf:AdminMetadata/bf:identifiedBy/bf:Local/bf:assigner/bf:Agent/bf:code = 'DLC'"/>
27
27
</x:scenario>
28
28
29
-
<x:scenariolabel="005 - DATE AND TIME OF LAST TRANSACTION">
29
+
<x:scenariolabel="005 - DATE AND TIME OF LAST CATALOGER EDIT">
30
30
<x:contexthref="data/ConvSpec-001-007/marc.xml"/>
31
-
<x:expectlabel="005 should set the AdminMetadata changeDate property for the work"test="//bf:Work[1]/bf:adminMetadata/bf:AdminMetadata/bf:changeDate[@rdf:datatype='http://www.w3.org/2001/XMLSchema#dateTime'] = '2011-07-13T21:24:05'"/>
32
-
<x:expectlabel="005 with all '0' should not convert"test="count(//bf:Work[1]/bf:adminMetadata/bf:AdminMetadata/bf:changeDate) = 1"/>
31
+
<x:expectlabel="005 should set the AdminMetadata status property to 'changed' for the work"test="//bf:Work[1]/bf:adminMetadata[2]/bf:AdminMetadata/bf:status/bf:Status/@rdf:about = 'http://id.loc.gov/vocabulary/mstatus/c'"/>
32
+
<x:expectlabel="005 AdminMetadata should not have generationProcess"test="not(//bf:Work[1]/bf:adminMetadata[2]/bf:AdminMetadata/bf:generationProcess)"/>
33
+
<x:expectlabel="005 should set the AdminMetadata changeDate property for the work"test="//bf:Work[1]/bf:adminMetadata[2]/bf:AdminMetadata/bf:date[@rdf:datatype='http://www.w3.org/2001/XMLSchema#dateTime'] = '2011-07-13T21:24:05'"/>
34
+
<x:expectlabel="005 with all '0' should not convert"test="count(//bf:Work[1]/bf:adminMetadata[2]/bf:AdminMetadata/bf:date) = 1"/>
Copy file name to clipboardExpand all lines: test/ConvSpec-006,008.xspec
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,8 @@
27
27
28
28
<x:scenariolabel="ALL MATERIALS">
29
29
<x:contexthref="data/ConvSpec-006,008/marc.xml"/>
30
-
<x:expectlabel="pos 0-5 should set the AdminMetadata creationDate property of the Work"test="//bf:Work[1]/bf:adminMetadata/bf:AdminMetadata/bf:creationDate = '2004-05-20'"/>
30
+
<x:expectlabel="pos 0-5 should set the AdminMetadata to type 'create'"test="//bf:Work[1]/bf:adminMetadata[1]/bf:AdminMetadata/bf:status/bf:Status/@rdf:about = 'http://id.loc.gov/vocabulary/mstatus/n'"/>
31
+
<x:expectlabel="pos 0-5 should set the AdminMetadata date property of the 'create' AM"test="//bf:Work[1]/bf:adminMetadata[1]/bf:AdminMetadata/bf:date = '2004-05-20'"/>
31
32
<x:expectlabel="pos 6-14 date handling"test="//bf:Instance[1]/bf:provisionActivity/bf:ProvisionActivity/bf:date = '200X'"/>
32
33
<x:expectlabel="c or d in pos 6 adds a status"test="//bf:Instance[7]/bf:provisionActivity/bf:ProvisionActivity/bf:status/bf:Status/rdfs:label = 'ceased'"/>
0 commit comments