|
wxMaxima
|
Tests for the reorderable sections of the main toolbar. More...
#include <algorithm>#include <set>#include <wx/app.h>#include <wx/artprov.h>#include <wx/fileconf.h>#include <wx/frame.h>#include <wx/log.h>#include "ToolBar.h"#include "ToolBarSections.h"#include "dialogs/ToolBarSectionsPanel.h"#include "wxMaximaArtProvider.h"#include <catch2/catch.hpp>Data Structures | |
| class | TestApp |
Functions | |
| SCENARIO ("The stored order of the toolbar sections is read robustly") | |
| SCENARIO ("Separators go between sections that don't belong together") | |
| SCENARIO ("The toolbar shows its sections in the stored order") | |
| SCENARIO ("Evaluate current cell and Evaluate all have different icons") | |
| SCENARIO ("Every toolbar section can be hidden") | |
| SCENARIO ("The configuration dialogue's Toolbar tab reorders the sections") | |
| wxDECLARE_APP (TestApp) | |
| int | main (int argc, char **argv) |
Tests for the reorderable sections of the main toolbar.
Covers the stored order (ToolBarSections), the toolbar built from it (ToolBar::AddTools()) and the configuration dialogue's "Toolbar" tab (ToolBarSectionsPanel).