From 5d1c2bc58614939a64a5d023f3b86d59fd8fb2a8 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 4 Nov 2014 18:30:19 -0600 Subject: Dividing up the tests to make them look nice --- tests/indicator-test.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/indicator-test.cc') diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc index 6bc16cb..fd2819e 100644 --- a/tests/indicator-test.cc +++ b/tests/indicator-test.cc @@ -33,14 +33,17 @@ protected: }; -TEST_F(IndicatorTest, StartStop) { +TEST_F(IndicatorTest, PhoneMenu) { setMenu("/com/canonical/indicator/sound/phone"); EXPECT_MENU_ATTRIB({0}, "action", "indicator.root"); EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "com.canonical.indicator.root"); expectMenuAttribute({0, 0, 0}, "action", "indicator.silent-mode"); +} +TEST_F(IndicatorTest, DesktopMenu) { setMenu("/com/canonical/indicator/sound/desktop"); + EXPECT_MENU_ATTRIB({0}, "action", "indicator.root"); } -- cgit v1.2.3