Commit fbf658b0 authored by Benjamin Otte's avatar Benjamin Otte

tests: Add CSS integer parsing tests

parent d28816bd
......@@ -34,6 +34,9 @@ EXTRA_DIST += \
does-not-exist.css \
does-not-exist.errors \
does-not-exist.ref.css \
integer.css \
integer.errors \
integer.ref.css \
no-semicolon.css \
no-semicolon.ref.css \
simple.css
a {
int-property: 0;
}
b {
int-property: 1;
}
c {
int-property: -1;
}
d {
int-property: 2147483647;
}
e {
int-property: -2147483648;
}
f {
int-property: 1.0;
}
g {
int-property: 3px;
}
h {
int-property: 0xFF;
}
i {
int-property: 0377;
}
j {
int-property: nonumber;
}
k {
int-property: "42";
}
l {
int-property: +3;
}
m {
int-property: --5;
}
n {
int-property: - 10;
}
integer.css:17: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:20: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:23: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:29: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:32: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
integer.css:38: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
integer.css:41: error: GTK_CSS_PROVIDER_ERROR_PROPERTY_VALUE
a {
int-property: 0;
}
b {
int-property: 1;
}
c {
int-property: -1;
}
d {
int-property: 2147483647;
}
e {
int-property: -2147483648;
}
i {
int-property: 377;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment