/arkcompiler/runtime_core/static_core/runtime/tests/tooling/ |
H A D | test_runner.h | 30 test_ = TestUtil::GetTest(testName); in TestRunner() 31 test_->debugInterface = debugInterface_; in TestRunner() 38 if (test_->scenario) { in Run() 39 test_->scenario(); in Run() 45 if (test_->breakpoint) { 46 test_->breakpoint(thread, method, location); 52 if (test_->loadModule) { 53 test_->loadModule(pandaFileName); 59 if (test_->paused) { 60 test_ 271 ApiTest *test_; global() member in ark::tooling::test::TestRunner [all...] |
/arkcompiler/toolchain/tooling/test/utils/ |
H A D | test_hooks.h | 29 test_ = TestUtil::GetTest(testName); in TestHooks() 30 runtime_ = std::make_unique<RuntimeImpl>(vm, test_->channel_); in TestHooks() 31 debugger_ = std::make_unique<DebuggerImpl>(vm, test_->channel_, runtime_.get()); in TestHooks() 32 test_->vm_ = vm; in TestHooks() 33 test_->debugger_ = debugger_.get(); in TestHooks() 34 test_->runtime_ = runtime_.get(); in TestHooks() 35 test_->debugInterface_ = debugger_->jsDebugger_; in TestHooks() 43 if (test_->scenario) { in Run() 44 test_->scenario(); in Run() 50 if (test_ 138 TestEvents *test_; global() member in panda::ecmascript::tooling::test::TestHooks [all...] |
/arkcompiler/runtime_core/compiler/tests/ |
H A D | asm_caller.cpp | 45 extern "C" std::uint8_t test_##opc##_8(std::uint8_t); \ 46 extern "C" std::uint16_t test_##opc##_16(std::uint16_t); \ 47 extern "C" std::uint32_t test_##opc##_32(std::uint32_t); \ 48 extern "C" std::uint64_t test_##opc##_64(std::uint64_t); 53 extern "C" std::uint8_t test_##opc##_8(std::uint8_t, std::uint8_t); \ 54 extern "C" std::uint16_t test_##opc##_16(std::uint16_t, std::uint16_t); \ 55 extern "C" std::uint32_t test_##opc##_32(std::uint32_t, std::uint32_t); \ 56 extern "C" std::uint64_t test_##opc##_64(std::uint64_t, std::uint64_t); 74 std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8)) \ in TEST_F() 76 std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##op in TEST_F() [all...] |
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | asm_caller.cpp | 62 extern "C" std::uint8_t test_##opc##_8(std::uint8_t); \ 63 extern "C" std::uint16_t test_##opc##_16(std::uint16_t); \ 64 extern "C" std::uint32_t test_##opc##_32(std::uint32_t); \ 65 extern "C" std::uint64_t test_##opc##_64(std::uint64_t) 71 extern "C" std::uint8_t test_##opc##_8(std::uint8_t, std::uint8_t); \ 72 extern "C" std::uint16_t test_##opc##_16(std::uint16_t, std::uint16_t); \ 73 extern "C" std::uint32_t test_##opc##_32(std::uint32_t, std::uint32_t); \ 74 extern "C" std::uint64_t test_##opc##_64(std::uint64_t, std::uint64_t) 95 std::cerr << "ui8 result:" << std::hex << static_cast<uint64_t>(test_##opc##_8(ui8)) \ in TEST_F() 97 std::cerr << "ui16 result:" << std::hex << static_cast<uint64_t>(test_##op in TEST_F() [all...] |
/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | switchCaseStatement.cpp | 28 if (test_ != nullptr) { in TransformChildren() 29 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 30 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 31 test_ = transformedNode->AsExpression(); in TransformChildren() 45 if (test_ != nullptr) { in Iterate() 46 cb(test_); in Iterate() 56 dumper->Add({{"type", "SwitchCase"}, {"test", AstDumper::Nullish(test_)}, {"consequent", consequent_}}); in Dump() 61 if (test_ != nullptr) { in Dump() 63 test_ in Dump() [all...] |
H A D | assertStatement.cpp | 31 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 32 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 33 test_ = transformedNode->AsExpression(); in TransformChildren() 46 cb(test_); in Iterate() 55 dumper->Add({{"type", "AssertStatement"}, {"test", test_}, {"second", AstDumper::Nullish(second_)}}); in Dump() 60 ASSERT(test_); in Dump() 62 test_->Dump(dumper); in Dump()
|
H A D | doWhileStatement.cpp | 36 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 37 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 38 test_ = transformedNode->AsExpression(); in TransformChildren() 45 cb(test_); in Iterate() 50 dumper->Add({{"type", "DoWhileStatement"}, {"body", body_}, {"test", test_}}); in Dump() 65 if (test_ != nullptr) { in Dump() 66 test_->Dump(dumper); in Dump()
|
H A D | whileStatement.cpp | 31 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 32 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 33 test_ = transformedNode->AsExpression(); in TransformChildren() 44 cb(test_); in Iterate() 50 dumper->Add({{"type", "WhileStatement"}, {"test", test_}, {"body", body_}}); in Dump() 56 if (test_ != nullptr) { in Dump() 57 test_->Dump(dumper); in Dump()
|
H A D | forUpdateStatement.cpp | 37 if (test_ != nullptr) { in TransformChildren() 38 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 39 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 40 test_ = transformedNode->AsExpression(); in TransformChildren() 62 if (test_ != nullptr) { in Iterate() 63 cb(test_); in Iterate() 76 {"test", AstDumper::Nullish(test_)}, in Dump() 89 if (test_ != nullptr) { in Dump() 90 test_ in Dump() [all...] |
H A D | ifStatement.cpp | 27 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 28 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 29 test_ = transformedNode->AsExpression(); in TransformChildren() 47 cb(test_); in Iterate() 58 {"test", test_}, in Dump() 65 ASSERT(test_); in Dump() 67 test_->Dump(dumper); in Dump() 115 auto *const test = test_->Clone(allocator, nullptr)->AsExpression(); in Clone()
|
H A D | assertStatement.h | 31 : Statement(AstNodeType::ASSERT_STATEMENT), test_(test), second_(second) in AssertStatement() 39 return test_; in Test() 44 return test_; in Test() 67 Expression *test_; member in ark::es2panda::ark::es2panda::ir::AssertStatement
|
H A D | doWhileStatement.h | 31 : LoopStatement(AstNodeType::DO_WHILE_STATEMENT), body_(body), test_(test) in DoWhileStatement() 47 return test_; in Test() 52 return test_; in Test() 72 Expression *test_; member in ark::es2panda::ark::es2panda::ir::DoWhileStatement
|
H A D | whileStatement.h | 31 : LoopStatement(AstNodeType::WHILE_STATEMENT), test_(test), body_(body) in WhileStatement() 37 return test_; in Test() 42 return test_; in Test() 71 Expression *test_; member in ark::es2panda::ark::es2panda::ir::WhileStatement
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | conditionalExpression.cpp | 27 cb(test_); in Iterate() 35 {{"type", "ConditionalExpression"}, {"test", test_}, {"consequent", consequent_}, {"alternate", alternate_}}); in Dump() 43 compiler::Condition::Compile(pg, test_, falseLabel); in Compile() 53 checker::Type *testType = test_->Check(checker); in Check() 55 checker->CheckTruthinessOfType(testType, test_->Start()); in Check() 56 checker->CheckTestingKnownTruthyCallableOrAwaitableType(test_, testType, consequent_); in Check() 66 test_ = std::get<ir::AstNode *>(cb(test_))->AsExpression(); in UpdateSelf()
|
H A D | conditionalExpression.h | 35 : Expression(AstNodeType::CONDITIONAL_EXPRESSION), test_(test), consequent_(consequent), alternate_(alternate) in ConditionalExpression() 41 return test_; in Test() 46 return test_; in Test() 61 test_ = test; in SetTest() 71 Expression *test_; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::ConditionalExpression
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | switchCaseStatement.cpp | 25 if (test_) { in Iterate() 26 cb(test_); in Iterate() 36 dumper->Add({{"type", "SwitchCase"}, {"test", AstDumper::Nullable(test_)}, {"consequent", consequent_}}); in Dump() 48 if (test_) { in UpdateSelf() 49 test_ = std::get<ir::AstNode *>(cb(test_))->AsExpression(); in UpdateSelf()
|
H A D | forUpdateStatement.cpp | 36 if (test_) { in Iterate() 37 cb(test_); in Iterate() 50 {"test", AstDumper::Nullable(test_)}, in Dump() 70 if (test_) { in Compile() 71 compiler::Condition::Compile(pg, test_, labelTarget.BreakTarget()); in Compile() 95 if (test_) { in Check() 96 checker::Type *testType = test_->Check(checker); in Check() 118 if (test_) { in UpdateSelf() 119 test_ = std::get<ir::AstNode *>(cb(test_)) in UpdateSelf() [all...] |
H A D | whileStatement.cpp | 32 cb(test_); in Iterate() 38 dumper->Add({{"type", "WhileStatement"}, {"test", test_}, {"body", body_}}); in Dump() 46 compiler::Condition::Compile(pg, test_, labelTarget.BreakTarget()); in Compile() 61 checker::Type *testType = test_->Check(checker); in Check() 71 test_ = std::get<ir::AstNode *>(cb(test_))->AsExpression(); in UpdateSelf()
|
H A D | ifStatement.cpp | 29 cb(test_); in Iterate() 40 {"test", test_}, in Dump() 50 compiler::Condition::Compile(pg, test_, consequentEnd); in Compile() 66 checker::Type *testType = test_->Check(checker); in Check() 68 checker->CheckTestingKnownTruthyCallableOrAwaitableType(test_, testType, consequent_); in Check() 81 test_ = std::get<ir::AstNode *>(cb(test_))->AsExpression(); in UpdateSelf()
|
H A D | doWhileStatement.cpp | 32 cb(test_); in Iterate() 37 dumper->Add({{"type", "DoWhileStatement"}, {"body", body_}, {"test", test_}}); in Dump() 63 checker::Type *testType = test_->Check(checker); in Check() 76 test_ = std::get<ir::AstNode *>(cb(test_))->AsExpression(); in UpdateSelf()
|
H A D | whileStatement.h | 41 : LoopStatement(AstNodeType::WHILE_STATEMENT, scope), test_(test), body_(body) in WhileStatement() 47 return test_; in Test() 52 return test_; in Test() 72 Expression *test_; member in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::WhileStatement
|
H A D | doWhileStatement.h | 41 : LoopStatement(AstNodeType::DO_WHILE_STATEMENT, scope), body_(body), test_(test) in DoWhileStatement() 57 return test_; in Test() 62 return test_; in Test() 73 Expression *test_; member in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::DoWhileStatement
|
/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | conditionalExpression.cpp | 27 if (auto *transformedNode = cb(test_); test_ != transformedNode) { in TransformChildren() 28 test_->SetTransformedNode(transformationName, transformedNode); in TransformChildren() 29 test_ = transformedNode->AsExpression(); in TransformChildren() 45 cb(test_); in Iterate() 53 {{"type", "ConditionalExpression"}, {"test", test_}, {"consequent", consequent_}, {"alternate", alternate_}}); in Dump() 58 ASSERT(test_ != nullptr); in Dump() 60 test_->Dump(dumper); in Dump() 98 auto *const test = test_->Clone(allocator, nullptr)->AsExpression(); in Clone()
|
H A D | conditionalExpression.h | 36 : Expression(AstNodeType::CONDITIONAL_EXPRESSION), test_(test), consequent_(consequent), alternate_(alternate) in ConditionalExpression() 42 return test_; 47 return test_; 52 test_ = expr; 53 test_->SetParent(this); 109 Expression *test_; member in ark::es2panda::ark::es2panda::ir::ConditionalExpression
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | assertStatementBuilder.h | 31 test_ = test; in SetTest() 43 auto *node = AllocNode(test_, second_); in Build() 48 Expression *test_ {};
|