Lines Matching refs:scope
17 * Unit test for jerry-ext/handle-scope.
24 #include "jerryscript-ext/handle-scope.h"
44 jerryx_escapable_handle_scope scope;
45 jerryx_open_escapable_handle_scope (&scope);
57 TEST_ASSERT (jerryx_handle_scope_get_current () == scope);
61 jerryx_handle_scope_status status = jerryx_escape_handle (scope, obj, &escaped);
63 TEST_ASSERT (scope->prelist_handle_count == 0);
64 TEST_ASSERT (scope->handle_ptr == NULL);
66 jerryx_close_handle_scope (scope);
73 jerryx_handle_scope scope;
74 jerryx_open_handle_scope (&scope);
82 TEST_ASSERT (jerryx_handle_scope_get_current () == scope);
87 jerryx_close_handle_scope (scope);