-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Add tests for data storage #21
Merged
Merged
Changes from 17 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
33a1940
test: Add basic unit test structure and cmake for test
sitaowang1998 cc2ab9a
test: Add test source files into clang-tidy check
sitaowang1998 af9212b
test: Suppress clang-tidy check for catch2 generated code
sitaowang1998 2ae4779
Merge branch 'main' into storage_test
sitaowang1998 6be29b2
style: Add back quote for table and column name in sql
sitaowang1998 9e493bd
fix: Add parenthesis around key columns
sitaowang1998 469406a
test: Add basic test structure and fix table initialization sql
sitaowang1998 273a6e0
fix: Pass in char const* to sql::bytes constructor instead of char *.
sitaowang1998 521889b
fix: Add sql::ResultSet::next before accessing element
sitaowang1998 e1b8a63
fix: Check null value for get_data
sitaowang1998 d58b8b1
feat: Add remove_data in data storage and tests
sitaowang1998 044ce09
test: Add data with key test and fix the table creation order for for…
sitaowang1998 b0232a1
ci: Add test files into lint and format the test files
sitaowang1998 eedaab0
Merge branch 'main' into datastorage_test
sitaowang1998 52a1e17
fix: Fix typo in quote in sql
sitaowang1998 e9e5e40
test: Add test for data reference and add job in metadata storage
sitaowang1998 1f1445b
style: Fix lint check
sitaowang1998 67f108a
style: Improvde code style based on code rabbit suggestion
sitaowang1998 4322f85
style: Fix typo in comment
sitaowang1998 e15cf1f
build: Fix mariadb-conector-cpp include interface
sitaowang1998 47feb1e
build: Install libmariadb using package manager and build libmariadb …
sitaowang1998 dac1f75
build: Move apt install libmariadb-dev to install-lib from install-dev
sitaowang1998 7c3adbe
build: Use sudo to apt-get
sitaowang1998 8d40803
build: Use sudo to apt-get
sitaowang1998 0ae30cc
docs: Add doc for setup and running unit tests
sitaowang1998 1e3f1c5
docs: Fix typo
sitaowang1998 b939195
docs: Improve testing doc based on pr reviews
sitaowang1998 5929c68
docs: Improve testing doc based on pr reviews
sitaowang1998 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Library type should be explicitly defined
The removal of static/shared configuration in
src/spider/CMakeLists.txt
conflicts with the project-wide build configuration. The mainCMakeLists.txt
still manages theSPIDER_USE_STATIC_LIBS
option which affects multiple dependencies (Boost, spdlog) and has platform-specific handling. The library type should be explicitly set based on this global setting.src/spider/CMakeLists.txt
, restore the conditional library type:🔗 Analysis chain
Consider preserving build flexibility
The removal of the static/shared library condition might limit build configuration options. Was this intentional?
Let me check the content of these CMake files to better understand the library configuration.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 332
Script:
Length of output: 4035