|
wxMaxima
|
Tests that the worksheet tells its owner when something needs the user's attention, and when that is over. More...
#include <wx/app.h>#include <wx/bitmap.h>#include <wx/dcmemory.h>#include <wx/frame.h>#include <wx/log.h>#include "Configuration.h"#include "worksheet/Worksheet.h"#include <vector>#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("A notification asks for attention until it is cleared") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Tests that the worksheet tells its owner when something needs the user's attention, and when that is over.
The tray icon is shown only while this is the case (see TrayIcon), so a notification that is raised without the callback firing would leave the icon hidden when it is needed, and a missing "cleared" call would leave it in the tray forever.