diff options
author | Philip Chimento <philip@endlessm.com> | 2013-09-26 13:32:58 -0700 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2013-09-26 14:32:23 -0700 |
commit | a1129813f76b08515522af2be3e93a9994d47dfc (patch) | |
tree | aa817b9b4fd182fe00d5f00415199c04064e5e71 /test/test-application.c | |
parent | a8d9e4a761edcd714642fc59539430c7f15f23fa (diff) |
Run all tests with unique application ID
Running tests with the same application ID causes DBus collisions.
Apparently this did not cause problems until now.
[endlessm/eos-sdk#303]
Diffstat (limited to 'test/test-application.c')
-rw-r--r-- | test/test-application.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test-application.c b/test/test-application.c index f417b5a..74b9c49 100644 --- a/test/test-application.c +++ b/test/test-application.c @@ -1,7 +1,6 @@ /* Copyright 2013 Endless Mobile, Inc. */ #include <stdlib.h> -#include <inttypes.h> /* For PRIi64 */ #include <sys/stat.h> /* For file mode constants */ #include <gtk/gtk.h> #include <endless/endless.h> @@ -11,8 +10,6 @@ #define EXPECTED_TWO_WINDOW_ERRMSG "*You should not add more than one application window*" #define EXPECTED_CONFIG_NOT_WRITABLE_ERRMSG "*Your user config directory*is not writable*" -#define APPLICATION_TEST_ID_BASE "com.endlessm.eosapplication.test" - typedef struct { gchar *unique_id; @@ -38,14 +35,6 @@ test_two_windows (EosApplication *app) gtk_widget_destroy (win1); } -static gchar * -generate_unique_app_id (void) -{ - return g_strdup_printf ("%s%" PRIi64, - APPLICATION_TEST_ID_BASE, - g_get_real_time ()); -} - static void config_dir_setup (ConfigDirFixture *fixture, gconstpointer unused) |