Closed gregjan closed 5 years ago
There is a lot here and probably several commits that are worthy of discussion. To summarize, several tests resulted in errors for reasons particular to Trellis, but not out of line with the Fedora spec (IMO). So in those cases I have narrowed the tests to focus on the specification. In other cases I have expanded the test code because Trellis requires a more complete RDF body for direct and indirect containers. I also added a less prescriptive Graph assertion method, for testing triple patterns instead of particular SPOs.
FYI, latest annotated results for Trellis w/PostgreSQL after these adjustments: http://drastic-testbed.umd.edu/static/Fedora-reports/trellis-ext-db/report/testsuite-execution-report.html
Okay, great! Glad that we identified a spec detail as well. I'm not sure that I can merge this, but let me know if there is more that I can do.
I'll wait to create my other PR until this merges, since it'll look a lot cleaner after I rebase..
This code primarily separates direct and indirect container support from other related requirements, including the ldp:constrainedBy header requirement. It ensured that some additional tests are skipped when direct or indirect containers are not supported (Prefer membership). It creates a separate set of tests for the ldp:constrainedBy Link header.
Note: This will require rebase after/if other PRs are accepted.