File tree Expand file tree Collapse file tree 6 files changed +12
-15
lines changed
Expand file tree Collapse file tree 6 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 11pub mod tools;
22pub mod transport;
33
4- // Re-export key components for easier access
5- pub use tools:: DocRouter ;
Original file line number Diff line number Diff line change 11pub mod docs;
2- mod tests;
32
4- pub use docs:: DocRouter ;
3+ pub use docs:: DocRouter ;
4+
5+ #[ cfg( test) ]
6+ mod tests;
Original file line number Diff line number Diff line change 11use crate :: tools:: DocCache ;
2- use crate :: DocRouter ;
2+ use crate :: tools :: DocRouter ;
33use mcp_core:: { Content , ToolError } ;
44use serde_json:: json;
55use mcp_server:: Router ;
Original file line number Diff line number Diff line change 11mod http_sse_server;
2- mod tests;
32
4- pub use http_sse_server:: * ;
3+ pub use http_sse_server:: * ;
4+
5+ #[ cfg( test) ]
6+ mod tests;
Original file line number Diff line number Diff line change @@ -23,12 +23,6 @@ async fn test_router_setup() {
2323 assert ! ( true ) ;
2424}
2525
26- // Test removed since session_id is private
27- // #[tokio::test]
28- // async fn test_session_id_generation() {
29- // // Test removed
30- // }
31-
3226#[ tokio:: test]
3327async fn test_post_event_handler_not_found ( ) {
3428 let app = App :: new ( ) ;
Original file line number Diff line number Diff line change 11mod jsonrpc_frame_codec;
2- mod tests ;
2+ pub use jsonrpc_frame_codec :: JsonRpcFrameCodec ;
33
4- pub use jsonrpc_frame_codec:: JsonRpcFrameCodec ;
4+ #[ cfg( test) ]
5+ mod tests;
You can’t perform that action at this time.
0 commit comments