From cbdb982a8a65ad13fe0f06c975430da4a2ae6aca Mon Sep 17 00:00:00 2001 From: Shunguo Date: Tue, 22 Aug 2023 14:53:19 -0500 Subject: [PATCH] update test cases #1472 --- .../src/v2/checker/accessibility/util/legacy.ts | 2 +- ...lumn_headers.htm => table_column_headers.html} | 0 ...ders_css.htm => table_column_headers_css.html} | 0 ...le_headers1.htm => table_double_headers1.html} | 0 ...le_headers2.htm => table_double_headers2.html} | 0 .../{table_empty.htm => table_empty.html} | 0 ...le_headers.htm => table_multiple_headers.html} | 0 ...s_bottom.htm => table_row_headers_bottom.html} | 15 +++++++-------- ...htm => table_row_headers_bottom_tr_empty.html} | 0 ...s_middle.htm => table_row_headers_middle.html} | 0 ...ltiple.htm => table_row_headers_multiple.html} | 0 ...s_top_th.htm => table_row_headers_top_th.html} | 0 ...s_top_tr.htm => table_row_headers_top_tr.html} | 0 ...ty.htm => table_row_headers_top_tr_empty.html} | 0 14 files changed, 8 insertions(+), 9 deletions(-) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_column_headers.htm => table_column_headers.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_column_headers_css.htm => table_column_headers_css.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_double_headers1.htm => table_double_headers1.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_double_headers2.htm => table_double_headers2.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_empty.htm => table_empty.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_multiple_headers.htm => table_multiple_headers.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_bottom.htm => table_row_headers_bottom.html} (90%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_bottom_tr_empty.htm => table_row_headers_bottom_tr_empty.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_middle.htm => table_row_headers_middle.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_multiple.htm => table_row_headers_multiple.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_top_th.htm => table_row_headers_top_th.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_top_tr.htm => table_row_headers_top_tr.html} (100%) rename accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/{table_row_headers_top_tr_empty.htm => table_row_headers_top_tr_empty.html} (100%) diff --git a/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts b/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts index 8281bda33..d92d2ff8a 100644 --- a/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts +++ b/accessibility-checker-engine/src/v2/checker/accessibility/util/legacy.ts @@ -1166,7 +1166,7 @@ export class RPTUtil { lastRow = rows[r]; passed = RPTUtil.isTableRowEmpty(lastRow); } - + console.log("passed=" +passed +", lastRow=" + lastRow.innerHTML); if (passed) //shouldn't happen! return true; diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers_css.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers_css.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers_css.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_column_headers_css.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers1.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers1.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers1.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers1.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers2.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers2.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers2.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_double_headers2.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_empty.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_empty.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_empty.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_empty.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_multiple_headers.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_multiple_headers.html similarity index 100% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_multiple_headers.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_multiple_headers.html diff --git a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.htm b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.html similarity index 90% rename from accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.htm rename to accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.html index 77e5790eb..a99beef6d 100755 --- a/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.htm +++ b/accessibility-checker-engine/test/v2/checker/accessibility/rules/table_headers_exists_ruleunit/table_row_headers_bottom.html @@ -19,30 +19,29 @@ -Data table - + - - - - - + + + - +
Council budget 2018
Donuts + Donuts 3,000 2,000
Stationery + Stationery 18,000 8,000
ItemsExpenditureOtherItemsExpenditureOther