Skip to content

Commit

Permalink
Update tagged regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Nov 11, 2024
1 parent a3bfeda commit c40e541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions PDF_UA-2/tagged pdf/transitionaltag_div_test.sch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<sch:pattern name = "Checking the validationReport: rules">
<sch:rule context="/report/jobs/job/validationReport/details">
<sch:assert test="(@failedRules = '1631')">Failed check, Expected: 1631</sch:assert>
<sch:assert test="(@failedRules = '1630')">Failed check, Expected: 1630</sch:assert>
</sch:rule>

</sch:pattern>
Expand Down Expand Up @@ -544,7 +544,6 @@

<sch:rule context="/report/jobs/job/validationReport/details/rule">
<sch:assert test="object != 'SEDiv' or
(@clause = 'Div-content' and @testNumber = '1' and @failedChecks = '57') or
(@clause = 'Em-Div' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'H-Div' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'Hn-Div' and @testNumber = '1' and @failedChecks = '24') or
Expand All @@ -570,7 +569,6 @@
(@clause = 'WP-Div' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'WT-Div' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'Warichu-Div' and @testNumber = '1' and @failedChecks = '4')">Failed rules, Expected:
Div-content-1, 57 checks, or
Em-Div-1, 4 checks, or
H-Div-1, 4 checks, or
Hn-Div-1, 24 checks, or
Expand Down
4 changes: 1 addition & 3 deletions PDF_UA-2/tagged pdf/transitionaltag_part_test.sch
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<sch:pattern name = "Checking the validationReport: rules">
<sch:rule context="/report/jobs/job/validationReport/details">
<sch:assert test="(@failedRules = '1631')">Failed check, Expected: 1631</sch:assert>
<sch:assert test="(@failedRules = '1630')">Failed check, Expected: 1630</sch:assert>
</sch:rule>

</sch:pattern>
Expand Down Expand Up @@ -1735,7 +1735,6 @@
(@clause = 'LI-Part' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'Lbl-Part' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'P-Part' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'Part-content' and @testNumber = '1' and @failedChecks = '57') or
(@clause = 'Quote-Part' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'RB-Part' and @testNumber = '1' and @failedChecks = '4') or
(@clause = 'RP-Part' and @testNumber = '1' and @failedChecks = '4') or
Expand Down Expand Up @@ -1765,7 +1764,6 @@
LI-Part-1, 4 checks, or
Lbl-Part-1, 4 checks, or
P-Part-1, 4 checks, or
Part-content-1, 57 checks, or
Quote-Part-1, 4 checks, or
RB-Part-1, 4 checks, or
RP-Part-1, 4 checks, or
Expand Down

0 comments on commit c40e541

Please sign in to comment.