Skip to content

Commit 8bb7c2b

Browse files
killfclaude
andcommitted
refactor(tests): 调整测试目录结构与源码对齐
- tests/bus/ → tests/agent/ (bus_test, channel_test 合并到 agent) - tests/qrcode/ → tests/tui/qrcode/ (qrcode 源码在 src/tui/qrcode/) - tests/core/net/tls/crypto/ → tests/core/crypto/ (crypto 源码在 src/core/crypto/) - 新增 tests/core/net/tls/tls13/ (对应 src/core/net/tls/tls13/) - 新增 tests/core/log/ (对应 src/core/log/) - 新增 tests/llm/ (对应 src/llm/) Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 3e62c9d commit 8bb7c2b

22 files changed

Lines changed: 36 additions & 27 deletions

tests/agent/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
mod bus_test;
2+
mod channel_test;
13
mod llm_stream_test;
24
mod message_test;
35
mod prompt_test;

tests/bus/mod.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/core/crypto/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
mod md5_test;
1+
// Crypto test module root
2+
3+
pub mod aes_gcm_test;
4+
pub mod sha256_test;
5+
pub mod x25519_test;

tests/core/log/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Core log tests

tests/core/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ mod bigint_test;
33
mod crypto;
44
mod encoding;
55
mod jsonrpc_test;
6+
mod log;
67
mod net;
78
mod runtime;
89
mod sync_test;

0 commit comments

Comments
 (0)