fix: Refactor test command handling with modular structure and common utilities
- Added new `test_common` module with helper functions for prompting and input handling. - Introduced `test_common.cc` and `test_common.h` for shared functionality across test commands. - Updated `z3ed.cmake` to include `test_common` in the build process. - Refactored `test_commands.cc` to utilize new common utilities for improved readability and maintainability. - Adjusted paths for source files in the build configuration to ensure proper linking. This commit lays the groundwork for a more organized and modular approach to handling test commands, facilitating future enhancements and maintenance.
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#include "absl/strings/strip.h"
|
||||
|
||||
#ifdef YAZE_WITH_JSON
|
||||
#include "incl/httplib.h"
|
||||
#include "third_party/json/src/json.hpp"
|
||||
#include "httplib.h"
|
||||
#include "nlohmann/json.hpp"
|
||||
#endif
|
||||
|
||||
namespace yaze {
|
||||
|
||||
Reference in New Issue
Block a user