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,14 @@
|
||||
// 用于生成proto相关代码
|
||||
fn main() {
|
||||
connectrpc_build::Config::new()
|
||||
.files(&[
|
||||
"control/center.proto",
|
||||
"control/terminal.proto",
|
||||
"control/common/common.proto",
|
||||
"third/grpc/health/v1/health.proto",
|
||||
])
|
||||
.includes(&["third/", "control/"])
|
||||
.include_file("proto_gen.rs")
|
||||
.compile()
|
||||
.unwrap();
|
||||
}
|
||||
Reference in New Issue
Block a user