1
/*
2
 * Copyright 2008 Codethink Ltd.
3
 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
4
 *
5
 * This library is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU Lesser General Public
7
 * License as published by the Free Software Foundation; either
8
 * version 2.1 of the License, or (at your option) any later version.
9
 *
10
 * This library is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 * Lesser General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU Lesser General Public
16
 * License along with this library; if not, write to the
17
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
 * Boston, MA 02110-1301, USA.
19
 */
20

            
21
#include "atk_suite.h"
22
#include "atk_test_util.h"
23

            
24
#define DATA_FILE TESTS_DATA_DIR "/test-table.xml"
25

            
26
static void
27
1
atk_test_table_get_caption (TestAppFixture *fixture, gconstpointer user_data)
28
{
29
1
  AtspiAccessible *_obj = fixture->root_obj;
30
1
  g_assert_nonnull (_obj);
31
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
32
1
  g_assert_nonnull (child);
33
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
34
1
  AtspiAccessible *acc = atspi_table_get_caption (obj, NULL);
35
1
  check_name (acc, "caption name");
36
1
  g_object_unref (acc);
37
1
  g_object_unref (obj);
38
1
  g_object_unref (child);
39
1
}
40

            
41
static void
42
1
atk_test_table_get_summary (TestAppFixture *fixture, gconstpointer user_data)
43
{
44
1
  AtspiAccessible *_obj = fixture->root_obj;
45
1
  g_assert_nonnull (_obj);
46
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
47
1
  g_assert_nonnull (child);
48
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
49
1
  AtspiAccessible *acc = atspi_table_get_summary (obj, NULL);
50
1
  check_name (acc, "table summary name");
51
1
  g_object_unref (acc);
52
1
  g_object_unref (obj);
53
1
  g_object_unref (child);
54
1
}
55

            
56
static void
57
1
atk_test_table_get_n_columns (TestAppFixture *fixture, gconstpointer user_data)
58
{
59
1
  AtspiAccessible *_obj = fixture->root_obj;
60
1
  g_assert_nonnull (_obj);
61
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
62
1
  g_assert_nonnull (child);
63
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
64
1
  gint cnt = atspi_table_get_n_columns (obj, NULL);
65
1
  g_assert_cmpint (cnt, ==, 3);
66
1
  g_object_unref (obj);
67
1
  g_object_unref (child);
68
1
}
69

            
70
static void
71
1
atk_test_table_get_n_rows (TestAppFixture *fixture, gconstpointer user_data)
72
{
73
1
  AtspiAccessible *_obj = fixture->root_obj;
74
1
  g_assert_nonnull (_obj);
75
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
76
1
  g_assert_nonnull (child);
77
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
78
1
  gint cnt = atspi_table_get_n_rows (obj, NULL);
79
1
  g_assert_cmpint (cnt, ==, 4);
80
1
  g_object_unref (obj);
81
1
  g_object_unref (child);
82
1
}
83

            
84
static void
85
1
atk_test_table_get_accessible_at (TestAppFixture *fixture, gconstpointer user_data)
86
{
87
1
  AtspiAccessible *_obj = fixture->root_obj;
88
1
  g_assert_nonnull (_obj);
89
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
90
1
  g_assert_nonnull (child);
91
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
92
1
  AtspiAccessible *acc = atspi_table_get_accessible_at (obj, 0, 0, NULL);
93
1
  g_assert_nonnull (acc);
94
1
  check_name (acc, "cell 0/0");
95
1
  g_object_unref (acc);
96

            
97
1
  acc = atspi_table_get_accessible_at (obj, 3, 2, NULL);
98
1
  check_name (acc, "cell 2/3");
99
1
  g_object_unref (acc);
100
1
  g_object_unref (obj);
101
1
  g_object_unref (child);
102
1
}
103

            
104
static void
105
1
atk_test_table_get_index_at (TestAppFixture *fixture, gconstpointer user_data)
106
{
107
1
  AtspiAccessible *_obj = fixture->root_obj;
108
1
  g_assert_nonnull (_obj);
109
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
110
1
  g_assert_nonnull (child);
111
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
112

            
113
1
  gint cnt = atspi_table_get_index_at (obj, 0, 0, NULL);
114
1
  g_assert_cmpint (cnt, ==, 0);
115

            
116
1
  cnt = atspi_table_get_index_at (obj, 1, 0, NULL);
117
1
  g_assert_cmpint (cnt, ==, 3);
118

            
119
1
  cnt = atspi_table_get_index_at (obj, 0, 1, NULL);
120
1
  g_assert_cmpint (cnt, ==, 1);
121
1
  g_object_unref (obj);
122
1
  g_object_unref (child);
123
1
}
124

            
125
static void
126
1
atk_test_table_get_row_at_index (TestAppFixture *fixture, gconstpointer user_data)
127
{
128
1
  AtspiAccessible *_obj = fixture->root_obj;
129
1
  g_assert_nonnull (_obj);
130
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
131
1
  g_assert_nonnull (child);
132
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
133

            
134
1
  gint cnt = atspi_table_get_row_at_index (obj, 1, NULL);
135
1
  g_assert_cmpint (cnt, ==, 0);
136

            
137
1
  cnt = atspi_table_get_row_at_index (obj, 4, NULL);
138
1
  g_assert_cmpint (cnt, ==, 1);
139

            
140
1
  cnt = atspi_table_get_row_at_index (obj, 6, NULL);
141
1
  g_assert_cmpint (cnt, ==, 2);
142

            
143
1
  cnt = atspi_table_get_row_at_index (obj, 11, NULL);
144
1
  g_assert_cmpint (cnt, ==, 3);
145
1
  g_object_unref (obj);
146
1
  g_object_unref (child);
147
1
}
148

            
149
static void
150
1
atk_test_table_get_column_at_index (TestAppFixture *fixture, gconstpointer user_data)
151
{
152
1
  AtspiAccessible *_obj = fixture->root_obj;
153
1
  g_assert_nonnull (_obj);
154
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
155
1
  g_assert_nonnull (child);
156
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
157

            
158
1
  gint cnt = atspi_table_get_column_at_index (obj, 6, NULL);
159
1
  g_assert_cmpint (cnt, ==, 0);
160

            
161
1
  cnt = atspi_table_get_column_at_index (obj, 1, NULL);
162
1
  g_assert_cmpint (cnt, ==, 1);
163

            
164
1
  cnt = atspi_table_get_column_at_index (obj, 5, NULL);
165
1
  g_assert_cmpint (cnt, ==, 2);
166
1
  g_object_unref (obj);
167
1
  g_object_unref (child);
168
1
}
169

            
170
static void
171
1
atk_test_table_get_row_description (TestAppFixture *fixture, gconstpointer user_data)
172
{
173
1
  AtspiAccessible *_obj = fixture->root_obj;
174
1
  g_assert_nonnull (_obj);
175
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
176
1
  g_assert_nonnull (child);
177
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
178
1
  gchar *desc = atspi_table_get_row_description (obj, 0, NULL);
179
1
  g_assert_nonnull (desc);
180
1
  g_assert_cmpstr (desc, ==, "first row");
181
1
  g_free (desc);
182
1
  desc = atspi_table_get_row_description (obj, 2, NULL);
183
1
  g_assert_nonnull (desc);
184
1
  g_assert_cmpstr (desc, ==, "third row");
185
1
  g_free (desc);
186
1
  g_object_unref (obj);
187
1
  g_object_unref (child);
188
1
}
189

            
190
static void
191
1
atk_test_table_get_column_description (TestAppFixture *fixture, gconstpointer user_data)
192
{
193
1
  AtspiAccessible *_obj = fixture->root_obj;
194
1
  g_assert_nonnull (_obj);
195
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
196
1
  g_assert_nonnull (child);
197
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
198
1
  gchar *desc = atspi_table_get_column_description (obj, 0, NULL);
199
1
  g_assert_nonnull (desc);
200
1
  g_assert_cmpstr (desc, ==, "first column");
201
1
  g_free (desc);
202
1
  desc = atspi_table_get_column_description (obj, 2, NULL);
203
1
  g_assert_nonnull (desc);
204
1
  g_assert_cmpstr (desc, ==, "third column");
205
1
  g_free (desc);
206
1
  g_object_unref (obj);
207
1
  g_object_unref (child);
208
1
}
209

            
210
static void
211
1
atk_test_table_get_row_extent_at (TestAppFixture *fixture, gconstpointer user_data)
212
{
213
1
  AtspiAccessible *_obj = fixture->root_obj;
214
1
  g_assert_nonnull (_obj);
215
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
216
1
  g_assert_nonnull (child);
217
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
218
1
  gint cnt = atspi_table_get_row_extent_at (obj, 1, 1, NULL);
219
1
  g_assert_cmpint (cnt, ==, 1);
220
1
  g_object_unref (obj);
221
1
  g_object_unref (child);
222
1
}
223

            
224
static void
225
1
atk_test_table_get_column_extent_at (TestAppFixture *fixture, gconstpointer user_data)
226
{
227
1
  AtspiAccessible *_obj = fixture->root_obj;
228
1
  g_assert_nonnull (_obj);
229
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
230
1
  g_assert_nonnull (child);
231
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
232
1
  gint cnt = atspi_table_get_column_extent_at (obj, 1, 1, NULL);
233
1
  g_assert_cmpint (cnt, ==, 1);
234
1
  g_object_unref (obj);
235
1
  g_object_unref (child);
236
1
}
237

            
238
static void
239
1
atk_test_table_get_row_header (TestAppFixture *fixture, gconstpointer user_data)
240
{
241
1
  AtspiAccessible *_obj = fixture->root_obj;
242
1
  g_assert_nonnull (_obj);
243
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
244
1
  g_assert_nonnull (child);
245
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
246
1
  AtspiAccessible *acc = atspi_table_get_row_header (obj, 0, NULL);
247
1
  check_name (acc, "row 1 header");
248
1
  g_object_unref (acc);
249
1
  acc = atspi_table_get_row_header (obj, 3, NULL);
250
1
  check_name (acc, "row 4 header");
251
1
  g_object_unref (acc);
252
1
  g_object_unref (obj);
253
1
  g_object_unref (child);
254
1
}
255

            
256
static void
257
1
atk_test_table_get_column_header (TestAppFixture *fixture, gconstpointer user_data)
258
{
259
1
  AtspiAccessible *_obj = fixture->root_obj;
260
1
  g_assert_nonnull (_obj);
261
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
262
1
  g_assert_nonnull (child);
263
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
264
1
  AtspiAccessible *acc = atspi_table_get_column_header (obj, 0, NULL);
265
1
  check_name (acc, "column 1 header");
266
1
  g_object_unref (acc);
267
1
  acc = atspi_table_get_column_header (obj, 1, NULL);
268
1
  check_name (acc, "column 2 header");
269
1
  g_object_unref (acc);
270
1
  acc = atspi_table_get_column_header (obj, 2, NULL);
271
1
  check_name (acc, "column 3 header");
272
1
  g_object_unref (acc);
273
1
  g_object_unref (obj);
274
1
  g_object_unref (child);
275
1
}
276

            
277
static void
278
1
atk_test_table_get_n_selected_rows (TestAppFixture *fixture, gconstpointer user_data)
279
{
280
1
  AtspiAccessible *_obj = fixture->root_obj;
281
1
  g_assert_nonnull (_obj);
282
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
283
1
  g_assert_nonnull (child);
284
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
285
1
  gint cnt = atspi_table_get_n_selected_rows (obj, NULL);
286
1
  g_assert_cmpint (cnt, ==, 2);
287
1
  g_object_unref (obj);
288
1
  g_object_unref (child);
289
1
}
290

            
291
static void
292
1
atk_test_table_get_selected_rows (TestAppFixture *fixture, gconstpointer user_data)
293
{
294
1
  AtspiAccessible *_obj = fixture->root_obj;
295
1
  g_assert_nonnull (_obj);
296
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
297
1
  g_assert_nonnull (child);
298
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
299
1
  GArray *array = atspi_table_get_selected_rows (obj, NULL);
300
1
  g_assert_nonnull (array);
301
1
  g_assert_cmpint (array->len, ==, 2);
302
1
  g_assert_cmpint (g_array_index (array, gint, 0), ==, 0);
303
1
  g_assert_cmpint (g_array_index (array, gint, 1), ==, 2);
304
1
  g_array_free (array, TRUE);
305
1
  g_object_unref (obj);
306
1
  g_object_unref (child);
307
1
}
308

            
309
static void
310
1
atk_test_table_get_selected_columns (TestAppFixture *fixture, gconstpointer user_data)
311
{
312
1
  AtspiAccessible *_obj = fixture->root_obj;
313
1
  g_assert_nonnull (_obj);
314
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
315
1
  g_assert_nonnull (child);
316
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
317
1
  GArray *array = atspi_table_get_selected_columns (obj, NULL);
318
1
  g_assert_nonnull (array);
319
1
  g_assert_cmpint (array->len, ==, 1);
320
1
  g_assert_cmpint (g_array_index (array, gint, 0), ==, 1);
321

            
322
1
  g_array_free (array, TRUE);
323
1
  g_object_unref (obj);
324
1
  g_object_unref (child);
325
1
}
326

            
327
static void
328
1
atk_test_table_get_n_selected_columns (TestAppFixture *fixture, gconstpointer user_data)
329
{
330
1
  AtspiAccessible *_obj = fixture->root_obj;
331
1
  g_assert_nonnull (_obj);
332
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
333
1
  g_assert_nonnull (child);
334

            
335
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
336
1
  g_assert_nonnull (obj);
337
1
  gint cnt = atspi_table_get_n_selected_columns (obj, NULL);
338
1
  g_assert_cmpint (cnt, ==, 1);
339
1
  g_object_unref (obj);
340
1
  g_object_unref (child);
341
1
}
342

            
343
static void
344
1
atk_test_table_is_row_selected (TestAppFixture *fixture, gconstpointer user_data)
345
{
346
1
  AtspiAccessible *_obj = fixture->root_obj;
347
1
  g_assert_nonnull (_obj);
348
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
349
1
  g_assert_nonnull (child);
350
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
351
1
  g_assert_nonnull (obj);
352
1
  g_assert_true (atspi_table_is_row_selected (obj, 0, NULL));
353
1
  g_assert_false (atspi_table_is_row_selected (obj, 1, NULL));
354
1
  g_object_unref (obj);
355
1
  g_object_unref (child);
356
1
}
357

            
358
static void
359
1
atk_test_table_is_column_selected (TestAppFixture *fixture, gconstpointer user_data)
360
{
361
1
  AtspiAccessible *_obj = fixture->root_obj;
362
1
  g_assert_nonnull (_obj);
363
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
364
1
  g_assert_nonnull (child);
365
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
366
1
  g_assert_true (atspi_table_is_column_selected (obj, 1, NULL));
367
1
  g_assert_false (atspi_table_is_column_selected (obj, 0, NULL));
368
1
  g_object_unref (obj);
369
1
  g_object_unref (child);
370
1
}
371

            
372
static void
373
1
atk_test_table_add_row_selection (TestAppFixture *fixture, gconstpointer user_data)
374
{
375
1
  AtspiAccessible *_obj = fixture->root_obj;
376
1
  g_assert_nonnull (_obj);
377
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
378
1
  g_assert_nonnull (child);
379
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
380
1
  g_assert_false (atspi_table_is_row_selected (obj, 1, NULL));
381
1
  g_assert_true (atspi_table_add_row_selection (obj, 1, NULL));
382
1
  g_assert_true (atspi_table_is_row_selected (obj, 1, NULL));
383
1
  g_object_unref (obj);
384
1
  g_object_unref (child);
385
1
}
386

            
387
static void
388
1
atk_test_table_add_column_selection (TestAppFixture *fixture, gconstpointer user_data)
389
{
390
1
  AtspiAccessible *_obj = fixture->root_obj;
391
1
  g_assert_nonnull (_obj);
392
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
393
1
  g_assert_nonnull (child);
394
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
395
1
  g_assert_false (atspi_table_is_column_selected (obj, 2, NULL));
396
1
  g_assert_true (atspi_table_add_column_selection (obj, 2, NULL));
397
1
  g_assert_true (atspi_table_is_column_selected (obj, 2, NULL));
398
1
  g_object_unref (obj);
399
1
  g_object_unref (child);
400
1
}
401

            
402
static void
403
1
atk_test_table_remove_row_selection (TestAppFixture *fixture, gconstpointer user_data)
404
{
405
1
  AtspiAccessible *_obj = fixture->root_obj;
406
1
  g_assert_nonnull (_obj);
407
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
408
1
  g_assert_nonnull (child);
409
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
410
1
  g_assert_true (atspi_table_is_row_selected (obj, 2, NULL));
411
1
  g_assert_true (atspi_table_remove_row_selection (obj, 2, NULL));
412
1
  g_assert_false (atspi_table_is_row_selected (obj, 2, NULL));
413
1
  g_object_unref (obj);
414
1
  g_object_unref (child);
415
1
}
416

            
417
static void
418
1
atk_test_table_remove_column_selection (TestAppFixture *fixture, gconstpointer user_data)
419
{
420
1
  AtspiAccessible *_obj = fixture->root_obj;
421
1
  g_assert_nonnull (_obj);
422
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
423
1
  g_assert_nonnull (child);
424
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
425
1
  g_assert_true (atspi_table_is_column_selected (obj, 1, NULL));
426
1
  g_assert_true (atspi_table_remove_column_selection (obj, 1, NULL));
427
1
  g_assert_false (atspi_table_is_column_selected (obj, 1, NULL));
428
1
  g_object_unref (obj);
429
1
  g_object_unref (child);
430
1
}
431

            
432
static void
433
1
atk_test_table_get_row_column_extents_at_index (TestAppFixture *fixture, gconstpointer user_data)
434
{
435
1
  AtspiAccessible *_obj = fixture->root_obj;
436
1
  g_assert_nonnull (_obj);
437
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
438
1
  g_assert_nonnull (child);
439
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
440
  gint row;
441
  gint col;
442
  gint row_ext;
443
  gint col_ext;
444
  gboolean is_selected;
445
1
  g_assert_true (atspi_table_get_row_column_extents_at_index (obj, 0, &row, &col, &row_ext, &col_ext, &is_selected, NULL));
446

            
447
1
  g_assert_cmpint (row, ==, 0);
448
1
  g_assert_cmpint (col, ==, 0);
449
1
  g_assert_cmpint (row_ext, ==, 2);
450
1
  g_assert_cmpint (col_ext, ==, 1);
451
1
  g_assert_false (is_selected);
452
1
  g_object_unref (obj);
453
1
  g_object_unref (child);
454
1
}
455

            
456
static void
457
1
atk_test_table_is_selected (TestAppFixture *fixture, gconstpointer user_data)
458
{
459
1
  AtspiAccessible *_obj = fixture->root_obj;
460
1
  g_assert_nonnull (_obj);
461
1
  AtspiAccessible *child = atspi_accessible_get_child_at_index (_obj, 0, NULL);
462
1
  g_assert_nonnull (child);
463
1
  AtspiTable *obj = atspi_accessible_get_table_iface (child);
464
1
  g_assert_true (atspi_table_is_selected (obj, 0, 2, NULL));
465
1
  g_assert_false (atspi_table_is_selected (obj, 1, 0, NULL));
466
1
  g_object_unref (obj);
467
1
  g_object_unref (child);
468
1
}
469

            
470
void
471
1
atk_test_table (void)
472
{
473
1
  g_test_add ("/table/atk_test_table_get_caption",
474
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_caption, fixture_teardown);
475
1
  g_test_add ("/table/atk_test_table_get_summary",
476
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_summary, fixture_teardown);
477
1
  g_test_add ("/table/atk_test_table_get_n_columns",
478
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_n_columns, fixture_teardown);
479
1
  g_test_add ("/table/atk_test_table_get_n_rows",
480
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_n_rows, fixture_teardown);
481
1
  g_test_add ("/table/atk_test_table_get_accessible_at",
482
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_accessible_at, fixture_teardown);
483
1
  g_test_add ("/table/atk_test_table_get_index_at",
484
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_index_at, fixture_teardown);
485
1
  g_test_add ("/table/atk_test_table_get_row_at_index",
486
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_row_at_index, fixture_teardown);
487
1
  g_test_add ("/table/atk_test_table_get_column_at_index",
488
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_column_at_index, fixture_teardown);
489
1
  g_test_add ("/table/atk_test_table_get_row_description",
490
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_row_description, fixture_teardown);
491
1
  g_test_add ("/table/atk_test_table_get_column_description",
492
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_column_description, fixture_teardown);
493
1
  g_test_add ("/table/atk_test_table_get_row_extent_at",
494
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_row_extent_at, fixture_teardown);
495
1
  g_test_add ("/table/atk_test_table_get_column_extent_at",
496
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_column_extent_at, fixture_teardown);
497
1
  g_test_add ("/table/atk_test_table_get_row_header",
498
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_row_header, fixture_teardown);
499
1
  g_test_add ("/table/atk_test_table_get_column_header",
500
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_column_header, fixture_teardown);
501
1
  g_test_add ("/table/atk_test_table_get_n_selected_rows",
502
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_n_selected_rows, fixture_teardown);
503
1
  g_test_add ("/table/atk_test_table_get_selected_rows",
504
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_selected_rows, fixture_teardown);
505
1
  g_test_add ("/table/atk_test_table_get_selected_columns",
506
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_selected_columns, fixture_teardown);
507
1
  g_test_add ("/table/atk_test_table_get_n_selected_columns",
508
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_n_selected_columns, fixture_teardown);
509
1
  g_test_add ("/table/atk_test_table_is_row_selected",
510
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_is_row_selected, fixture_teardown);
511
1
  g_test_add ("/table/atk_test_table_is_column_selected",
512
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_is_column_selected, fixture_teardown);
513
1
  g_test_add ("/table/atk_test_table_add_row_selection",
514
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_add_row_selection, fixture_teardown);
515
1
  g_test_add ("/table/atk_test_table_add_column_selection",
516
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_add_column_selection, fixture_teardown);
517
1
  g_test_add ("/table/atk_test_table_remove_row_selection",
518
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_remove_row_selection, fixture_teardown);
519
1
  g_test_add ("/table/atk_test_table_remove_column_selection",
520
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_remove_column_selection, fixture_teardown);
521
1
  g_test_add ("/table/atk_test_table_get_row_column_extents_at_index",
522
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_get_row_column_extents_at_index, fixture_teardown);
523
1
  g_test_add ("/table/atk_test_table_is_selected",
524
              TestAppFixture, DATA_FILE, fixture_setup, atk_test_table_is_selected, fixture_teardown);
525
1
}