Skip to content

Commit

Permalink
A few quick typo fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvretano committed Jul 18, 2023
1 parent 5d6d619 commit bcee088
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 49 deletions.
1 change: 1 addition & 0 deletions core/abstract_tests/core/ATS_http.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[[ats_core_http]]

[abstract_test]
====
[%metadata]
Expand Down
19 changes: 9 additions & 10 deletions core/abstract_tests/job-list/ATS_limit-def.adoc
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".
33 changes: 11 additions & 22 deletions core/abstract_tests/job-list/ATS_limit-response.adoc
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.
--
=====
====
27 changes: 10 additions & 17 deletions core/abstract_tests/job-list/ATS_links.adoc
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>>.
--
=====
====
1 change: 1 addition & 0 deletions core/abstract_tests/job-list/ATS_processid-mandatory.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ test-method::
1. Get a list of jobs as per test <<ats_job-list_job-list-op,/conf/job-list/job-list-op>>.
2. Verify that each job includes a `processID` property.
--
====
1 change: 1 addition & 0 deletions core/abstract_tests/job-list/ATS_processid-response.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ test-method::
2. Inspect the value of the `processID` property for each job listed in the response.
3. Verify that that value of the `processID` property matches one of the values specified for the `processID` query parameter.
--
====

0 comments on commit bcee088

Please sign in to comment.