MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / sendShutdownRequest

Function sendShutdownRequest

test/MapSavingLoading.cpp:1410–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1408}
1409
1410void sendShutdownRequest(bool expectDenial)
1411{
1412 // Send the shutdown request, the Map Module should be receiving this
1413 radiant::ApplicationShutdownRequest request;
1414 GlobalRadiantCore().getMessageBus().sendMessage(request);
1415
1416 EXPECT_EQ(expectDenial, request.isDenied()) << "Shutdown Request denial flag has unexpected value";
1417}
1418
1419}
1420

Callers 1

TEST_FFunction · 0.85

Calls 2

sendMessageMethod · 0.80
isDeniedMethod · 0.45

Tested by

no test coverage detected