summaryrefslogtreecommitdiff
path: root/tests/at-spi2-atk/atk_test_table.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-05-09 11:23:22 -0600
committerFederico Mena Quintero <federico@gnome.org>2023-05-09 11:23:22 -0600
commitabdc258b5751cf9b669bffb629d025b614f2177d (patch)
treef50361269bae0843e8baa8a458e3cf6f60ded458 /tests/at-spi2-atk/atk_test_table.c
parente160239b7be6bced6f82fdd862c354a9d4847151 (diff)
downloadat-spi2-core-abdc258b5751cf9b669bffb629d025b614f2177d.tar.gz
Assert that an interface object is not null
Diffstat (limited to 'tests/at-spi2-atk/atk_test_table.c')
-rw-r--r--tests/at-spi2-atk/atk_test_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/at-spi2-atk/atk_test_table.c b/tests/at-spi2-atk/atk_test_table.c
index 17a9ec8c..0e4643e0 100644
--- a/tests/at-spi2-atk/atk_test_table.c
+++ b/tests/at-spi2-atk/atk_test_table.c
@@ -311,6 +311,7 @@ atk_test_table_is_row_selected (TestAppFixture *fixture, gconstpointer user_data
AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
g_assert (child);
AtspiTable *obj = atspi_accessible_get_table_iface (child);
+ g_assert (obj);
g_assert_true (atspi_table_is_row_selected (obj, 0, NULL));
g_assert_false (atspi_table_is_row_selected (obj, 1, NULL));
}