From 3eb45ac840a66511537cdf2bd2c9f7c68c6e1761 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 4 Jun 2012 12:23:51 +0200 Subject: Include different header in test case to fix `make check` --- test/test-gtest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test-gtest.cpp') 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 extern "C" { - #include "launcher-menu-item.h" + #include "app-section.h" } -TEST(LauncherMenuItem, NameInitialized) { +TEST(AppSection, NameInitialized) { g_type_init(); EXPECT_TRUE(true); } -- cgit v1.2.3 From 6ee454ecc225d186195206465254133473bfd749 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Mon, 4 Jun 2012 18:15:46 +0200 Subject: Remove dummy test case --- test/Makefile.am | 16 +--------------- test/test-gtest.cpp | 12 ------------ 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 test/test-gtest.cpp (limited to 'test/test-gtest.cpp') diff --git a/test/Makefile.am b/test/Makefile.am index f1ab408..6ceb1d4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,6 +1,6 @@ check_LIBRARIES = libgtest.a -check_PROGRAMS = test-gtest test-gactionmuxer +check_PROGRAMS = test-gactionmuxer TESTS = @@ -17,20 +17,6 @@ libgtest_a_CXXFLAGS = \ libgtest_a_CPPFLAGS = \ $(AM_CPPFLAGS) -TESTS += test-gtest - -test_gtest_SOURCES = \ - test-gtest.cpp -test_gtest_CPPFLAGS = \ - $(APPLET_CFLAGS) \ - $(AM_CPPFLAGS) -test_gtest_LDFLAGS = -pthread -test_gtest_LDADD = \ - $(APPLET_LIBS) \ - $(top_builddir)/src/.libs/libindicator-messages-status-provider.la \ - libgtest.a - - TESTS += test-gactionmuxer test_gactionmuxer_SOURCES = \ diff --git a/test/test-gtest.cpp b/test/test-gtest.cpp deleted file mode 100644 index fd9fec1..0000000 --- a/test/test-gtest.cpp +++ /dev/null @@ -1,12 +0,0 @@ - -#include -#include - -extern "C" { - #include "app-section.h" -} - -TEST(AppSection, NameInitialized) { - g_type_init(); - EXPECT_TRUE(true); -} -- cgit v1.2.3