From 8808078903ee040c92aeaaf20783cad8c3b98ca3 Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Thu, 16 Jan 2025 15:53:52 +0300 Subject: [PATCH] Proper BOUND state in the playground Signed-off-by: Alexander Gorshenev --- arkoala-arkts/libarkts/.gitlab-ci.yml | 2 +- arkoala-arkts/libarkts/playground/src/playground.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arkoala-arkts/libarkts/.gitlab-ci.yml b/arkoala-arkts/libarkts/.gitlab-ci.yml index ec5347684..b372a809e 100644 --- a/arkoala-arkts/libarkts/.gitlab-ci.yml +++ b/arkoala-arkts/libarkts/.gitlab-ci.yml @@ -56,7 +56,7 @@ test example arkts-plugin: - install node modules (incremental) - install node modules (interop) -test playground: +test libarkts playground: interruptible: true stage: test extends: .linux-vm-shell-task diff --git a/arkoala-arkts/libarkts/playground/src/playground.cc b/arkoala-arkts/libarkts/playground/src/playground.cc index 405a03829..0ed406401 100644 --- a/arkoala-arkts/libarkts/playground/src/playground.cc +++ b/arkoala-arkts/libarkts/playground/src/playground.cc @@ -62,14 +62,14 @@ int main() { test(context); - GetImpl()->ProceedToState(context, ES2PANDA_STATE_SCOPE_INITED); + GetImpl()->ProceedToState(context, ES2PANDA_STATE_BOUND); if(GetImpl()->ContextState(context) == ES2PANDA_STATE_ERROR) { - std::cout << "PROCEED TO SCOPE INITED ERROR" << std::endl; + std::cout << "PROCEED TO BOUND ERROR" << std::endl; std::cout << GetImpl()->ContextErrorMessage(context) << std::endl; } else { - std::cout << "PROCEED TO SCOPE INITED SUCCESS" << std::endl; + std::cout << "PROCEED TO BOUND SUCCESS" << std::endl; } GetImpl()->ProceedToState(context, ES2PANDA_STATE_CHECKED); -- Gitee