wxMaxima
Loading...
Searching...
No Matches
unit_tests Directory Reference
Directory dependency graph for unit_tests:

Files

file  test_Accessibility.cpp
 Logic-level regression tests for wxMaxima's custom wxAccessible classes.
 
file  test_AdaptiveSplitter.cpp
 Tests for AdaptiveSplitter, the splitter between the configuration dialog's style settings and its sample worksheet.
 
file  test_AiProvider.cpp
 Pins each AiProvider's request/response shape – the stateless half of AiProvider (BuildRequestBody()/ParseReply(), pure JSON in and out, see AiProvider.h for why this split exists).
 
file  test_AnonymizeCodeCells.cpp
 Pins Worksheet::AnonymizeCodeCells() (GH #1339): replacing every non-builtin variable/function name in the selected code cells with a random, collision-free, reproducible-within-the-run replacement, leaving Maxima builtins, the tokenizer's hardcoded keywords (for/then/do/...), string/number literals and non-code cells untouched, all as one undo step.
 
file  test_ArtProviderSizeHint.cpp
 Regression test for GH #2483: wxMaxima built against wxQt 3.2 aborted on startup.
 
file  test_AsciiArtLinel.cpp
 Tests for Configuration::GetAsciiArtColumns(), which tells Maxima's own ASCII-art 2D/1D printer ($linel, see MaximaEvaluator::LinelConfigCommand()) how many columns of the worksheet's monospace ASCII-math font (TS_ASCIIMATHS) currently fit into the window (#1608).
 
file  test_AuiPerspectiveRepair.cpp
 Tests RepairAuiPerspective(), which makes a stored wxAUI layout safe to load.
 
file  test_Autocomplete.cpp
 The directory-scanning half of the bash-like file-name completion: file arguments of openr()/read_matrix()/load()/demo()/... complete against the directory the partial file name currently points into, descending level by level as the partial acquires directory components (the popup calls AutoComplete::UpdateFiles() on every boundary change).
 
file  test_BrokenCellsToTeX.cpp
 Pins that LaTeX export ignores how the worksheet happened to break a wide expression into lines (GH #408).
 
file  test_ButtonWrapSizer.cpp
 Regression tests for Buttonwrapsizer (the Greek/symbol sidebars' wrap sizer).
 
file  test_ConfigDialogueStyles.cpp
 The configuration dialog's style editor edits the style that was clicked (GH #2527).
 
file  test_ConfigRoundtrip.cpp
 Round-trip regression test for the mechanical scalar configuration settings.
 
file  test_DiffFrameConfig.cpp
 Closing the diff viewer must leave the config file alone (GH #2356).
 
file  test_DiffFrameEditing.cpp
 Copying from and searching in the diff viewer.
 
file  test_DiffScrollSync.cpp
 Unit tests for the diff viewer's scroll-synchronization geometry (ComputeSyncedScrollY).
 
file  test_DigitGrouping.cpp
 Tests wxm::DigitGroupGaps(), which decides where a number displayed in the worksheet gets the small gaps between its digit groups (GH #192).
 
file  test_EditorCellBidi.cpp
 What the caret, click-to-position and arrow keys do inside bidirectional text.
 
file  test_EditorCellDigitGroups.cpp
 Tests the gaps between digit groups of numbers in code cells (GH #192).
 
file  test_EditorCellErrorMarks.cpp
 Tests the marks a code cell shows where Maxima reported an error (GH #289): the statement that failed, and in it the place a syntax error was found at.
 
file  test_EditorCellEscapedParens.cpp
 Tests that the code editor treats a backslash-escaped bracket or quote as an ordinary character (GH #528).
 
file  test_EditorCellFormat.cpp
 What the toolbar's bold/italic/... buttons do to a text cell (GH #492): formatting a selection, switching a format on for what is typed next, undoing it, and that the formatted text is laid out in the formatted font.
 
file  test_EditorCellInvariants.cpp
 Hardening tests for EditorCell's text-editing core.
 
file  test_EditorCellLinks.cpp
 
file  test_EditorCellTabs.cpp
 Tests for real tab-character ('\t') support inside EditorCell.
 
file  test_EditorCellWrapping.cpp
 Tests for automatic line-wrapping inside EditorCells.
 
file  test_EvalQueueCommands.cpp
 Command-level behavior of the EvaluationQueue: how a GroupCell's input is broken into the individual commands that are sent to maxima one at a time, and how the queue advances from cell to cell.
 
file  test_FloatingPaneHeight.cpp
 Tests for LimitFloatingPaneHeight().
 
file  test_GreekSidebar.cpp
 Regression test for the Greek sidebar's line wrapping.
 
file  test_GroupCellLayout.cpp
 Regression tests for the GroupCell <-> EditorCell layout coupling.
 
file  test_HelpBrowserDiagnosis.cpp
 Tests wxm::HelpBrowserDiagnosis() (GH #2481): that it says how wxMaxima was built, and, on Windows, which of the Edge backend's prerequisites it found.
 
file  test_ImgCell.h [code]
 
file  test_IntegralToTeX.cpp
 Pins the LaTeX export of an integral's "d" (GH #972): the "d" of "dx"/ "d\theta"/... must render upright (\mathrm{d}), not in math mode's default italic.
 
file  test_InterruptChannel.cpp
 Tests the channel wxMaxima interrupts Maxima through (GH #2289): the handshake that decides whether a connection may interrupt Maxima, and the channel itself over a real local socket, with the test playing Maxima's part.
 
file  test_LastActiveTextCtrl.cpp
 Regression test for BTextCtrl::LastActive(), the "which text control gets the sidebar symbols?" tracking.
 
file  test_LayoutInvariants.cpp
 Layout idempotency invariants.
 
file  test_LdbSupport.cpp
 Tests for the pure LDB-recognition helpers (LdbSupport).
 
file  test_MACRoundtrip.cpp
 Regression test for a plain .mac file surviving wxMaxima's open/save round-trip byte-for-byte, exercising the same code Worksheet::ExportToMAC() and MaximaFileIO::OpenMACFile() use (Format::TreeToWXM() with wxm=false and Format::ParseMACContents()).
 
file  test_ManualAnchors.cpp
 Unit test for MaximaManual's help-anchor parsing.
 
file  test_MatrixBlockSelection.cpp
 Selecting and copying a sub-matrix (GH #2345).
 
file  test_MatrixViewer.cpp
 The matrix viewer a double-click on an elided matrix opens (GH #2344).
 
file  test_MaximaMenuSync.cpp
 Regression test for MaximaMenuSync, the declarative variable-to-menu-items table that replaced a dozen hand-written VariableAction* handlers in the wxMaxima class.
 
file  test_MaximaProtocol.cpp
 Tests for the pure Maxima-protocol helpers (MaximaProtocol): classifying the <PROMPT> labels Maxima sends, and detecting commands that would put nothing but a bare newline on the wire.
 
file  test_MaximaTokenizer.cpp
 Regression tests for GH #898: an identifier split by an escaped newline ("\<newline>") used to be tokenized (and therefore syntax-highlighted) as two unrelated halves – the first not even classified at all (it fell through the function/variable/operator/keyword lookups entirely), the second starting over as if it were a brand new, independent identifier.
 
file  test_MaximaVariableUpdates.cpp
 Tests for ParseMaximaVariableUpdates(), the GUI-free parser for the <variables> XML documents Maxima sends (extracted from wxMaxima::ReadVariables so the parsing is unit-testable).
 
file  test_McpTools.cpp
 Pins McpTools (the MCP server's read-only "worksheet context" tools, src/mcp/McpTools.h) against a real, headless Worksheet/Variablespane – no live Maxima, no sockets, no JSON-RPC framing (that's McpServer's job, and it was instead verified live in a real Xvfb session with curl, see AGENTS.md's MCP server entry).
 
file  test_MenuHelpString.cpp
 Regression test for MenuHelpString() (the status-bar menu-help lookup).
 
file  test_OutputKeyboardNavigation.cpp
 Reaching a cell's output with the keyboard (GH #2382).
 
file  test_PrimarySelectionPaste.cpp
 GH #794: a middle-click pastes the primary selection, not the Ctrl+C clipboard.
 
file  test_ProcessTree.cpp
 Tests DescendantPids(), which finds the Lisp that maxima.bat started so an interrupt can reach it on MS Windows (GH #2289).
 
file  test_RTFExport.cpp
 Regression coverage for RTF/OMML/MathML export (Cell::ToRTF()/ToOMML()/ ToMathML(), Cell::ListToRTF()/ListToOMML()/ListToMathML(), Cell::OMML2RTF()) – until now this path had no test coverage at all.
 
file  test_SaveAsDefaults.cpp
 Tests SaveAsDefaults(), what the "Save As" dialog starts out with (GH #2440).
 
file  test_StyleConfigRoundtrip.cpp
 Round-trip regression test for the worksheet text styles.
 
file  test_SvgSize.cpp
 Tests reading an SVG's own size from its root element.
 
file  test_SvgTextProbe.cpp
 Tests SvgBitmap::RendersText(), which decides whether plots may be SVG.
 
file  test_SyntaxErrorLocation.cpp
 Tests for SyntaxErrorLocation: finding the spot in a code cell Maxima's "incorrect syntax" message points at (GH #289).
 
file  test_TableOfContentsDnD.cpp
 Regression tests for the table of contents sidebar's drag-and-drop reorder (GH #1524).
 
file  test_TextBreaks.cpp
 Tests for wxm::SplitAtTextBreaks(): where a line of plain text Maxima sends may be broken into lines.
 
file  test_TextContinuation.cpp
 Tests for TextCell::SetTextContinuation(): a long line of plain text Maxima sends (a warning, an error, a status message) is split into one cell per piece wxm::SplitAtTextBreaks() returns, so the worksheet can break it into lines between them.
 
file  test_TextFormat.cpp
 Tests for TextFormat (GH #492): how the bold/italic/... formatting of a text cell follows an edit of its text, and how it is written to and read from the <line> elements of a .wxmx file.
 
file  test_ToolbarPane.cpp
 Tests SetToolbarPaneProperties(): the main toolbar's height must follow from its contents, not from the layout a previous session stored.
 
file  test_ToolBarRefresh.cpp
 Regression test: changing a toolbar button's state must repaint the toolbar.
 
file  test_ToolBarSections.cpp
 Tests for the reorderable sections of the main toolbar.
 
file  test_ToolBarUndoRedo.cpp
 Regression tests for which toolbar buttons are active.
 
file  test_TooltipMarkerColour.cpp
 The tint behind cells that have a mouse-over tooltip must leave their text readable on a light as well as on a dark background.
 
file  test_TrayIcon.cpp
 Regression test: the tray icon's menu items must work with an AppIndicator.
 
file  test_TreeUndo.cpp
 Regression tests for the worksheet's cell-tree undo/redo (the TreeUndo_* subsystem of Worksheet).
 
file  test_UrlDetection.cpp
 Tests for UrlDetection: where a link in a text cell starts and ends, which links may be opened, and that the exporters' placeholders round-trip (GH #2396).
 
file  test_WheelSteps.cpp
 Tests wxm::WheelSteps, which turns the small wheel events a touchpad or a high-resolution wheel sends (wxGTK on Wayland) into whole steps, so scrolling over a selected animation doesn't flick through a frame per event.
 
file  test_WizardHelpKeywords.cpp
 Which words of a wizard's command get a "Help on" button.
 
file  test_WorksheetClipboard.cpp
 Safety net for the multi-format clipboard / drag-and-drop payload of Worksheet.
 
file  test_WorksheetContextMenu.cpp
 Regression tests for the worksheet's right-click context menu.
 
file  test_WorksheetCursor.cpp
 Pins the worksheet's cursor model before it is gathered into a cursor class.
 
file  test_WorksheetEvalQueue.cpp
 Pins the worksheet's "add cells to the evaluation queue" behavior before the Add*ToEvaluationQueue family is extracted into WorksheetEvalQueue.
 
file  test_WorksheetExport.cpp
 Safety net for the export/serialization cluster of Worksheet.
 
file  test_WorksheetFind.cpp
 Pins the worksheet's find/replace behavior before the search engine is extracted into WorksheetSearch.
 
file  test_WorksheetLayout.cpp
 Headless tests for the full WorksheetLayout pipeline.
 
file  test_WorksheetPreview.cpp
 The sample worksheet the configuration dialog's "Worksheet" tab shows to preview what its display settings do.
 
file  test_WorksheetSizeMath.cpp
 Unit tests for the worksheet's virtual-size arithmetic (ComputeWorksheetVirtualSize).
 
file  test_WorksheetTeardown.cpp
 Events that reach a Worksheet while its wxWindow base is being destroyed.
 
file  test_wxMathMLCmd.cpp
 Tests wxMathML::GetCmd(), which squeezes wxMathML.lisp into the one line it is sent to Maxima as.
 
file  test_WxMaximaManualAnchors.cpp
 Tests for WxMaximaManualAnchors: the keywords context-sensitive help looks up in wxMaxima's own manual, and that every manual really has their anchors.
 
file  test_WXMRoundtrip.cpp
 Regression tests for images surviving the .wxm serialization round-trip.
 
file  test_WXMXRoundtrip.cpp
 Round-trip tests for the .wxmx content.xml (the MathML-like math format).