b50375abf4
Add forgotten calls to signal_monitor_assert_is_empty()
2011-08-22 21:30:35 +02:00
d63015e627
Fix some memory leaks in treemodel unit tests
2011-08-22 21:30:35 +02:00
36f712f272
Add some notes on how filter model testing can be made (even) more thorough
2011-08-22 21:30:34 +02:00
04885f1c29
Update filtermodel ref count unit tests to new cache depth
2011-08-22 21:30:34 +02:00
ad0f54b87b
Add more unit tests for GtkTreeModelSort
...
To test ref counting during rows-reordered and the new_order arrays supplied
with rows-reordered signals.
2011-08-22 21:30:34 +02:00
9ef07cb0f3
Move SignalMonitor to treemodel.[ch] so it can be used by other tests
2011-08-22 21:30:34 +02:00
21d7eca12a
Remove left-over dump call
2011-08-22 21:30:33 +02:00
30340e521e
Test GtkTreeModelFilter's reference transfers
2011-08-22 21:30:33 +02:00
e321034074
Unit test GtkTreeModelFilter's rows-reordered emissions
2011-08-22 21:30:33 +02:00
bcc1fd7efd
Unit test rows reordered ref count handling in GtkTreeView
2011-08-22 21:30:32 +02:00
0ee6141cf6
Should validate TreeModelRefCount before the sort and filter model
2011-08-22 21:30:32 +02:00
9e2fbca594
Add reference counting unit tests for GtkTreeModelFilter
2011-08-22 21:30:32 +02:00
f42de9e52a
Add more "has child" unit tests
...
This allows for more thorough testing of "has child" filter functions.
We also test a has child filter function with a sort model as
child model, to verify that we receive enough signals to function
properly.
2011-08-22 21:30:32 +02:00
504d6715c1
Add cleaned up and easier version of unit test for bug 311955
2011-08-22 21:30:32 +02:00
35e09df282
Check level length in unit test for bug 311955
2011-08-22 21:30:32 +02:00
59efa6acdd
Remove checks for superfluous signals which are not longer emitted
2011-08-22 21:30:32 +02:00
b161328682
Correct/expand base tests to check emitted signals
...
The filter model is now more strict about the signals which are emitted,
so the base tests have been expanded to test with both the root level
nodes collapsed and expanded.
2011-08-22 21:30:32 +02:00
1158ed5795
treemodelrefcount: check_iter(): check if iter is valid
2011-08-22 21:30:32 +02:00
07d99d26b2
treemodelrefcount: make it possible to assert within check functions
2011-08-22 21:30:32 +02:00
cac5d60633
Unit test reference counting in GtkTreeModelSort
2011-08-22 21:30:31 +02:00
d241323b08
Move asserts to gtktreemodelrefcount.h for other unit tests to use
2011-08-22 21:30:31 +02:00
bda09159c3
Add generic GtkTreeModel reference counting unit tests
2011-08-22 21:30:31 +02:00
1cb14a16b7
Add GtkTreeModelRefCount, only to be used in unit tests
2011-08-22 21:30:31 +02:00
e89782742d
Fix a couple of memleaks in the filter model tests
...
(Not all of them yet, need to do the remainder on Linux since valgrind
on Mac OS X is a bit too noisy).
2011-08-22 21:30:31 +02:00
22adfc67e5
Add thorough unit test for bug #621076
...
Minor edits and additions by Kristian Rietveld.
2011-08-22 21:30:30 +02:00
a172697d47
Corrections to has-child filter tests
2011-08-22 21:30:30 +02:00
74764f28bc
Improve specific_has_child_filter() test to also verify signals
2011-08-22 21:30:30 +02:00
ebb12d5f06
Improve specific_root_has_child_filter test to also verify signals
2011-08-22 21:30:30 +02:00
5bd3c52c0f
Have a separate category for tests of gtk_tree_model_filter_row_deleted
2011-08-22 21:30:30 +02:00
3452b0493d
Add two unit tests for gtk_tree_model_filter_row_inserted
2011-08-22 21:30:30 +02:00
4f33f10511
Use g_assert_cmpint instead of g_assert in check_level_length()
2011-08-22 21:30:30 +02:00
dc12c373dc
Improve error messages of signal monitor
2011-08-22 21:30:30 +02:00
1686e515d6
Three more TreeModelFilter remove ancestor tests
2011-08-22 21:30:30 +02:00
b27a6568b7
Improve filter model remove node unit tests
2011-08-22 21:30:29 +02:00
431987a2fa
Add more unit tests for gtk_tree_model_filter_row_deleted()
2011-08-22 21:30:29 +02:00
cb8c608e49
Add unit test for bug 77977 for reference
2011-08-22 21:30:29 +02:00
ed603fa790
Add bug base and bug numbers to tree model unit tests
2011-08-22 21:30:29 +02:00
f1d791355a
Move TreeModelSort specific tests to a new sortmodel.c file
2011-08-22 21:30:29 +02:00
b227aa06eb
Make naming of tree model unit tests consistent
...
All test paths now start with the name of the class which is being
tested.
2011-08-22 21:30:29 +02:00
2cb9f03a66
Put all GtkTreeModel unit tests in a single binary
...
This to reduce linking time and have all tests in a single binary.
2011-08-22 21:30:29 +02:00
ecd5f73dd7
build: Fix makefile for new location of test image
2011-07-23 12:27:45 +02:00
d82aeb8245
tests: Fix stylecontext test that we changed semantics for
...
We don't have different priorities for superclasses anymore.
2011-07-23 01:24:07 +02:00
d56e8c8e54
tests: Move declaration tests to new test infrastructure
...
This way, we can test more feature of them, in particular check for
different errors, which were causing test failures.
2011-07-21 02:43:54 +02:00
a02b82056a
tests: Remove unused file from EXTRA_DIST
2011-07-21 02:43:54 +02:00
d314709af6
tests: Declare previously invalid CSS as valid now
...
The CSS is valid, it might just not work (though most of it will for
siblings).
2011-07-21 02:43:54 +02:00
4f5e69fa2c
tests: Fix whitespace between url and (
...
It's not allowed according to CSS (and browsers).
2011-07-21 02:43:54 +02:00
75a43bb40c
tests: Move empty css parser test to new CSS tests
2011-07-20 02:36:44 +02:00
15674c5bd4
tests: Move stylecontext CSS tests
...
Use the new CSS infrastructure for part of the old CSS tests. This way
we can probably check for warning messages such as deprecations.
2011-07-20 02:36:44 +02:00
32e00d1f43
Use AM_CPPFLAGS instead the obsolete INCLUDES
2011-07-06 15:58:32 +01:00
5398a160ad
Add a test for entry signals
...
These tests check that text and selection boundaries are in a
consistent state when we emit notifications, that ::insert-text
and ::delete-text are emitted before any changes, and that
::changed is emitted after property notifications when inserting
or deleting text.
2011-07-05 16:08:08 -04:00