29#if defined(OS_FUCHSIA) && (FLUTTER_RUNTIME_MODE != FLUTTER_RUNTIME_MODE_DEBUG)
30 GTEST_SKIP() <<
"Dart_LoadELF is not implemented on Fuchsia.";
34 std::vector<std::string> messages;
41 Dart_GetNativeArgument(
args, 0));
46 auto settings = CreateSettingsForFixture();
47 auto did_throw_exception =
false;
48 settings.unhandled_exception_callback = [&](
const std::string&
error,
49 const std::string& stack_trace) {
50 did_throw_exception =
true;
55 auto thread = CreateNewThread();
73 ASSERT_EQ(messages.size(), 1u);
74 ASSERT_EQ(messages[0],
"main() was called");
75 ASSERT_FALSE(did_throw_exception);
const uint8_t uint32_t uint32_t GError ** error
std::unique_ptr< AutoIsolateShutdown > RunDartCodeInIsolate(DartVMRef &vm_ref, const Settings &settings, const TaskRunners &task_runners, std::string entrypoint, const std::vector< std::string > &args, const std::string &kernel_file_path, fml::WeakPtr< IOManager > io_manager, std::unique_ptr< PlatformConfiguration > platform_configuration)