From 51712add1e78fc7d390428467389ec202d3be05a Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 28 Nov 2022 13:22:26 -0600 Subject: text tests: Rename test files that start with a bug number Part-of: --- tests/fixtures/text/804-tspan-direction-change-ref.svg | 7 ------- tests/fixtures/text/804-tspan-direction-change.svg | 16 ---------------- tests/fixtures/text/806-text-anchor-chunk-ref.svg | 9 --------- tests/fixtures/text/806-text-anchor-chunk.svg | 10 ---------- .../fixtures/text/bug804-tspan-direction-change-ref.svg | 7 +++++++ tests/fixtures/text/bug804-tspan-direction-change.svg | 16 ++++++++++++++++ tests/fixtures/text/bug806-text-anchor-chunk-ref.svg | 9 +++++++++ tests/fixtures/text/bug806-text-anchor-chunk.svg | 10 ++++++++++ tests/src/text.rs | 8 ++++---- 9 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 tests/fixtures/text/804-tspan-direction-change-ref.svg delete mode 100644 tests/fixtures/text/804-tspan-direction-change.svg delete mode 100644 tests/fixtures/text/806-text-anchor-chunk-ref.svg delete mode 100644 tests/fixtures/text/806-text-anchor-chunk.svg create mode 100644 tests/fixtures/text/bug804-tspan-direction-change-ref.svg create mode 100644 tests/fixtures/text/bug804-tspan-direction-change.svg create mode 100644 tests/fixtures/text/bug806-text-anchor-chunk-ref.svg create mode 100644 tests/fixtures/text/bug806-text-anchor-chunk.svg diff --git a/tests/fixtures/text/804-tspan-direction-change-ref.svg b/tests/fixtures/text/804-tspan-direction-change-ref.svg deleted file mode 100644 index 29a50b04..00000000 --- a/tests/fixtures/text/804-tspan-direction-change-ref.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - 00-24-AF-2A-55-FC :MAC כתובת - - diff --git a/tests/fixtures/text/804-tspan-direction-change.svg b/tests/fixtures/text/804-tspan-direction-change.svg deleted file mode 100644 index 1620bd7d..00000000 --- a/tests/fixtures/text/804-tspan-direction-change.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - Right-to-left Text - - An example for using the 'direction' and 'unicode-bidi' properties - in documents that predominantly use right-to-left languages. - - - כתובת MAC:‏ - 00-24-AF-2A-55-FC - - - diff --git a/tests/fixtures/text/806-text-anchor-chunk-ref.svg b/tests/fixtures/text/806-text-anchor-chunk-ref.svg deleted file mode 100644 index a8abdea4..00000000 --- a/tests/fixtures/text/806-text-anchor-chunk-ref.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/tests/fixtures/text/806-text-anchor-chunk.svg b/tests/fixtures/text/806-text-anchor-chunk.svg deleted file mode 100644 index b7a5cfe8..00000000 --- a/tests/fixtures/text/806-text-anchor-chunk.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - ABCDAB - diff --git a/tests/fixtures/text/bug804-tspan-direction-change-ref.svg b/tests/fixtures/text/bug804-tspan-direction-change-ref.svg new file mode 100644 index 00000000..29a50b04 --- /dev/null +++ b/tests/fixtures/text/bug804-tspan-direction-change-ref.svg @@ -0,0 +1,7 @@ + + + + 00-24-AF-2A-55-FC :MAC כתובת + + diff --git a/tests/fixtures/text/bug804-tspan-direction-change.svg b/tests/fixtures/text/bug804-tspan-direction-change.svg new file mode 100644 index 00000000..1620bd7d --- /dev/null +++ b/tests/fixtures/text/bug804-tspan-direction-change.svg @@ -0,0 +1,16 @@ + + + + Right-to-left Text + + An example for using the 'direction' and 'unicode-bidi' properties + in documents that predominantly use right-to-left languages. + + + כתובת MAC:‏ + 00-24-AF-2A-55-FC + + + diff --git a/tests/fixtures/text/bug806-text-anchor-chunk-ref.svg b/tests/fixtures/text/bug806-text-anchor-chunk-ref.svg new file mode 100644 index 00000000..a8abdea4 --- /dev/null +++ b/tests/fixtures/text/bug806-text-anchor-chunk-ref.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/tests/fixtures/text/bug806-text-anchor-chunk.svg b/tests/fixtures/text/bug806-text-anchor-chunk.svg new file mode 100644 index 00000000..b7a5cfe8 --- /dev/null +++ b/tests/fixtures/text/bug806-text-anchor-chunk.svg @@ -0,0 +1,10 @@ + + + + + + + ABCDAB + diff --git a/tests/src/text.rs b/tests/src/text.rs index c57ba58d..6f7c7d83 100644 --- a/tests/src/text.rs +++ b/tests/src/text.rs @@ -32,8 +32,8 @@ test_compare_render_output!( test_svg_reference!( text_anchor_chunk_806, - "tests/fixtures/text/806-text-anchor-chunk.svg", - "tests/fixtures/text/806-text-anchor-chunk-ref.svg" + "tests/fixtures/text/bug806-text-anchor-chunk.svg", + "tests/fixtures/text/bug806-text-anchor-chunk-ref.svg" ); test_svg_reference!( @@ -47,8 +47,8 @@ test_svg_reference!( // // test_svg_reference!( // tspan_direction_change_804, -// "tests/fixtures/text/804-tspan-direction-change.svg", -// "tests/fixtures/text/804-tspan-direction-change-ref.svg" +// "tests/fixtures/text/bug804-tspan-direction-change.svg", +// "tests/fixtures/text/bug804-tspan-direction-change-ref.svg" // ); test_svg_reference!( -- cgit v1.2.1