Add tests for ChatMarkdownHelper and rework how formats are applied to make it more robust.

This commit is contained in:
James Graham
2025-12-27 13:24:26 +00:00
parent f31e9062e6
commit 45163944d0
13 changed files with 463 additions and 167 deletions

View File

@@ -120,7 +120,10 @@ macro(add_qml_tests)
endforeach()
endmacro()
add_executable(qmltest qmltest.cpp qmltextitemwrappertestwrapper.h)
add_executable(qmltest qmltest.cpp
chatmarkdownhelpertestwrapper.h
qmltextitemwrappertestwrapper.h
)
qt_add_qml_module(qmltest URI NeoChatTestUtils)
target_link_libraries(qmltest
@@ -133,5 +136,6 @@ target_link_libraries(qmltest
add_qml_tests(
chatdocumenthelpertest.qml
chatmarkdownhelpertest.qml
qmltextitemwrappertest.qml
)