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,21 @@
|
||||
syntax = "proto3";
|
||||
package google.rpc;
|
||||
enum Code {
|
||||
OK = 0;
|
||||
CANCELLED = 1;
|
||||
UNKNOWN = 2;
|
||||
INVALID_ARGUMENT = 3;
|
||||
DEADLINE_EXCEEDED = 4;
|
||||
NOT_FOUND = 5;
|
||||
ALREADY_EXISTS = 6;
|
||||
PERMISSION_DENIED = 7;
|
||||
RESOURCE_EXHAUSTED = 8;
|
||||
FAILED_PRECONDITION = 9;
|
||||
ABORTED = 10;
|
||||
OUT_OF_RANGE = 11;
|
||||
UNIMPLEMENTED = 12;
|
||||
INTERNAL = 13;
|
||||
UNAVAILABLE = 14;
|
||||
DATA_LOSS = 15;
|
||||
UNAUTHENTICATED = 16;
|
||||
}
|
||||
Reference in New Issue
Block a user