KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_text_eval_parser_integration.cpp File Reference

Integration tests for text_eval_parser functionality including real-world scenarios. More...

#include <qa_utils/file_utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <common.h>
#include <git/git_backend.h>
#include <git/kicad_git_memory.h>
#include <git/libgit_backend.h>
#include <git/project_git_utils.h>
#include <text_eval/text_eval_environment.h>
#include <text_eval/text_eval_vcs.h>
#include <text_eval/text_eval_wrapper.h>
#include <title_block.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <fmt/ranges.h>
#include <chrono>
#include <regex>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (VcsNativeProjectContextPaths)
 Declare the test suite.
 
 BOOST_AUTO_TEST_CASE (EnvironmentFrameCapturesDynamicSources)
 
 BOOST_AUTO_TEST_CASE (RealWorldScenarios)
 Test real-world expression scenarios.
 
 BOOST_AUTO_TEST_CASE (CallbackVariableResolution)
 Test callback-based variable resolution.
 
 BOOST_AUTO_TEST_CASE (ThreadSafety)
 Test concurrent/thread safety (basic test)
 
 BOOST_AUTO_TEST_CASE (MemoryManagement)
 Test memory management and large expressions.
 
 BOOST_AUTO_TEST_CASE (ParsingEdgeCases)
 Test edge cases in parsing and evaluation.
 
 BOOST_AUTO_TEST_CASE (RealWorldPerformance)
 Test performance with realistic workloads.
 

Detailed Description

Integration tests for text_eval_parser functionality including real-world scenarios.

Definition in file test_text_eval_parser_integration.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( CallbackVariableResolution )

◆ BOOST_AUTO_TEST_CASE() [2/8]

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( MemoryManagement )

Test memory management and large expressions.

Definition at line 452 of file test_text_eval_parser_integration.cpp.

References BOOST_CHECK_EQUAL(), EXPRESSION_EVALUATOR::Evaluate(), EXPRESSION_EVALUATOR::HasErrors(), and result.

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( ParsingEdgeCases )

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( RealWorldPerformance )

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( RealWorldScenarios )

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( ThreadSafety )

Test concurrent/thread safety (basic test)

Definition at line 424 of file test_text_eval_parser_integration.cpp.

References actual, expected, and result.

◆ BOOST_AUTO_TEST_CASE() [8/8]