Reorganize

Test-only code to tests
Rename interface to CommitRequestParser
This commit is contained in:
2025-08-18 06:38:18 -04:00
parent 34b5de1744
commit b5cb4d2a81
7 changed files with 4 additions and 6 deletions

View File

@@ -110,12 +110,12 @@ target_include_directories(test_arena_allocator PRIVATE src)
add_executable(
test_commit_request
tests/test_commit_request.cpp src/json_commit_request_parser.cpp
src/nlohmann_reference_parser.cpp src/parser_comparison.cpp
tests/nlohmann_reference_parser.cpp tests/parser_comparison.cpp
src/arena_allocator.cpp ${CMAKE_BINARY_DIR}/json_tokens.cpp)
add_dependencies(test_commit_request generate_json_tokens)
target_link_libraries(test_commit_request doctest::doctest weaseljson test_data
nlohmann_json::nlohmann_json simdutf::simdutf)
target_include_directories(test_commit_request PRIVATE src)
target_include_directories(test_commit_request PRIVATE src tests)
add_executable(bench_arena_allocator benchmarks/bench_arena_allocator.cpp
src/arena_allocator.cpp)