Lines Matching refs:Visibility
162 static StringPiece LevelToString(Visibility::Level level) { in LevelToString()
164 case Visibility::Level::kPrivate: in LevelToString()
166 case Visibility::Level::kPublic: in LevelToString()
175 Visibility::Level level, in VisibilityOfResource()
182 const Visibility& visibility = result.value().entry->visibility; in VisibilityOfResource()
196 using Level = Visibility::Level; in TEST()
201 Visibility visibility; in TEST()
202 visibility.level = Visibility::Level::kPrivate; in TEST()
207 visibility.level = Visibility::Level::kUndefined; in TEST()
212 visibility.level = Visibility::Level::kPublic; in TEST()
217 visibility.level = Visibility::Level::kPrivate; in TEST()
344 ASSERT_TRUE(table.SetVisibilityWithId(foo_name, Visibility{Visibility::Level::kPublic}, in TEST()
346 ASSERT_TRUE(table.SetVisibilityWithId(foo_name, Visibility{Visibility::Level::kPrivate}, in TEST()
361 ASSERT_THAT(entry1->visibility.level, Visibility::Level::kPublic); in TEST()
370 ASSERT_THAT(entry2->visibility.level, Visibility::Level::kPrivate); in TEST()