Home
last modified time | relevance | path

Searched refs:getIntGlobal (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp257 auto getIntGlobal(Args &&... Arguments) { in getIntGlobal() function in clang::tidy::test::__anon97ca9b9b0411::TestCheck
327 CHECK_VAL(TestCheck.getIntGlobal("GlobalIntExpected"), 1); in TEST()
330 EXPECT_FALSE(TestCheck.getIntGlobal("GlobalIntInvalid").has_value()); in TEST()
389 CHECK_VAL(TestCheck.getIntGlobal<Colours>("GlobalValid"), Colours::Violet); in TEST()
394 CHECK_VAL(TestCheck.getIntGlobal<Colours>("GlobalValidWrongCase", in TEST()
400 EXPECT_FALSE(TestCheck.getIntGlobal<Colours>("GlobalInvalid").has_value()); in TEST()
402 TestCheck.getIntGlobal<Colours>("GlobalValidWrongCase").has_value()); in TEST()
403 EXPECT_FALSE(TestCheck.getIntGlobal<Colours>("GlobalNearMiss").has_value()); in TEST()