Skip to content

Commit

Permalink
Rename tests and add text tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Mar 5, 2024
1 parent 2cac978 commit 98ce836
Show file tree
Hide file tree
Showing 29 changed files with 35 additions and 13 deletions.
27 changes: 14 additions & 13 deletions crates/resvg/tests/integration/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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); }
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions crates/resvg/tests/tests/painting/context/with-text.svg

0 comments on commit 98ce836

Please sign in to comment.