Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/static_core/runtime/tests/
Doptions_test.cpp50 ASSERT_TRUE(GetParser()->Parse(GetCorrectOptionsList())); in TEST_F()
58 ASSERT_FALSE(GetParser()->Parse(invalidOptions)); in TEST_F()
59 ASSERT_EQ(GetParser()->GetErrorString(), in TEST_F()
65 GetParser()->EnableTail(); in TEST_F()
70 GetParser()->PushBackTail(&file); in TEST_F()
71 ASSERT_TRUE(GetParser()->Parse(optionsVector)); in TEST_F()
74 ASSERT_FALSE(GetParser()->Parse(optionsVector)); in TEST_F()
75 ASSERT_EQ(GetParser()->GetErrorString(), "pandargs: Too many tail arguments given\n"); in TEST_F()
77 GetParser()->DisableTail(); in TEST_F()
79 ASSERT_FALSE(GetParser()->Parse(optionsVector)); in TEST_F()
[all …]
Doptions_test_base.h42 panda::PandArgParser *GetParser() in GetParser() function
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DcompilerContext.h68 [[nodiscard]] parser::ParserImpl *GetParser() const noexcept in GetParser() function