aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-13 12:43:15 -0600
committerTed Gould <ted@gould.cx>2011-01-13 12:43:15 -0600
commit22a9ca4cf025fed3bedd6aa12643cfe4cacfd524 (patch)
tree019d13f8a9b9b81c1cad246d55f71f5a58911c25 /tests
parentdf21e797234f5bb4bd7e2a014296efe20ac6d2f3 (diff)
parentee32949d96d2c2243f4869c06d34d1d55031f411 (diff)
downloadlibayatana-indicator-22a9ca4cf025fed3bedd6aa12643cfe4cacfd524.tar.gz
libayatana-indicator-22a9ca4cf025fed3bedd6aa12643cfe4cacfd524.tar.bz2
libayatana-indicator-22a9ca4cf025fed3bedd6aa12643cfe4cacfd524.zip
Import upstream version 0.3.16
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am33
-rw-r--r--tests/Makefile.in58
-rw-r--r--tests/test-desktop-shortcuts.c1
3 files changed, 56 insertions, 36 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index da33551..f15309d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -170,7 +170,8 @@ service_shutdown_timeout_CFLAGS = \
service_shutdown_timeout_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-shutdown-timeout-tester: service-shutdown-timeout Makefile
@echo "#!/bin/sh" > service-shutdown-timeout-tester
@@ -195,7 +196,8 @@ service_manager_no_connect_CFLAGS = \
service_manager_no_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-manager-no-connect-tester: service-manager-no-connect Makefile.am
@echo "#!/bin/sh" > service-manager-no-connect-tester
@@ -226,7 +228,8 @@ service_manager_connect_CFLAGS = \
service_manager_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
check_PROGRAMS += service-manager-connect-service
@@ -239,7 +242,8 @@ service_manager_connect_service_CFLAGS = \
service_manager_connect_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-manager-connect-tester: service-manager-connect service-manager-connect-service session.conf service-manager-connect.service Makefile.am
@echo "#!/bin/sh" > service-manager-connect-tester
@@ -271,7 +275,8 @@ service_version_manager_CFLAGS = \
service_version_manager_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
check_PROGRAMS += service-version-bad-service
@@ -285,7 +290,8 @@ service_version_bad_service_CFLAGS = \
service_version_bad_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
check_PROGRAMS += service-version-good-service
@@ -299,7 +305,8 @@ service_version_good_service_CFLAGS = \
service_version_good_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-version-tester: service-version-manager service-version-bad-service service-version-good-service session.conf service-version-bad.service service-version-good.service Makefile.am
@echo "#!/bin/sh" > $@
@@ -325,7 +332,8 @@ service_version_multiwatch_manager_CFLAGS = \
service_version_multiwatch_manager_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
check_PROGRAMS += service-version-multiwatch-manager-impolite
@@ -339,7 +347,8 @@ service_version_multiwatch_manager_impolite_CFLAGS = \
service_version_multiwatch_manager_impolite_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
check_PROGRAMS += service-version-multiwatch-service
@@ -353,7 +362,8 @@ service_version_multiwatch_service_CFLAGS = \
service_version_multiwatch_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-version-multiwatch-tester: service-version-multiwatch-manager service-version-multiwatch-service service-version-multiwatch-manager-impolite Makefile.am
@echo "#!/bin/sh" > $@
@@ -378,7 +388,8 @@ service_manager_nostart_connect_CFLAGS = \
service_manager_nostart_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service-manager-connect-nostart-tester: service-manager-nostart-connect service-manager-connect-service Makefile.am
@echo "#!/bin/sh" > $@
diff --git a/tests/Makefile.in b/tests/Makefile.in
index fe1948a..d77b4ac 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -128,7 +128,7 @@ am_service_manager_connect_OBJECTS = \
service_manager_connect_OBJECTS = \
$(am_service_manager_connect_OBJECTS)
service_manager_connect_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_manager_connect_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_manager_connect_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -137,7 +137,7 @@ am_service_manager_connect_service_OBJECTS = service_manager_connect_service-ser
service_manager_connect_service_OBJECTS = \
$(am_service_manager_connect_service_OBJECTS)
service_manager_connect_service_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_manager_connect_service_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_manager_connect_service_CFLAGS) $(CFLAGS) \
@@ -146,7 +146,7 @@ am_service_manager_no_connect_OBJECTS = service_manager_no_connect-service-manag
service_manager_no_connect_OBJECTS = \
$(am_service_manager_no_connect_OBJECTS)
service_manager_no_connect_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_manager_no_connect_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_manager_no_connect_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -155,7 +155,7 @@ am_service_manager_nostart_connect_OBJECTS = service_manager_nostart_connect-ser
service_manager_nostart_connect_OBJECTS = \
$(am_service_manager_nostart_connect_OBJECTS)
service_manager_nostart_connect_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_manager_nostart_connect_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_manager_nostart_connect_CFLAGS) $(CFLAGS) \
@@ -165,7 +165,7 @@ am_service_shutdown_timeout_OBJECTS = \
service_shutdown_timeout_OBJECTS = \
$(am_service_shutdown_timeout_OBJECTS)
service_shutdown_timeout_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_shutdown_timeout_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_shutdown_timeout_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -174,7 +174,7 @@ am_service_version_bad_service_OBJECTS = service_version_bad_service-service-ver
service_version_bad_service_OBJECTS = \
$(am_service_version_bad_service_OBJECTS)
service_version_bad_service_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_version_bad_service_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_version_bad_service_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -183,7 +183,7 @@ am_service_version_good_service_OBJECTS = service_version_good_service-service-v
service_version_good_service_OBJECTS = \
$(am_service_version_good_service_OBJECTS)
service_version_good_service_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_version_good_service_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_version_good_service_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -192,7 +192,7 @@ am_service_version_manager_OBJECTS = service_version_manager-service-version-mul
service_version_manager_OBJECTS = \
$(am_service_version_manager_OBJECTS)
service_version_manager_DEPENDENCIES = $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1)
service_version_manager_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(service_version_manager_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
@@ -201,8 +201,7 @@ service_version_multiwatch_manager_SOURCES = \
service-version-multiwatch-manager.c
service_version_multiwatch_manager_OBJECTS = service_version_multiwatch_manager-service-version-multiwatch-manager.$(OBJEXT)
service_version_multiwatch_manager_DEPENDENCIES = \
- $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
service_version_multiwatch_manager_LINK = $(LIBTOOL) $(AM_V_lt) \
--tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
$(CCLD) $(service_version_multiwatch_manager_CFLAGS) $(CFLAGS) \
@@ -211,8 +210,7 @@ service_version_multiwatch_manager_impolite_SOURCES = \
service-version-multiwatch-manager-impolite.c
service_version_multiwatch_manager_impolite_OBJECTS = service_version_multiwatch_manager_impolite-service-version-multiwatch-manager-impolite.$(OBJEXT)
service_version_multiwatch_manager_impolite_DEPENDENCIES = \
- $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
service_version_multiwatch_manager_impolite_LINK = $(LIBTOOL) \
$(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) \
@@ -222,8 +220,7 @@ am_service_version_multiwatch_service_OBJECTS = service_version_multiwatch_servi
service_version_multiwatch_service_OBJECTS = \
$(am_service_version_multiwatch_service_OBJECTS)
service_version_multiwatch_service_DEPENDENCIES = \
- $(am__DEPENDENCIES_1) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
service_version_multiwatch_service_LINK = $(LIBTOOL) $(AM_V_lt) \
--tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \
$(CCLD) $(service_version_multiwatch_service_CFLAGS) $(CFLAGS) \
@@ -574,7 +571,8 @@ service_shutdown_timeout_CFLAGS = \
service_shutdown_timeout_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_manager_no_connect_SOURCES = \
service-manager-no-connect.c
@@ -585,7 +583,8 @@ service_manager_no_connect_CFLAGS = \
service_manager_no_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_manager_connect_SOURCES = \
service-manager-connect.c
@@ -596,7 +595,8 @@ service_manager_connect_CFLAGS = \
service_manager_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_manager_connect_service_SOURCES = \
service-manager-connect-service.c
@@ -607,7 +607,8 @@ service_manager_connect_service_CFLAGS = \
service_manager_connect_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_manager_SOURCES = \
service-version-values.h \
@@ -619,7 +620,8 @@ service_version_manager_CFLAGS = \
service_version_manager_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_bad_service_SOURCES = \
service-version-values.h \
@@ -631,7 +633,8 @@ service_version_bad_service_CFLAGS = \
service_version_bad_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_good_service_SOURCES = \
service-version-values.h \
@@ -643,7 +646,8 @@ service_version_good_service_CFLAGS = \
service_version_good_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_multiwatch_manager_CFLAGS = \
-Wall -Werror \
@@ -651,7 +655,8 @@ service_version_multiwatch_manager_CFLAGS = \
service_version_multiwatch_manager_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_manager_impolite_SOURCES = \
service-version-values.h \
@@ -663,7 +668,8 @@ service_version_multiwatch_manager_impolite_CFLAGS = \
service_version_multiwatch_manager_impolite_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_version_multiwatch_service_SOURCES = \
service-version-values.h \
@@ -675,7 +681,8 @@ service_version_multiwatch_service_CFLAGS = \
service_version_multiwatch_service_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
service_manager_nostart_connect_SOURCES = \
service-manager-nostart-connect.c
@@ -686,7 +693,8 @@ service_manager_nostart_connect_CFLAGS = \
service_manager_nostart_connect_LDADD = \
$(LIBINDICATOR_LIBS) \
- $(top_builddir)/libindicator/.libs/libindicator.a
+ -L$(top_builddir)/libindicator/.libs \
+ $(INDICATOR_LIB)
#############################
diff --git a/tests/test-desktop-shortcuts.c b/tests/test-desktop-shortcuts.c
index 24657c7..00dccd4 100644
--- a/tests/test-desktop-shortcuts.c
+++ b/tests/test-desktop-shortcuts.c
@@ -96,6 +96,7 @@ test_desktop_shortcuts_nicknames (void)
void
test_desktop_shortcuts_launch (void)
{
+ return;
IndicatorDesktopShortcuts * ids = indicator_desktop_shortcuts_new(SRCDIR "/test-well-formed.desktop", "TouchTest");
g_assert(ids != NULL);