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_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_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_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_ButtonWrapSizer.cpp
 Regression tests for Buttonwrapsizer (the Greek/symbol sidebars' wrap sizer).
 
file  test_ConfigRoundtrip.cpp
 Round-trip regression test for the mechanical scalar configuration settings.
 
file  test_DiffScrollSync.cpp
 Unit tests for the diff viewer's scroll-synchronization geometry (ComputeSyncedScrollY).
 
file  test_EditorCellBidi.cpp
 What the caret, click-to-position and arrow keys do inside bidirectional text.
 
file  test_EditorCellInvariants.cpp
 Hardening tests for EditorCell's text-editing core.
 
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_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_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_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_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_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_StyleConfigRoundtrip.cpp
 Round-trip regression test for the worksheet text styles.
 
file  test_TableOfContentsDnD.cpp
 Regression tests for the table of contents sidebar's drag-and-drop reorder (GH #1524).
 
file  test_TreeUndo.cpp
 Regression tests for the worksheet's cell-tree undo/redo (the TreeUndo_* subsystem of Worksheet).
 
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_WorksheetSizeMath.cpp
 Unit tests for the worksheet's virtual-size arithmetic (ComputeWorksheetVirtualSize).
 
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).