-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
33 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[[ats_core_http]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
[[ats_job-list_limit-definition]][abstract_test] | ||
[[ats_job-list_limit-definition]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
label:: /conf/job-list/limit-definition | ||
subject:: <<req_job-list_limit-definition,/req/job-list/limit-definition>> | ||
identifier:: /conf/job-list/limit-definition | ||
target:: <<req_job-list_limit-definition,/req/job-list/limit-definition>> | ||
test-purpose:: Validate that the `limit` query parameter is constructed correctly. | ||
[.component,class=test method] | ||
===== | ||
[.component,class=step] | ||
test-method:: | ||
+ | ||
-- | ||
Verify that the `limit` query parameter complies with its definition in requirement <<req_job-list_limit-definition,/req/job-list/limit-definition>>. | ||
|
||
Note that the API can define different values for "minimum", "maximum" and "default". | ||
-- | ||
===== | ||
==== | ||
|
||
NOTE: The API can define different values for "minimum", "maximum" and "default". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,20 @@ | ||
[[ats_job-list_limit-response]][abstract_test] | ||
[[ats_job-list_limit-response]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
label:: /conf/job-list/limit-response | ||
subject:: <<req_job-list_limit-response,/req/job-list/limit-response>> | ||
identifier:: /conf/job-list/limit-response | ||
target:: <<req_job-list_limit-response,/req/job-list/limit-response>> | ||
test-purpose:: Validate that the `limit` query parameter is processed correctly. | ||
[.component,class=test method] | ||
===== | ||
|
||
[.component,class=step] | ||
-- | ||
Get a list of jobs as per test <<ats_job-list_job-list-op,/conf/job-list/job-list-op>> and append the `limit` query parameter to the request. | ||
test-method:: | ||
+ | ||
-- | ||
1. Get a list of jobs as per test <<ats_job-list_job-list-op,/conf/job-list/job-list-op>> and append the `limit` query parameter to the request. | ||
[.component,class=step] | ||
-- | ||
Count the number of jobs listed in the response. | ||
-- | ||
2. Count the number of jobs listed in the response. | ||
[.component,class=step] | ||
-- | ||
Verify that this count is not greater than the value specified by the `limit` parameter. | ||
-- | ||
3. Verify that this count is not greater than the value specified by the `limit` parameter. | ||
[.component,class=step] | ||
-- | ||
If the API definition specifies a maximum value for `limit` parameter, verify that the count does not exceed this maximum value. | ||
4. If the API definition specifies a maximum value for `limit` parameter, verify that the count does not exceed this maximum value. | ||
-- | ||
===== | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,18 @@ | ||
[[ats_job-list_links]][abstract_test] | ||
[[ats_job-list_links]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
label:: /conf/job-list/links | ||
subject:: <<req_job-list_links,/req/job-list/links>> | ||
identifier:: /conf/job-list/links | ||
target:: <<req_job-list_links,/req/job-list/links>> | ||
test-purpose:: Validate that the proper links are included in a response. | ||
[.component,class=test method] | ||
===== | ||
[.component,class=step] | ||
-- | ||
Get a list of jobs as per test <<ats_job-list_job-list-op,/conf/job-list/job-list-op>>. | ||
test-method:: | ||
+ | ||
-- | ||
1. Get a list of jobs as per test <<ats_job-list_job-list-op,/conf/job-list/job-list-op>>. | ||
[.component,class=step] | ||
-- | ||
Verify that the `links` section of the response contains a link with `rel=self`. | ||
-- | ||
2. Verify that the `links` section of the response contains a link with `rel=self`. | ||
[.component,class=step] | ||
-- | ||
Verify that the `links` section of the response contains a link with `rel=alternate` for each response representation the service claims to support in its <<sc_conformance,conformance document>>. | ||
3. Verify that the `links` section of the response contains a link with `rel=alternate` for each response representation the service claims to support in its <<sc_conformance,conformance document>>. | ||
-- | ||
===== | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters