tests: Don't test something we can't test

When using GtkTreeStore, don't compute row positions assuming
everything's a list store, which is how get_row_start_for_index() works.

So instead, do a laxer check and don't insist on proper alignment.
This commit is contained in:
Benjamin Otte 2012-02-06 21:24:59 +01:00
parent 6a381b0c1d
commit 75eddfffbb

View File

@ -1071,7 +1071,7 @@ test_bug111500 (ScrollFixture *fixture,
gtk_tree_path_down (path); gtk_tree_path_down (path);
scroll (fixture, path, TRUE, 0.5); scroll (fixture, path, FALSE, 0.5);
gtk_tree_path_free (path); gtk_tree_path_free (path);
} }
@ -1127,7 +1127,7 @@ test_bug111500_mixed (ScrollFixture *fixture,
gtk_tree_path_down (path); gtk_tree_path_down (path);
scroll (fixture, path, TRUE, 0.5); scroll (fixture, path, FALSE, 0.5);
gtk_tree_path_free (path); gtk_tree_path_free (path);
} }