diff options
Diffstat (limited to 'test/test-gtest.cpp')
-rw-r--r-- | test/test-gtest.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/test-gtest.cpp b/test/test-gtest.cpp new file mode 100644 index 0000000..bb9943d --- /dev/null +++ b/test/test-gtest.cpp @@ -0,0 +1,16 @@ + +#include <glib.h> +#include <gtest/gtest.h> + +extern "C" { + #include "launcher-menu-item.h" +} + +TEST(LauncherMenuItem, NameInitialized) { + g_type_init(); + //const gchar * expected = "foo"; + //LauncherMenuItem * test_li = launcher_menu_item_new ("foo"); + //gchar * result = launcher_menu_item_get_name(test_li); + //EXPECT_EQ(0, strcmp("foo", result)); + EXPECT_TRUE(true); +} |