summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2003-12-04 23:07:12 +0000
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>2003-12-04 23:07:12 +0000
commitbf33393914582819faad2e404291c7deb53bec98 (patch)
treee34f23161b2a039be30bfc04cfa2dc4bbba2494d /test
parent1b83d2d61e41423e6d48a1dc23df006c30e354bb (diff)
downloadat-spi2-core-bf33393914582819faad2e404291c7deb53bec98.tar.gz
Revved to 1.3.8. Fix for 121974. Added Application_getLocale.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@570 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'test')
-rw-r--r--test/test-simple.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-simple.c b/test/test-simple.c
index c0d6c502..b85e2a9b 100644
--- a/test/test-simple.c
+++ b/test/test-simple.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <locale.h>
#include <gtk/gtk.h>
#include <cspi/spi.h>
#include <libbonobo.h>
@@ -233,6 +234,10 @@ test_application (Accessible *application)
g_assert (!strcmp (str, "GAIL"));
SPI_freeString (str);
+ str = AccessibleApplication_getLocale (application, LC_MESSAGES);
+ g_assert (!strcmp (str, setlocale (LC_MESSAGES, NULL)));
+ SPI_freeString (str);
+
str = AccessibleApplication_getVersion (application);
g_assert (str != NULL);
SPI_freeString (str);