summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMichal Hruby <michal.mhr@gmail.com>2012-02-21 18:03:22 +0100
committerMichal Hruby <michal.mhr@gmail.com>2012-02-21 18:03:22 +0100
commit8a059d50a3a27d29badd56f3198378f6fcefa98e (patch)
treee401937c6b46a469fc74db0aff3b21b0f37e028d /tests
parent2bf44883fe6497e8e9e4fd237cbedaf021e4d6e6 (diff)
Default setting for Visible key is true
(bzr r1997.1.4)
Diffstat (limited to 'tests')
-rw-r--r--tests/data/lenses/files/files.lens2
-rw-r--r--tests/test_filesystem_lenses.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/lenses/files/files.lens b/tests/data/lenses/files/files.lens
index 5f5358cee..3b33ebb03 100644
--- a/tests/data/lenses/files/files.lens
+++ b/tests/data/lenses/files/files.lens
@@ -5,5 +5,5 @@ Name=Files
Icon=/usr/share/unity-lens-files/files.png
Description=Search for Files & Folders
SearchHint=Search Files & Folders
-Visible=true
+Visible=false
Shortcut=f
diff --git a/tests/test_filesystem_lenses.cpp b/tests/test_filesystem_lenses.cpp
index 23699fba8..48447ec7d 100644
--- a/tests/test_filesystem_lenses.cpp
+++ b/tests/test_filesystem_lenses.cpp
@@ -99,7 +99,7 @@ TEST(TestFilesystemLenses, TestLensContent)
EXPECT_EQ(lens->icon_hint, "/usr/share/unity-lens-files/files.png");
EXPECT_EQ(lens->description, "Search for Files & Folders");
EXPECT_EQ(lens->search_hint, "Search Files & Folders");
- EXPECT_EQ(lens->visible, true);
+ EXPECT_EQ(lens->visible, false);
EXPECT_EQ(lens->shortcut, "f");
lens = lenses.GetLens("social.lens");
@@ -110,7 +110,7 @@ TEST(TestFilesystemLenses, TestLensContent)
EXPECT_EQ(lens->icon_hint, "/usr/share/unity-lens-social/social.png");
EXPECT_EQ(lens->description, "");
EXPECT_EQ(lens->search_hint, "");
- EXPECT_EQ(lens->visible, false);
+ EXPECT_EQ(lens->visible, true);
EXPECT_EQ(lens->shortcut, "");
}