[librsvg: 27/53] Turn on CairoRenderer's test mode in the reference tests
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 27/53] Turn on CairoRenderer's test mode in the reference tests
- Date: Fri, 23 Oct 2020 02:19:07 +0000 (UTC)
commit f93ec253bdf3d908cf665711e8b5ab4cf93c6337
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Oct 15 11:17:58 2020 -0500
Turn on CairoRenderer's test mode in the reference tests
tests/src/reference.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/src/reference.rs b/tests/src/reference.rs
index 02d62bc3..b47f19eb 100644
--- a/tests/src/reference.rs
+++ b/tests/src/reference.rs
@@ -49,7 +49,7 @@ fn reference_test(name: &str) {
.read_path(&path)
.unwrap_or_else(|e| panic!("could not load: {}", e));
- let renderer = CairoRenderer::new(&handle).with_dpi(TEST_SUITE_DPI, TEST_SUITE_DPI);
+ let renderer = CairoRenderer::new(&handle).test_mode().with_dpi(TEST_SUITE_DPI, TEST_SUITE_DPI);
let (width, height) = image_size(renderer.intrinsic_dimensions(), TEST_SUITE_DPI);
let surface = cairo::ImageSurface::create(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]