39 EXPECT(PortMap::PortExists(port1));
40 EXPECT(PortMap::PortExists(port2));
43 EXPECT_NE(port1, port2);
46 EXPECT(!PortMap::PortExists(port1));
47 EXPECT(PortMap::PortExists(port2));
50 EXPECT(!PortMap::PortExists(port1));
51 EXPECT(!PortMap::PortExists(port2));
58 EXPECT(PortMap::PortExists(port1));
59 EXPECT(PortMap::PortExists(port2));
63 EXPECT(!PortMap::PortExists(port1));
64 EXPECT(!PortMap::PortExists(port2));
69 for (
int i = 0;
i < 32;
i++) {
83 intptr_t message_len = strlen(
message) + 1;
127 intptr_t message_len = strlen(
message) + 1;
static std::unique_ptr< Message > New(Args &&... args)
static bool PostMessage(std::unique_ptr< Message > message, bool before_events=false)
static bool ClosePort(Dart_Port id, MessageHandler **message_handler=nullptr)
static void ClosePorts(MessageHandler *handler)
static Dart_Port CreatePort(MessageHandler *handler)
void MessageNotify(Message::Priority priority)
MessageStatus HandleMessage(std::unique_ptr< Message > message)
static SmiPtr New(intptr_t value)
static char * StrDup(const char *s)
TEST_CASE(DirectoryCurrent)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service port