[librsvg: 11/19] Enable all the remaining transform tests



commit e387cfaed96ecef05c171991e6feb83431d2a249
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Jan 22 12:21:25 2018 -0600

    Enable all the remaining transform tests

 rust/src/transform.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rust/src/transform.rs b/rust/src/transform.rs
index a6693ec..57518a9 100644
--- a/rust/src/transform.rs
+++ b/rust/src/transform.rs
@@ -228,7 +228,6 @@ mod test {
     use super::*;
 
     #[test]
-    #[ignore]
     fn parses_valid_transform () {
         let t = cairo::Matrix::new (1.0, 0.0, 0.0, 1.0, 20.0, 30.0);
         let s = cairo::Matrix::new (10.0, 0.0, 0.0, 10.0, 0.0, 0.0);
@@ -247,16 +246,18 @@ mod test {
     }
 
     #[test]
-    #[ignore]
     fn syntax_error_yields_parse_error () {
         assert_parse_error("foo");
         assert_parse_error("matrix (1 2 3 4 5)");
         assert_parse_error("translate(1 2 3 4 5)");
         assert_parse_error("translate (1,)");
+        assert_parse_error("scale (1,)");
+        assert_parse_error("skewX (1,2)");
+        assert_parse_error("skewY ()");
+        assert_parse_error("skewY");
     }
 
     #[test]
-    #[ignore]
     fn invalid_transform_yields_value_error () {
         match parse_transform ("matrix (0 0 0 0 0 0)") {
             Err (AttributeError::Value (_)) => {},
@@ -347,7 +348,6 @@ mod parser_tests {
     }
 
     #[test]
-    #[ignore]
     fn parses_transform_list () {
         let t = cairo::Matrix::new (1.0, 0.0, 0.0, 1.0, 20.0, 30.0);
         let s = cairo::Matrix::new (10.0, 0.0, 0.0, 10.0, 0.0, 0.0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]