[librsvg: 5/7] test_svg_reference: declare all the imports here so users don't have to
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 5/7] test_svg_reference: declare all the imports here so users don't have to
- Date: Sat, 5 Mar 2022 03:35:30 +0000 (UTC)
commit f4a1d6e64a189734c4a1044979cbe6378710374e
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Mar 4 20:33:36 2022 -0600
test_svg_reference: declare all the imports here so users don't have to
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/670>
tests/src/reference_utils.rs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/tests/src/reference_utils.rs b/tests/src/reference_utils.rs
index 0b56f540f..69810e0de 100644
--- a/tests/src/reference_utils.rs
+++ b/tests/src/reference_utils.rs
@@ -245,7 +245,9 @@ macro_rules! test_svg_reference {
($test_name:ident, $test_filename:expr, $reference_filename:expr) => {
#[test]
fn $test_name() {
- use crate::utils::setup_font_map;
+ use crate::reference_utils::{Compare, Evaluate, Reference};
+ use crate::utils::{render_document, setup_font_map, SurfaceSize};
+ use cairo;
use librsvg::{CairoRenderer, Loader};
setup_font_map();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]