[gnome-settings-daemon] a11y-settings: Add test application
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] a11y-settings: Add test application
- Date: Mon, 2 Jul 2012 14:28:47 +0000 (UTC)
commit 8a2f551e8a2ce4b0c1d68487a31eb8d5fe82e5b3
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 2 15:09:20 2012 +0100
a11y-settings: Add test application
plugins/a11y-settings/Makefile.am | 20 ++++++++++++++++++++
plugins/a11y-settings/test-a11y-settings.c | 7 +++++++
2 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/plugins/a11y-settings/Makefile.am b/plugins/a11y-settings/Makefile.am
index ca6c0d5..f996265 100644
--- a/plugins/a11y-settings/Makefile.am
+++ b/plugins/a11y-settings/Makefile.am
@@ -1,5 +1,25 @@
plugin_name = a11y-settings
+noinst_PROGRAMS = test-a11y-settings
+
+test_a11y_settings_SOURCES = \
+ gsd-a11y-settings-manager.h \
+ gsd-a11y-settings-manager.c \
+ test-a11y-settings.c
+
+test_a11y_settings_CFLAGS = \
+ -I$(top_srcdir)/gnome-settings-daemon \
+ -I$(top_srcdir)/plugins/common \
+ -DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
+ $(PLUGIN_CFLAGS) \
+ $(SETTINGS_PLUGIN_CFLAGS) \
+ $(AM_CFLAGS)
+
+test_a11y_settings_LDADD = \
+ $(top_builddir)/gnome-settings-daemon/libgsd.la \
+ $(top_builddir)/plugins/common/libcommon.la \
+ $(SETTINGS_PLUGIN_LIBS)
+
plugin_LTLIBRARIES = \
liba11y-settings.la
diff --git a/plugins/a11y-settings/test-a11y-settings.c b/plugins/a11y-settings/test-a11y-settings.c
new file mode 100644
index 0000000..10b7128
--- /dev/null
+++ b/plugins/a11y-settings/test-a11y-settings.c
@@ -0,0 +1,7 @@
+#define NEW gsd_a11y_settings_manager_new
+#define START gsd_a11y_settings_manager_start
+#define STOP gsd_a11y_settings_manager_stop
+#define MANAGER GsdA11ySettingsManager
+#include "gsd-a11y-settings-manager.h"
+
+#include "test-plugin.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]