Add terminal service implementation and integration tests
- Introduced terminal.h header file defining the terminal service API. - Implemented integration tests for terminal service registration and health checks. - Added unit tests for FFI layer, health checks, and terminal service functionality. - Created a mock center for testing terminal registration and deregistration. - Ensured proper error handling and response validation in tests.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
mod callback;
|
||||
mod error;
|
||||
mod health;
|
||||
mod rpc;
|
||||
mod runtime;
|
||||
|
||||
pub use callback::{TerminalCommandCallback, TerminalEventCallback, TerminalResponseSink};
|
||||
|
||||
pub mod terminal;
|
||||
|
||||
pub mod ffi;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "../tests/unit/mod.rs"]
|
||||
mod unit_tests;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "../tests/integration/mod.rs"]
|
||||
mod integration_tests;
|
||||
|
||||
Reference in New Issue
Block a user