gtk2/testsuite/gtk
Sébastien Wilmet 1a8f3e2462 textiter: fix bug in case insensitive backward search
'win.lines' contains the same content as the GtkTextBuffer, so to find
@match_start, forward_chars_with_skipping() is called with
skip_decomp=FALSE (the last parameter). So far so good.

On the other hand, the content 'lines' (the needle split in lines) is
casefolded and normalized for a case insensitive search. So,
forward_chars_with_skipping(..., skip_decomp=TRUE) must be called only
for the portion of text containing the needle.

Since 'start_tmp' contains the location at the start of the match, we
can simply begin at that location to find the end of the match.

Unit tests are added.

https://bugzilla.gnome.org/show_bug.cgi?id=758698
2015-11-30 19:46:16 +01:00
..
file-chooser-test-dir
icons testsuite: add a test for non-square symbolic icons 2015-06-12 08:55:23 -07:00
icons2 icon-theme: Test inheritance vs. generic fallback 2014-09-21 16:34:27 -04:00
ui Add some more builder parser tests 2015-10-20 06:14:57 -04:00
accel.c
accessible.c
action.c
adjustment.c testsuite: Add deprecation guards 2015-05-28 16:53:53 +02:00
bitmask.c bitmask: Fix broken invert_range() implementation 2015-09-07 14:32:09 +02:00
builder.c Adjust tests 2015-04-30 06:19:10 -04:00
builderparser.c Add a a drop-in test for the GtkBuilder parser 2014-10-18 22:18:59 -04:00
cellarea.c
check-icon-names.c Avoid some duplicate test names 2015-09-02 07:15:57 -04:00
clipboard.c tests: add clipboard set_with_data test 2014-05-22 12:44:10 +02:00
cssprovider.c cssprovider: Have a section on import error 2015-11-16 17:39:15 +01:00
defaultvalue.c Fix make check 2015-11-20 00:13:20 -05:00
displayclose.c
entry.c
filtermodel.c Remove redundant checks for NULL 2014-10-02 19:06:03 +02:00
firefox-stylecontext.c Always pass the right state in style context getters 2015-11-14 19:03:57 -05: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
gtktreemodelrefcount.h
icontheme.c testsuite: add a test for non-square symbolic icons 2015-06-12 08:55:23 -07:00
keyhash.c
listbox.c GtkListBox: Fix a bug in unselection 2014-10-31 22:34:09 -04:00
liststore.c
Makefile.am testsuite: Remove a bunch of broken tests 2015-11-04 05:06:23 +01:00
modelrefcount.c
no-gtk-init.c
notify.c testsuite: Skip GtkFileChooserNative for notification tests 2015-11-14 19:03:10 -05:00
object.c
objects-finalize.c Skip GdkX11GLContext in some object tests 2014-10-21 23:48:12 -04:00
papersize.c
rbtree.c
recentmanager.c
regression-tests.c
sortmodel.c
spinbutton.c Add some spinbutton tests 2014-08-14 00:04:10 -04:00
stylecontext.c cssstyle: Don't store custom css properties 2015-11-20 21:22:15 +01:00
templates.c
textbuffer.c textbuffer: nicer get_iter functions, without return values 2015-11-12 17:50:39 +01:00
textiter.c textiter: fix bug in case insensitive backward search 2015-11-30 19:46:16 +01: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.c tests: wait for draw before fetching tree view style 2015-05-24 12:08:33 -07:00
typename.c GtkBuilder: Undo the type name heuristic changes 2014-10-03 09:29:45 -04:00
window.c Work towards succeeding make check under Wayland 2015-08-28 13:08:23 -04:00