mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibTest+Spreadsheet: Add some basic spreadsheet runtime behaviour tests
As there's a somewhat active development going on, let's keep the expected behaviour under tests to make sure nothing blows up :^)
This commit is contained in:
parent
0fe97cdfe4
commit
bed129a69f
13 changed files with 578 additions and 12 deletions
|
@ -625,6 +625,19 @@ if (BUILD_LAGOM)
|
|||
lagom_test(../../Tests/LibJS/test-invalid-unicode-js.cpp LIBS LagomJS)
|
||||
lagom_test(../../Tests/LibJS/test-bytecode-js.cpp LIBS LagomJS)
|
||||
|
||||
# Spreadsheet
|
||||
add_executable(test-spreadsheet_lagom
|
||||
../../Tests/Spreadsheet/test-spreadsheet.cpp
|
||||
../../Userland/Libraries/LibTest/JavaScriptTestRunnerMain.cpp)
|
||||
set_target_properties(test-spreadsheet_lagom PROPERTIES OUTPUT_NAME test-spreadsheet)
|
||||
target_link_libraries(test-spreadsheet_lagom LagomCore LagomTest LagomJS)
|
||||
add_test(
|
||||
NAME Spreadsheet
|
||||
COMMAND test-spreadsheet_lagom --show-progress=false
|
||||
)
|
||||
set_tests_properties(Spreadsheet PROPERTIES ENVIRONMENT SERENITY_SOURCE_DIR=${SERENITY_PROJECT_ROOT})
|
||||
|
||||
|
||||
# Markdown
|
||||
include(commonmark_spec)
|
||||
file(GLOB LIBMARKDOWN_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibMarkdown/*.cpp")
|
||||
|
|
|
@ -165,6 +165,7 @@ cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibCpp/Tests/parser mnt/home/ano
|
|||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibCpp/Tests/preprocessor mnt/home/anon/cpp-tests/preprocessor
|
||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibWasm/Tests mnt/home/anon/wasm-tests
|
||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Libraries/LibJS/Tests/test-common.js mnt/home/anon/wasm-tests
|
||||
cp -r "$SERENITY_SOURCE_DIR"/Userland/Applications/Spreadsheet/Tests mnt/home/anon/spreadsheet-tests
|
||||
|
||||
if [ -n "$SERENITY_COPY_SOURCE" ] ; then
|
||||
printf "\ncopying Serenity's source... "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue