projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added boolean return types for methods in Component, Selection,
[platform/core/uifw/at-spi2-atk.git]
/
test
/
test-simple.c
diff --git
a/test/test-simple.c
b/test/test-simple.c
index
f66139a
..
814d051
100644
(file)
--- a/
test/test-simple.c
+++ b/
test/test-simple.c
@@
-713,6
+713,7
@@
test_keylisteners (void)
while (!(stroke.type & SPI_KEY_PRESSED))
g_main_context_iteration (NULL, TRUE);
fprintf (stderr, "p");
while (!(stroke.type & SPI_KEY_PRESSED))
g_main_context_iteration (NULL, TRUE);
fprintf (stderr, "p");
+ g_assert (!strcmp (stroke.keystring, "="));
while (!(stroke.type & SPI_KEY_RELEASED))
g_main_context_iteration (NULL, TRUE);
fprintf (stderr, "r ");
while (!(stroke.type & SPI_KEY_RELEASED))
g_main_context_iteration (NULL, TRUE);
fprintf (stderr, "r ");
@@
-720,7
+721,6
@@
test_keylisteners (void)
g_assert (SPI_deregisterAccessibleKeystrokeListener (key_listener, 0));
SPI_freeAccessibleKeySet (test_keyset);
g_assert (SPI_deregisterAccessibleKeystrokeListener (key_listener, 0));
SPI_freeAccessibleKeySet (test_keyset);
- g_assert (!strcmp (stroke.keystring, "="));
fprintf (stderr, "\n");
AccessibleKeystrokeListener_unref (key_listener);
fprintf (stderr, "\n");
AccessibleKeystrokeListener_unref (key_listener);