[at-spi2-atk] tests: remove atk_table_cell_get_column_index test
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] tests: remove atk_table_cell_get_column_index test
- Date: Fri, 17 Mar 2017 21:24:37 +0000 (UTC)
commit 1d73f89e799aa755b6d2f97a0c103860cd1afe3c
Author: Mike Gorse <mgorse suse com>
Date: Fri Mar 17 16:09:19 2017 -0500
tests: remove atk_table_cell_get_column_index test
This function no longer exists, and the test causes a build error.
TODO: we need a test for atk_table_cell_get_position.
tests/atk_test_table_cell.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/tests/atk_test_table_cell.c b/tests/atk_test_table_cell.c
index c431f08..082ce1d 100644
--- a/tests/atk_test_table_cell.c
+++ b/tests/atk_test_table_cell.c
@@ -76,22 +76,6 @@ atk_test_table_cell_get_column_header_cells (gpointer fixture, gconstpointer use
*/
static void
-atk_test_table_cell_get_column_index (gpointer fixture, gconstpointer user_data)
-{
- AtspiAccessible *_obj = get_root_obj (DATA_FILE);
- g_assert (_obj);
- AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
- g_assert (child);
-
- AtspiAccessible *cell = atspi_accessible_get_child_at_index (child, 10, NULL);
- AtspiTableCell *obj = atspi_accessible_get_table_cell (cell);
- g_assert (obj);
-
- /* ATK Table Cell interface do not implement that func */
- g_assert_cmpint (-1, ==, atspi_table_cell_get_column_index (obj, NULL));
-}
-
-static void
atk_test_table_cell_get_row_span (gpointer fixture, gconstpointer user_data)
{
AtspiAccessible *_obj = get_root_obj (DATA_FILE);
@@ -189,8 +173,6 @@ atk_test_table_cell (void)
g_test_add_vtable (ATK_TEST_PATH_TABLE_CELL "/atk_test_table_cell_get_column_header_cells",
0, NULL, NULL, atk_test_table_cell_get_column_header_cells, teardown_table_cell_test);
*/
- g_test_add_vtable (ATK_TEST_PATH_TABLE_CELL "/atk_test_table_cell_get_column_index",
- 0, NULL, NULL, atk_test_table_cell_get_column_index, teardown_table_cell_test);
g_test_add_vtable (ATK_TEST_PATH_TABLE_CELL "/atk_test_table_cell_get_row_span",
0, NULL, NULL, atk_test_table_cell_get_row_span, teardown_table_cell_test);
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]