*** empty log message ***
[platform/core/uifw/at-spi2-atk.git] / test / test-simple.c
index c0d6c50..b85e2a9 100644 (file)
@@ -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);