From 98ce836e0e872b1b0f1cdf8455ee5a6c06cb560a Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl Date: Tue, 5 Mar 2024 16:52:27 +0100 Subject: [PATCH] Rename tests and add text tests --- crates/resvg/tests/integration/render.rs | 27 +++++++++--------- .../{context-in-marker.png => in-marker.png} | Bin .../{context-in-marker.svg => in-marker.svg} | 0 ...nested-marker.png => in-nested-marker.png} | Bin ...nested-marker.svg => in-nested-marker.svg} | 0 ...arker.png => in-nested-use-and-marker.png} | Bin ...arker.svg => in-nested-use-and-marker.svg} | 0 ...xt-in-nested-use.png => in-nested-use.png} | Bin ...xt-in-nested-use.svg => in-nested-use.svg} | 0 .../{context-in-use.png => in-use.png} | Bin .../{context-in-use.svg => in-use.svg} | 0 ... with-gradient-and-gradient-transform.png} | Bin ... with-gradient-and-gradient-transform.svg} | 0 ...nt-in-use.png => with-gradient-in-use.png} | Bin ...nt-in-use.svg => with-gradient-in-use.svg} | 0 ...marker.png => with-gradient-on-marker.png} | Bin ...marker.svg => with-gradient-on-marker.svg} | 0 ... => with-pattern-and-transform-in-use.png} | Bin ... => with-pattern-and-transform-in-use.svg} | 0 ...ern-in-use.png => with-pattern-in-use.png} | Bin ...ern-in-use.svg => with-pattern-in-use.svg} | 0 ...with-pattern-objectBoundingBox-in-use.png} | Bin ...with-pattern-objectBoundingBox-in-use.svg} | 0 ...-marker.png => with-pattern-on-marker.png} | Bin ...-marker.svg => with-pattern-on-marker.svg} | 0 .../tests/painting/context/with-text.png | Bin 0 -> 6611 bytes .../tests/painting/context/with-text.svg | 21 ++++++++++++++ ...lement.png => without-context-element.png} | Bin ...lement.svg => without-context-element.svg} | 0 29 files changed, 35 insertions(+), 13 deletions(-) rename crates/resvg/tests/tests/painting/context/{context-in-marker.png => in-marker.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-marker.svg => in-marker.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-marker.png => in-nested-marker.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-marker.svg => in-nested-marker.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-use-and-marker.png => in-nested-use-and-marker.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-use-and-marker.svg => in-nested-use-and-marker.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-use.png => in-nested-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-nested-use.svg => in-nested-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-use.png => in-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-in-use.svg => in-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-and-gradient-transform.png => with-gradient-and-gradient-transform.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-and-gradient-transform.svg => with-gradient-and-gradient-transform.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-in-use.png => with-gradient-in-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-in-use.svg => with-gradient-in-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-on-marker.png => with-gradient-on-marker.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-gradient-on-marker.svg => with-gradient-on-marker.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-and-transform-in-use.png => with-pattern-and-transform-in-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-and-transform-in-use.svg => with-pattern-and-transform-in-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-in-use.png => with-pattern-in-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-in-use.svg => with-pattern-in-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-objectBoundingBox-in-use.png => with-pattern-objectBoundingBox-in-use.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-objectBoundingBox-in-use.svg => with-pattern-objectBoundingBox-in-use.svg} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-on-marker.png => with-pattern-on-marker.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-with-pattern-on-marker.svg => with-pattern-on-marker.svg} (100%) create mode 100644 crates/resvg/tests/tests/painting/context/with-text.png create mode 100644 crates/resvg/tests/tests/painting/context/with-text.svg rename crates/resvg/tests/tests/painting/context/{context-without-context-element.png => without-context-element.png} (100%) rename crates/resvg/tests/tests/painting/context/{context-without-context-element.svg => without-context-element.svg} (100%) diff --git a/crates/resvg/tests/integration/render.rs b/crates/resvg/tests/integration/render.rs index 93584ca93..7c815fa72 100644 --- a/crates/resvg/tests/integration/render.rs +++ b/crates/resvg/tests/integration/render.rs @@ -643,19 +643,20 @@ use crate::render; #[test] fn painting_color_recursive_nested_context_without_color() { assert_eq!(render("tests/painting/color/recursive-nested-context-without-color"), 0); } #[test] fn painting_color_recursive_nested_context() { assert_eq!(render("tests/painting/color/recursive-nested-context"), 0); } #[test] fn painting_color_simple_case() { assert_eq!(render("tests/painting/color/simple-case"), 0); } -#[test] fn painting_context_context_in_marker() { assert_eq!(render("tests/painting/context/context-in-marker"), 0); } -#[test] fn painting_context_context_in_nested_marker() { assert_eq!(render("tests/painting/context/context-in-nested-marker"), 0); } -#[test] fn painting_context_context_in_nested_use_and_marker() { assert_eq!(render("tests/painting/context/context-in-nested-use-and-marker"), 0); } -#[test] fn painting_context_context_in_nested_use() { assert_eq!(render("tests/painting/context/context-in-nested-use"), 0); } -#[test] fn painting_context_context_in_use() { assert_eq!(render("tests/painting/context/context-in-use"), 0); } -#[test] fn painting_context_context_with_gradient_and_gradient_transform() { assert_eq!(render("tests/painting/context/context-with-gradient-and-gradient-transform"), 0); } -#[test] fn painting_context_context_with_gradient_in_use() { assert_eq!(render("tests/painting/context/context-with-gradient-in-use"), 0); } -#[test] fn painting_context_context_with_gradient_on_marker() { assert_eq!(render("tests/painting/context/context-with-gradient-on-marker"), 0); } -#[test] fn painting_context_context_with_pattern_and_transform_in_use() { assert_eq!(render("tests/painting/context/context-with-pattern-and-transform-in-use"), 0); } -#[test] fn painting_context_context_with_pattern_in_use() { assert_eq!(render("tests/painting/context/context-with-pattern-in-use"), 0); } -#[test] fn painting_context_context_with_pattern_objectBoundingBox_in_use() { assert_eq!(render("tests/painting/context/context-with-pattern-objectBoundingBox-in-use"), 0); } -#[test] fn painting_context_context_with_pattern_on_marker() { assert_eq!(render("tests/painting/context/context-with-pattern-on-marker"), 0); } -#[test] fn painting_context_context_without_context_element() { assert_eq!(render("tests/painting/context/context-without-context-element"), 0); } +#[test] fn painting_context_in_marker() { assert_eq!(render("tests/painting/context/in-marker"), 0); } +#[test] fn painting_context_in_nested_marker() { assert_eq!(render("tests/painting/context/in-nested-marker"), 0); } +#[test] fn painting_context_in_nested_use_and_marker() { assert_eq!(render("tests/painting/context/in-nested-use-and-marker"), 0); } +#[test] fn painting_context_in_nested_use() { assert_eq!(render("tests/painting/context/in-nested-use"), 0); } +#[test] fn painting_context_in_use() { assert_eq!(render("tests/painting/context/in-use"), 0); } +#[test] fn painting_context_with_gradient_and_gradient_transform() { assert_eq!(render("tests/painting/context/with-gradient-and-gradient-transform"), 0); } +#[test] fn painting_context_with_gradient_in_use() { assert_eq!(render("tests/painting/context/with-gradient-in-use"), 0); } +#[test] fn painting_context_with_gradient_on_marker() { assert_eq!(render("tests/painting/context/with-gradient-on-marker"), 0); } +#[test] fn painting_context_with_pattern_and_transform_in_use() { assert_eq!(render("tests/painting/context/with-pattern-and-transform-in-use"), 0); } +#[test] fn painting_context_with_pattern_in_use() { assert_eq!(render("tests/painting/context/with-pattern-in-use"), 0); } +#[test] fn painting_context_with_pattern_objectBoundingBox_in_use() { assert_eq!(render("tests/painting/context/with-pattern-objectBoundingBox-in-use"), 0); } +#[test] fn painting_context_with_pattern_on_marker() { assert_eq!(render("tests/painting/context/with-pattern-on-marker"), 0); } +#[test] fn painting_context_with_text() { assert_eq!(render("tests/painting/context/with-text"), 0); } +#[test] fn painting_context_without_context_element() { assert_eq!(render("tests/painting/context/without-context-element"), 0); } #[test] fn painting_display_bBox_impact() { assert_eq!(render("tests/painting/display/bBox-impact"), 0); } #[test] fn painting_display_none_on_clipPath() { assert_eq!(render("tests/painting/display/none-on-clipPath"), 0); } #[test] fn painting_display_none_on_defs() { assert_eq!(render("tests/painting/display/none-on-defs"), 0); } diff --git a/crates/resvg/tests/tests/painting/context/context-in-marker.png b/crates/resvg/tests/tests/painting/context/in-marker.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-marker.png rename to crates/resvg/tests/tests/painting/context/in-marker.png diff --git a/crates/resvg/tests/tests/painting/context/context-in-marker.svg b/crates/resvg/tests/tests/painting/context/in-marker.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-marker.svg rename to crates/resvg/tests/tests/painting/context/in-marker.svg diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-marker.png b/crates/resvg/tests/tests/painting/context/in-nested-marker.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-marker.png rename to crates/resvg/tests/tests/painting/context/in-nested-marker.png diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-marker.svg b/crates/resvg/tests/tests/painting/context/in-nested-marker.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-marker.svg rename to crates/resvg/tests/tests/painting/context/in-nested-marker.svg diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-use-and-marker.png b/crates/resvg/tests/tests/painting/context/in-nested-use-and-marker.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-use-and-marker.png rename to crates/resvg/tests/tests/painting/context/in-nested-use-and-marker.png diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-use-and-marker.svg b/crates/resvg/tests/tests/painting/context/in-nested-use-and-marker.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-use-and-marker.svg rename to crates/resvg/tests/tests/painting/context/in-nested-use-and-marker.svg diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-use.png b/crates/resvg/tests/tests/painting/context/in-nested-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-use.png rename to crates/resvg/tests/tests/painting/context/in-nested-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-in-nested-use.svg b/crates/resvg/tests/tests/painting/context/in-nested-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-nested-use.svg rename to crates/resvg/tests/tests/painting/context/in-nested-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-in-use.png b/crates/resvg/tests/tests/painting/context/in-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-use.png rename to crates/resvg/tests/tests/painting/context/in-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-in-use.svg b/crates/resvg/tests/tests/painting/context/in-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-in-use.svg rename to crates/resvg/tests/tests/painting/context/in-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-and-gradient-transform.png b/crates/resvg/tests/tests/painting/context/with-gradient-and-gradient-transform.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-and-gradient-transform.png rename to crates/resvg/tests/tests/painting/context/with-gradient-and-gradient-transform.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-and-gradient-transform.svg b/crates/resvg/tests/tests/painting/context/with-gradient-and-gradient-transform.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-and-gradient-transform.svg rename to crates/resvg/tests/tests/painting/context/with-gradient-and-gradient-transform.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-in-use.png b/crates/resvg/tests/tests/painting/context/with-gradient-in-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-in-use.png rename to crates/resvg/tests/tests/painting/context/with-gradient-in-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-in-use.svg b/crates/resvg/tests/tests/painting/context/with-gradient-in-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-in-use.svg rename to crates/resvg/tests/tests/painting/context/with-gradient-in-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-on-marker.png b/crates/resvg/tests/tests/painting/context/with-gradient-on-marker.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-on-marker.png rename to crates/resvg/tests/tests/painting/context/with-gradient-on-marker.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-gradient-on-marker.svg b/crates/resvg/tests/tests/painting/context/with-gradient-on-marker.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-gradient-on-marker.svg rename to crates/resvg/tests/tests/painting/context/with-gradient-on-marker.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-and-transform-in-use.png b/crates/resvg/tests/tests/painting/context/with-pattern-and-transform-in-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-and-transform-in-use.png rename to crates/resvg/tests/tests/painting/context/with-pattern-and-transform-in-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-and-transform-in-use.svg b/crates/resvg/tests/tests/painting/context/with-pattern-and-transform-in-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-and-transform-in-use.svg rename to crates/resvg/tests/tests/painting/context/with-pattern-and-transform-in-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-in-use.png b/crates/resvg/tests/tests/painting/context/with-pattern-in-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-in-use.png rename to crates/resvg/tests/tests/painting/context/with-pattern-in-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-in-use.svg b/crates/resvg/tests/tests/painting/context/with-pattern-in-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-in-use.svg rename to crates/resvg/tests/tests/painting/context/with-pattern-in-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-objectBoundingBox-in-use.png b/crates/resvg/tests/tests/painting/context/with-pattern-objectBoundingBox-in-use.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-objectBoundingBox-in-use.png rename to crates/resvg/tests/tests/painting/context/with-pattern-objectBoundingBox-in-use.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-objectBoundingBox-in-use.svg b/crates/resvg/tests/tests/painting/context/with-pattern-objectBoundingBox-in-use.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-objectBoundingBox-in-use.svg rename to crates/resvg/tests/tests/painting/context/with-pattern-objectBoundingBox-in-use.svg diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-on-marker.png b/crates/resvg/tests/tests/painting/context/with-pattern-on-marker.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-on-marker.png rename to crates/resvg/tests/tests/painting/context/with-pattern-on-marker.png diff --git a/crates/resvg/tests/tests/painting/context/context-with-pattern-on-marker.svg b/crates/resvg/tests/tests/painting/context/with-pattern-on-marker.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-with-pattern-on-marker.svg rename to crates/resvg/tests/tests/painting/context/with-pattern-on-marker.svg diff --git a/crates/resvg/tests/tests/painting/context/with-text.png b/crates/resvg/tests/tests/painting/context/with-text.png new file mode 100644 index 0000000000000000000000000000000000000000..b44e1c29080a1c47426a54f051a57dafe49beeb0 GIT binary patch literal 6611 zcmbtZXHXPfniR_fxmKZ`XaEd(Sy_Zj7$>Gb(Zxay&ddD)r~8dU$yF zLVr%uJGd6#z(h|xJmySwRi#%x3*YDP?dX)41}3Ur5HR2o_=IG4-cM%}kmi3fS_q^e z;+mzQA^k43U!L==nn^B}7pVLfx3lPfR0(Yya0Cz6DEKvkhoH zR-o*mne|dY2AiA*2A||E%udw-6!QaSD*SmIQ#gi5 zFW1}n24k`ya-hGUaNthZ_3QGd+->1))=99BvvgvONOww={n*Z`zc=HtOvMXOrRZgL zhu0op1v$2T&e(B?x;kmTxY^i!amYCZA6MXjcaT}-x8Pxep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AGUrN*uA%~{F#cCcer#D>&tUq`FEifoLVvKZ(6fz1UNXaqeow` zyvS0D0jL)=ncFF-5cvi6MMee(+kER0=|T;JA2#DI*p1@bqOgWS{dEc7Edm_|@o>WW zb!a#^EC8jo1xB&ynGdHhx*bcX9?o?aLCA`Q3fmt$Q8~Bhz+*LJPXBU!<0*Z7;rShH zoEyq>CG>TFzb^2~YtO@oFFEF0%;s&RAe!jz2IQ2$YqRKMX2g^j!{_ZI>hDY}&OO#W zvZyEB$Vu2EuG;c<`&VwF&>EX-ZzSe#S~yr`Va^CLFzLr(Pf!^coo|zzuriSA>q)G2 z@Wh?fTfR3biWx=bIjorbNV*?X!R|d#8#{EV34J~&bbp_>F5-I;4fG1fgDNUvzeip| zLyfD++sut!BVd}$rGjjs^j@!l(<#Qj6W~>a4J&UMh(aD2}^cd*G2H@cPX@q3UTA04plC~-IbgC9Y-n5nLSS!BwAHr z{Zh2GN?d}p8wm$wJTT(WEiS?014B7*p zo`fzfe$sSR=e6CmAAB%sq&mix5o-A&-3NIV-)fv830^5Gx14-k?^KWxl4SbSW^ zSt5hr*CO**F5@S5g7e~<5A?IH7IM8}iSX0<*6FI!B00lc-wPHx@Jq&R=*ALC@&-IR zyQ@S)^g06Ny7~0r;9zpk<5gH#SWn{ZKqbSLDrHZn?fN~KAotIgZ9gP`rI#vx^4soD zx*zH|3^|NW1+kPrFMP#pi-k7ixC}bgCidystB}&%qrvyf;r}X%#=F>JI3Rhk^2|IK zY>d54o)@7s0K{3x2bE-I13;@r?s@IHSuLJ-RrG;hinKpzv7cYIqCAmw-xnG>URyeb zoT=3Wed<+FsJ?l$(9rjgQig?Z+n0NYJ?WTqO@I^XfB(NshJmU+4D8Xa|;Ood(6t`W~H literal 0 HcmV?d00001 diff --git a/crates/resvg/tests/tests/painting/context/with-text.svg b/crates/resvg/tests/tests/painting/context/with-text.svg new file mode 100644 index 000000000..dc287888f --- /dev/null +++ b/crates/resvg/tests/tests/painting/context/with-text.svg @@ -0,0 +1,21 @@ + + `context-fill` on text with decoration + + + + + + + + + + + Text + + + + + + + + diff --git a/crates/resvg/tests/tests/painting/context/context-without-context-element.png b/crates/resvg/tests/tests/painting/context/without-context-element.png similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-without-context-element.png rename to crates/resvg/tests/tests/painting/context/without-context-element.png diff --git a/crates/resvg/tests/tests/painting/context/context-without-context-element.svg b/crates/resvg/tests/tests/painting/context/without-context-element.svg similarity index 100% rename from crates/resvg/tests/tests/painting/context/context-without-context-element.svg rename to crates/resvg/tests/tests/painting/context/without-context-element.svg