| 1408 | } |
| 1409 | |
| 1410 | void 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 |
no test coverage detected