Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363375 - Test suite requires oslc:totalCount even though the spec says it's optional
Summary: Test suite requires oslc:totalCount even though the spec says it's optional
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: TestSuite (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Samuel Padgett CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 14:41 EST by Samuel Padgett CLA
Modified: 2013-05-23 09:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Padgett CLA 2011-11-09 14:41:47 EST
See

http://open-services.net/bin/view/Main/OslcCoreSpecification?sortcol=table;table=up#Resource_Paging

"This optional property indicates the total number of results across all pages, its value should be non-negative. In the context of a query resource, this value SHOULD be the total number of results, i.e. the number of resources that match the query. In the context of other resources, the value SHOULD be the total number of property values (i.e. RDF triples) of the resource. Unless Stable Paging is in effect, the total count MAY vary as a client retrieves subsequent pages."

We should validate oslc:totalCount if it's there, but the tests should not fail if it's not.
Comment 1 Samuel Padgett CLA 2011-11-10 13:51:36 EST
Pull request: https://github.com/eclipse/lyo.testsuite/pull/2
Comment 3 Michael Fiedler CLA 2011-11-11 13:19:37 EST
resolved by commebnt 2
Comment 4 Samuel Padgett CLA 2013-05-23 09:13:24 EDT
Closing...