Lines Matching refs:Level
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()
196 using Level = Visibility::Level; in TEST() typedef
202 visibility.level = Visibility::Level::kPrivate; in TEST()
205 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST()
207 visibility.level = Visibility::Level::kUndefined; in TEST()
210 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPrivate, "private")); in TEST()
212 visibility.level = Visibility::Level::kPublic; in TEST()
215 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); in TEST()
217 visibility.level = Visibility::Level::kPrivate; in TEST()
220 ASSERT_TRUE(VisibilityOfResource(table, name, Level::kPublic, "public")); 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()