1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- describe("Archive submission process", function()
- describe("Valid submissions", function()
- it("should process a basic LL", function()
- end)
- it("should create resources with only IDs", function()
- end)
- it("should create resources with only source paths", function()
- end)
- it("should create resources with IDs & paths and keep the IDs", function()
- end)
- it("should create a DRes without a path or ID", function()
- end)
- it("should create resources with one multi-valued field", function()
- end)
- it("should create resources with multiple multi-valued fields", function()
- end)
- it("should process ID references", function()
- end)
- it("should process path references", function()
- end)
- it("should generate explicit collection members", function()
- end)
- it("should generate implicit collection members", function()
- end)
- end)
- describe("Invalid submissions", function()
- it("should not allow a first row without a content type", function()
- end)
- it("should not allow an ID on a row without a content type", function()
- end)
- it("should not allow a source path on a row without a content type", function()
- end)
- --[[
- it("should ", function()
- end)
- --]]
- end)
- describe("Update", function()
- it("should update metadata only from a LL", function()
- end)
- it("should update metadata and files from a full SIP", function()
- end)
- it("should update metadata of a file present in the archive but not in the SIP", function()
- end)
- it("should ", function()
- end)
- end)
- end)
- describe("Submission data validation", function ()
- it("should allow any number of values without cardinality constraints", function()
- end)
- it("should fail if any value is below min cardinality", function()
- end)
- it("should fail if any value is above max cardinality", function()
- end)
- it("should fail if value cannot be cast to the given data type", function()
- end)
- it("should fail if a number is out of range", function()
- end)
- it("should fail if a string is out of range", function()
- end)
- it("should fail if a relationship is out of range", function()
- end)
- end)
|