[gnome-settings-daemon] a11y-keyboard: Add test application
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] a11y-keyboard: Add test application
- Date: Mon, 2 Jul 2012 14:28:22 +0000 (UTC)
commit f59ee87b385463198fd909f04176f9924cd85ae7
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 2 14:52:15 2012 +0100
a11y-keyboard: Add test application
plugins/a11y-keyboard/Makefile.am | 27 ++++++++++++++++++++++++---
plugins/a11y-keyboard/test-a11y-keyboard.c | 7 +++++++
2 files changed, 31 insertions(+), 3 deletions(-)
---
diff --git a/plugins/a11y-keyboard/Makefile.am b/plugins/a11y-keyboard/Makefile.am
index f5eb6e2..c037d40 100644
--- a/plugins/a11y-keyboard/Makefile.am
+++ b/plugins/a11y-keyboard/Makefile.am
@@ -7,9 +7,30 @@ gtkbuilder_DATA = \
gsd-a11y-preferences-dialog.ui \
$(NULL)
-noinst_PROGRAMS = \
- test-a11y-preferences-dialog \
- $(NULL)
+noinst_PROGRAMS = test-a11y-preferences-dialog test-a11y-keyboard
+
+test_a11y_keyboard_SOURCES = \
+ gsd-a11y-keyboard-manager.h \
+ gsd-a11y-keyboard-manager.c \
+ gsd-a11y-preferences-dialog.c \
+ gsd-a11y-preferences-dialog.h \
+ test-a11y-keyboard.c
+
+test_a11y_keyboard_CFLAGS = \
+ -I$(top_srcdir)/gnome-settings-daemon \
+ -I$(top_srcdir)/plugins/common \
+ -DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
+ -DGTKBUILDERDIR=\""$(pkgdatadir)"\" \
+ $(PLUGIN_CFLAGS) \
+ $(LIBNOTIFY_CFLAGS) \
+ $(SETTINGS_PLUGIN_CFLAGS) \
+ $(AM_CFLAGS)
+
+test_a11y_keyboard_LDADD = \
+ $(top_builddir)/gnome-settings-daemon/libgsd.la \
+ $(top_builddir)/plugins/common/libcommon.la \
+ $(LIBNOTIFY_LIBS) \
+ $(SETTINGS_PLUGIN_LIBS)
test_a11y_preferences_dialog_SOURCES = \
gsd-a11y-preferences-dialog.c \
diff --git a/plugins/a11y-keyboard/test-a11y-keyboard.c b/plugins/a11y-keyboard/test-a11y-keyboard.c
new file mode 100644
index 0000000..38ddef6
--- /dev/null
+++ b/plugins/a11y-keyboard/test-a11y-keyboard.c
@@ -0,0 +1,7 @@
+#define NEW gsd_a11y_keyboard_manager_new
+#define START gsd_a11y_keyboard_manager_start
+#define STOP gsd_a11y_keyboard_manager_stop
+#define MANAGER GsdA11yKeyboardManager
+#include "gsd-a11y-keyboard-manager.h"
+
+#include "test-plugin.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]