feat: implement Phase 2 test structure and modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
This commit is contained in:
1
src/tests/common/is_binary_tests.rs
Normal file
1
src/tests/common/is_binary_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Common is_binary tests
|
||||||
@@ -1 +1,6 @@
|
|||||||
// Common test utilities and shared test code will go here
|
// Common test utilities and shared test code will go here
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod is_binary_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod status_tests;
|
||||||
|
|||||||
1
src/tests/common/status_tests.rs
Normal file
1
src/tests/common/status_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Common status tests
|
||||||
4
src/tests/compression_engine/mod.rs
Normal file
4
src/tests/compression_engine/mod.rs
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
// Compression engine tests module
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod program_tests;
|
||||||
1
src/tests/compression_engine/program_tests.rs
Normal file
1
src/tests/compression_engine/program_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Compression engine program tests
|
||||||
1
src/tests/db/item_tests.rs
Normal file
1
src/tests/db/item_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Database item tests
|
||||||
1
src/tests/db/meta_tests.rs
Normal file
1
src/tests/db/meta_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Database meta tests
|
||||||
8
src/tests/db/mod.rs
Normal file
8
src/tests/db/mod.rs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Database tests module
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod item_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod tag_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod meta_tests;
|
||||||
1
src/tests/db/tag_tests.rs
Normal file
1
src/tests/db/tag_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Database tag tests
|
||||||
1
src/tests/meta_plugin/digest_tests.rs
Normal file
1
src/tests/meta_plugin/digest_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Meta plugin digest tests
|
||||||
8
src/tests/meta_plugin/mod.rs
Normal file
8
src/tests/meta_plugin/mod.rs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Meta plugin tests module
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod system_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod digest_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod program_tests;
|
||||||
1
src/tests/meta_plugin/program_tests.rs
Normal file
1
src/tests/meta_plugin/program_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Meta plugin program tests
|
||||||
1
src/tests/meta_plugin/system_tests.rs
Normal file
1
src/tests/meta_plugin/system_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Meta plugin system tests
|
||||||
@@ -12,3 +12,5 @@ pub mod modes;
|
|||||||
pub mod server;
|
pub mod server;
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub mod common;
|
pub mod common;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod db;
|
||||||
|
|||||||
1
src/tests/modes/delete_tests.rs
Normal file
1
src/tests/modes/delete_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes delete tests
|
||||||
1
src/tests/modes/diff_tests.rs
Normal file
1
src/tests/modes/diff_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes diff tests
|
||||||
1
src/tests/modes/get_tests.rs
Normal file
1
src/tests/modes/get_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes get tests
|
||||||
1
src/tests/modes/info_tests.rs
Normal file
1
src/tests/modes/info_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes info tests
|
||||||
1
src/tests/modes/list_tests.rs
Normal file
1
src/tests/modes/list_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes list tests
|
||||||
18
src/tests/modes/mod.rs
Normal file
18
src/tests/modes/mod.rs
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
// Modes tests module
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod save_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod get_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod list_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod delete_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod update_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod info_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod status_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod diff_tests;
|
||||||
1
src/tests/modes/save_tests.rs
Normal file
1
src/tests/modes/save_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes save tests
|
||||||
1
src/tests/modes/status_tests.rs
Normal file
1
src/tests/modes/status_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes status tests
|
||||||
1
src/tests/modes/update_tests.rs
Normal file
1
src/tests/modes/update_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Modes update tests
|
||||||
1
src/tests/server/api_tests.rs
Normal file
1
src/tests/server/api_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Server API tests
|
||||||
1
src/tests/server/auth_tests.rs
Normal file
1
src/tests/server/auth_tests.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
// Server authentication tests
|
||||||
6
src/tests/server/mod.rs
Normal file
6
src/tests/server/mod.rs
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
// Server tests module
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod api_tests;
|
||||||
|
#[cfg(test)]
|
||||||
|
pub mod auth_tests;
|
||||||
Reference in New Issue
Block a user