aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-06-04 12:23:51 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-06-04 12:23:51 +0200
commit3eb45ac840a66511537cdf2bd2c9f7c68c6e1761 (patch)
treef637bc14f70b1037313fb9a57be2e842564ff624
parent0a82aeba13c568e75b187b7f64d9c8327a246b4b (diff)
downloadayatana-indicator-messages-3eb45ac840a66511537cdf2bd2c9f7c68c6e1761.tar.gz
ayatana-indicator-messages-3eb45ac840a66511537cdf2bd2c9f7c68c6e1761.tar.bz2
ayatana-indicator-messages-3eb45ac840a66511537cdf2bd2c9f7c68c6e1761.zip
Include different header in test case to fix `make check`
-rw-r--r--src/app-section.h1
-rw-r--r--test/test-gtest.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/app-section.h b/src/app-section.h
index 1ef191a..a81b4df 100644
--- a/src/app-section.h
+++ b/src/app-section.h
@@ -23,6 +23,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define __APP_SECTION_H__
#include <gio/gio.h>
+#include <gio/gdesktopappinfo.h>
G_BEGIN_DECLS
diff --git a/test/test-gtest.cpp b/test/test-gtest.cpp
index 1cc97be..fd9fec1 100644
--- a/test/test-gtest.cpp
+++ b/test/test-gtest.cpp
@@ -3,10 +3,10 @@
#include <gtest/gtest.h>
extern "C" {
- #include "launcher-menu-item.h"
+ #include "app-section.h"
}
-TEST(LauncherMenuItem, NameInitialized) {
+TEST(AppSection, NameInitialized) {
g_type_init();
EXPECT_TRUE(true);
}