gtk2/testsuite/gtk
Sébastien Wilmet 706c8e9c8d Simplify _gtk_text_buffer_get_line_log_attrs()
NULL was returned in case of an empty last line. Every users needed to
special-case this. Now it will return the expected result: char_len of 0
with one PangoLogAttr.

In compute_log_attrs(), 'paragraph' will be the empty string "" with
'char_len' == 0.
pango_get_log_attrs() works fine with an empty string, it will return
one correct PangoLogAttr (because there is one text position for the
empty string).

It fixes the unit tests for gtk_text_iter_is_cursor_position().

https://bugzilla.gnome.org/show_bug.cgi?id=156164
2014-08-21 18:43:34 +02:00
..
file-chooser-test-dir
icons Add more icon theme tests 2014-06-18 19:09:25 -04:00
accel.c
accessible.c accessible: Fix test runner 2013-09-03 17:59:19 -04:00
action.c Deprecate GtkAction and GtkUIManager 2013-06-30 11:19:50 -04:00
adjustment.c Add some tests for GtkAdjustment 2014-07-22 18:32:17 -04:00
bitmask.c
builder.c builder test: Adjust expections 2014-07-09 19:54:43 -04:00
cellarea.c testsuite: Avoid g_test_trap_fork 2013-06-15 16:27:04 -04:00
check-icon-names.c Update more places for the changed icon name 2014-07-09 08:03:57 -04:00
clipboard.c tests: add clipboard set_with_data test 2014-05-22 12:44:10 +02:00
crossingevents.c
defaultvalue.c disable runtime warnings in the defaultvalue test 2014-07-03 15:22:39 -04:00
displayclose.c Add a testcase for closing display before exit 2013-06-29 19:24:22 -04:00
entry.c
expander.c tests: Stop expander from failing 2013-05-22 00:15:08 +02:00
filechooser.c Merge GtkFileChooserWidget and GtkFileChooserDefault 2014-01-28 23:09:42 -05:00
filtermodel.c
firefox-stylecontext.c testsuite: Add a test for a Firefox issue 2014-02-20 02:10:07 +01:00
floating.c
focus.c Add a test for window focus handling 2014-08-02 11:38:44 +02:00
gestures.c tests: Add multitouch gesture tests 2014-06-04 13:54:41 +02:00
grid.c
gtkmenu.c
gtktreemodelrefcount.c tests: Use the new macros for adding instance private data 2013-07-09 09:30:02 +01:00
gtktreemodelrefcount.h
icontheme.c testsuite: Adapt to changed builtin icon paths 2014-07-02 17:17:48 -04:00
keyhash.c
listbox.c listbox: Add tests for multi-selection 2014-04-13 14:04:09 -07:00
liststore.c
Makefile.am Add some spinbutton tests 2014-08-14 00:04:10 -04:00
modelrefcount.c
no-gtk-init.c testsuite: Add a test for functions that work without gtk_init() 2013-09-24 16:42:48 +02:00
notify.c Drop has-resize-grip from the notify test 2014-07-03 15:24:58 -04:00
object.c gtk object tests: run under local environment 2013-12-03 14:24:16 +01:00
objects-finalize.c gtk object tests: run under local environment 2013-12-03 14:24:16 +01:00
papersize.c
rbtree.c
recentmanager.c tests: Ignore deprecations 2013-06-24 01:13:44 +02:00
regression-tests.c
sortmodel.c
spinbutton.c Add some spinbutton tests 2014-08-14 00:04:10 -04:00
stylecontext.c Add a test for matching with states 2014-07-22 18:50:31 -04:00
templates.c Add some more templates tests 2014-02-17 21:42:38 -05:00
testing.c gtkwindow: Remove resize grips 2014-07-03 12:58:41 -04:00
textbuffer.c textbuffer: unit tests for the empty last line 2014-08-21 18:43:34 +02:00
textiter.c Simplify _gtk_text_buffer_get_line_log_attrs() 2014-08-21 18:43:34 +02:00
treemodel.c
treemodel.h
treepath.c
treestore.c Add a test for the previous fix 2014-05-13 11:56:29 -04:00
treeview-scrolling.c tests: Use gtk_tree_view_wait_for_draw() in treeview-scrolling 2013-05-17 20:49:52 +02:00
treeview.c Update treeview tests for focus changes 2014-05-22 06:15:12 -04:00
window.c