Colin Walters
a8da29b8db
Add --enable-installed-tests, use it for reftests
...
See https://live.gnome.org/GnomeGoals/InstalledTests
https://bugzilla.gnome.org/show_bug.cgi?id=699601
2013-05-09 19:09:49 +02:00
Benjamin Otte
2c1d7cf074
reftests: Automatically recurse into directories
2013-05-09 19:09:49 +02:00
Colin Walters
f297549139
reftests: Add a --directory/-d option
...
This sets the directory we chdir() to, so we can use relative filenames
in ui files.
Some properties like to take filenames...
2013-05-09 19:09:49 +02:00
Colin Walters
9e57d388e3
reftests: Split out shell scripts from tests
...
They are just utilities to create tests, don't dump them in with the
tests.
This is in preparation for installed tests.
2013-05-09 19:09:49 +02:00
Colin Walters
dc216cf537
reftests: Use $(NULL) in the Makefile
2013-05-09 19:09:49 +02:00
Benjamin Otte
19fcd12177
reftests: Make window size not influence test
...
The test is supposed to definitely wrap, make sure it does.
2013-05-07 14:06:11 +02:00
Colin Walters
41bf557012
reftests: Don't use spaces in Makefile first line
...
Otherwise Emacs makes one's life miserable.
2013-05-03 11:08:51 -04:00
Matthias Clasen
6c79fb72bd
Revert "Temporarily remove window-border reftest"
...
This reverts commit cf6695088e
.
2013-05-01 22:23:11 -04:00
Matthias Clasen
3c7fbe237d
Remove window-border tests from makefile too
2013-05-01 21:43:19 -04:00
Matthias Clasen
286d3466a1
Revert "Temporarily remove button-wrapping reftest"
...
This reverts commit 851b631c4e
.
2013-05-01 21:31:12 -04:00
Matthias Clasen
51bbb76d35
Fix image-load-from-file reftest
...
Need to reset css here to avoid theme interference.
2013-05-01 19:07:10 -04:00
Matthias Clasen
3605e6c900
Temporarily remove grid-span reftest
...
This was testing grid size allocation changes that had to be
reverted because they broke gnumeric.
2013-05-01 19:07:10 -04:00
Matthias Clasen
cf6695088e
Temporarily remove window-border reftest
...
It is broken by unfinished csd changes.
2013-05-01 19:07:10 -04:00
Matthias Clasen
851b631c4e
Temporarily remove button-wrapping reftest
...
Its broken by unsettled GtkBin size allocation changes.
2013-05-01 19:07:10 -04:00
Benjamin Otte
8f06590712
tests: Add reftest for broken button sizing
...
https://bugzilla.gnome.org/show_bug.cgi?id=698433
2013-05-01 16:41:11 +02:00
Benjamin Otte
8687fbc15e
reftests: Add a test for window default size
...
https://bugzilla.gnome.org/show_bug.cgi?id=697275
2013-04-06 10:47:55 +02:00
Thomas Hindoe Paaboel Andersen
4e1c9f16a0
reftests/Makefile.am: remove whitespace following trailing backslash
2013-04-05 23:10:32 +02:00
Benjamin Otte
0a82b79012
reftests: Add a reftest for color resolving errors
...
This checks the fixes in the last two commits.
2013-03-28 23:18:59 +01:00
Matthias Clasen
e43956141b
Add another grid sizing reftest
...
This test exercises spanning children such that there are
rows which contain only spanning cells.
2013-03-15 23:38:22 -04:00
Benjamin Otte
2ba15221c0
reftests: Add reftest for separator fixes
...
Reftest for 61c4425161be3146c0c753a766f35442549bfe72.
Includes a workaround for a grid bug which should be removed once
GtkGrid is fixed.
2013-03-15 18:18:40 +01:00
Benjamin Otte
b7aa15f505
reftests: Add animation loading test
...
XPM files weren't loaded properly.
https://bugzilla.gnome.org/show_bug.cgi?id=695228
2013-03-13 02:06:29 +01:00
Benjamin Otte
609723b3c1
tests: Add a test for loading images from file
...
Strictly, this belongs in gdk-pixbuf, but GtkImage should have this
working, too.
https://bugzilla.gnome.org/show_bug.cgi?id=694148
2013-02-19 14:33:39 +01:00
Alexander Larsson
97c235405d
css: Add opacity reftest
...
https://bugzilla.gnome.org/show_bug.cgi?id=687842
2013-02-07 11:12:21 +01:00
Jasper St. Pierre
cca05d1dc8
Add git.mk to more places
2013-01-24 17:47:34 -05:00
Benjamin Otte
96d4eb5411
reftests: Add a reftest for width-chars not shrinking the allocation
...
width-chars and max-width chars should (and do) only change the
requested sizes, not the allocated size of the label.
This came out of an IRC discussion, so no bug.
2013-01-20 20:25:58 +01:00
Benjamin Otte
bef1a5d720
reftests: Add reftest for latest warning fix
2013-01-17 00:45:33 +01:00
Benjamin Otte
85d8f3c51e
reftests: Fix wrong name in test
...
Typo in d8306aaeb3
2012-12-04 20:02:36 +01:00
Benjamin Otte
d8306aaeb3
reftests: Add a test for the new font size names
2012-12-01 16:27:45 +01:00
Benjamin Otte
cc0b493216
reftests: Fix a reftest
...
Recent Adwaita changes caused diffs. We don't want that, so we run this
test against the default settings.
2012-11-30 20:10:23 +01:00
Benjamin Otte
6b33ee9c53
reftests: Add reftest for broken fixed height mode
...
https://bugzilla.gnome.org/show_bug.cgi?id=687816
2012-11-26 00:09:35 +01:00
Benjamin Otte
8d28e2d8e9
reftests: Fix linear-gradient reftest (again)
...
Make it so that the repeating vs normal test only uses sharp color
cutoffs instead of real gradients. That removes rounding errors and
makes the test pass.
2012-11-20 12:21:03 +01:00
Benjamin Otte
15570dd63d
reftests: Turns out, green changed color
...
What used to be "green" is now "lime"
2012-11-14 01:55:28 +01:00
Benjamin Otte
10c47c0226
reftests: Update named colors reftest
...
Make reftest conform with correct colors. Pango has been updated to
these colors in commit d2c319b9ded8cce864914d9f1fd704a7aff3112f
2012-11-14 01:55:28 +01:00
Benjamin Otte
872097603f
reftests: Add a test for border-width problems
2012-11-11 20:26:28 +01:00
Benjamin Otte
10c3a66e40
reftests: Add a test for all the color names
...
BIG NOTE: We fail on some of these to give the colors defined in the CSS
specs. This is not good, but I'm not sure how to best fix it.
For those cases, I've kept the correct color in the CSS file but added
the correct one next to it.
2012-11-10 14:25:17 +01:00
Benjamin Otte
ffeef28dbc
reftests: Add test for recent fix
2012-11-08 23:34:30 +01:00
Benjamin Otte
959bfbb66e
reftests: Add a reftest for latest fix
2012-11-05 19:34:23 +01:00
Benjamin Otte
8bdc2aa228
reftests: Add test for recent fix
...
This test checks the fix in a46368dede
2012-11-04 17:58:18 +01:00
Benjamin Otte
075667e927
reftests: Mark windows as popup
...
This makes the tests run faster and should always be done.
2012-11-04 17:58:06 +01:00
Benjamin Otte
1ef057f983
reftests: Add a test from evolution
...
This was used in a bug report.
https://bugzilla.gnome.org/show_bug.cgi?id=677609
2012-11-04 15:28:43 +01:00
Benjamin Otte
756ebea036
reftests: Add a test for all the recent sizegroup hackery
2012-11-04 15:28:43 +01:00
Benjamin Otte
aba0c5cc3b
label: Redo get_preferred_width/height()
...
This is important for size groups mostly, but also has some small fixes.
The label-sizing reftest as been updated accordingly.
2012-11-04 15:28:43 +01:00
Benjamin Otte
f55fe7e20b
label: Fix ellipsize and wrap being set
...
The label code assumed that Pango treats this as "wrap to as much space
as possible and then ellipsize all the lines", but for Pango, ellipsize
takes precedence over wrap. So do the same thing in GtkLabel.
Also updated is the reftest that checked this behavior.
2012-11-04 15:28:43 +01:00
Benjamin Otte
035e55d1ab
reftests: Improve reftest performance
...
Get rid of all the event boxes in this test. Event boxes need GDK
windows which cost a lot of performance when running the test and they
clip the label output.
Getting rid of the clipping also shows 2 bugs in this test that weren't
visible before. Those will be fixed in a followup patch.
2012-11-04 15:28:42 +01:00
Benjamin Otte
f48b30c13a
reftests: Make label-sizing tests use better CSS
...
ow that labels can have backgrounds, just use label backgrounds
2012-11-04 15:28:42 +01:00
Benjamin Otte
762e2d9322
reftests: Add reftest for fractional border sizes
2012-10-31 11:09:12 +01:00
Benjamin Otte
1e08fe8646
reftests: Fix linear-gradient reftest
...
... and add it to the Makefile
2012-10-31 11:09:12 +01:00
Benjamin Otte
a68e76e058
reftests: Add a reftest for recent commit
...
Check that a computed background-size of 0 is treated as 0.
2012-10-31 11:09:10 +01:00
Cosimo Cecchi
6b3416a2d7
reftests: fix the linear-gradient reftest
...
Don't use a repeating linear gradient, since it can't be easily
reftested against a non-repeating one for the reasons described in the
test header.
Instead, add a separate test for repeating gradients (against another
repeating gradient).
This makes the test pass, so it can be added to the Makefile now.
2012-10-16 13:12:00 -04:00
Benjamin Otte
644d16a5f7
reftests: Add a reftest for the empty iconview
2012-06-15 02:48:24 +02:00