[gtk+] Test some wilder names for classes, etc



commit d532c0e5c21d4974d873a0401cdca247f09fc0c8
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Nov 23 13:34:48 2010 -0500

    Test some wilder names for classes, etc

 gtk/tests/stylecontext.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/stylecontext.c b/gtk/tests/stylecontext.c
index 8888160..e623835 100644
--- a/gtk/tests/stylecontext.c
+++ b/gtk/tests/stylecontext.c
@@ -43,6 +43,7 @@ test_parse_at (void)
     "@define-color color red;",
     "@define-color color mix(shade (#121212, 0.5), mix (rgb(10%,20%,100%), @blue,0.5), 0.2);",
     "@define-color blue @blue;",
+    "@define-color blue123_a-b #123;",
     NULL
   };
 
@@ -66,6 +67,7 @@ test_parse_at (void)
     "@define-color color mix();",
     "@define-color color rgba(50%, 50%, 50%);",
     "@define-color color rgb(50%, a);",
+    "@define-color 1col rgb(50%, a);",
     "@three-dee { some other crap };",
     NULL
   };
@@ -132,6 +134,7 @@ test_parse_selectors (void)
     "E, F {}",
     "E, F /* comment here */ {}",
     "E,/* comment here */ F {}",
+    "E1.e1_2 #T3_4 {}",
     NULL
   };
 
@@ -150,6 +153,7 @@ test_parse_selectors (void)
      * the last element
      */
     "E:focused tab {}",
+    "E..bla {}",
      NULL
   };
 



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