#include "include/v8-context.h"
#include "include/v8-exception.h"
#include "include/v8-isolate.h"
#include "include/v8-local-handle.h"
#include "include/v8-persistent-handle.h"
#include "include/v8-template.h"
#include "src/flags/flags.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace {
class APIExceptionTest : public TestWithIsolate { … };
class V8_NODISCARD ScopedExposeGc { … };
TEST_F(APIExceptionTest, ExceptionMessageDoesNotKeepContextAlive) { … }
TEST_F(APIExceptionTest, TryCatchCustomException) { … }
class TryCatchNestedTest : public TestWithIsolate { … };
TEST_F(TryCatchNestedTest, TryCatchNested) { … }
TEST_F(APIExceptionTest, TryCatchFinallyUsingTryCatchHandler) { … }
TEST_F(APIExceptionTest, TryFinallyMessage) { … }
TEST_F(APIExceptionTest, TryCatchInTryFinally) { … }
TEST_F(APIExceptionTest, TryCatchFinallyStoresMessageUsingTryCatchHandler) { … }
}
}