Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363375

Summary: Test suite requires oslc:totalCount even though the spec says it's optional
Product: [Technology] Lyo Reporter: Samuel Padgett <samuel.padgett>
Component: TestSuiteAssignee: Samuel Padgett <samuel.padgett>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: fiedler.mf, samuel.padgett
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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...