StatusExceptionWrapperSpec

19

tests

0

failures

0

ignored

0.009s

duration

100%

successful

Tests

Test Duration Result
Verify that both io.grpc.StatusException and io.grpc.StatusRuntimeException is wrapped 0s passed
Verify that exceptions that isn't io.grpc.StatusException nor io.grpc.StatusRuntimeException generates ServerSideException 0.001s passed
Verify that io.grpc.StatusException with status OK generates assertion error 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=ABORTED, description=null, cause=null} into exception with type ServerSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=ALREADY_EXISTS, description=null, cause=null} into exception with type ClientSideException 0.001s passed
Verify that wrap converts to grpc StatusException with Code Status{code=CANCELLED, description=null, cause=null} into exception with type ClientSideException 0.002s passed
Verify that wrap converts to grpc StatusException with Code Status{code=DATA_LOSS, description=null, cause=null} into exception with type ServerSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=DEADLINE_EXCEEDED, description=null, cause=null} into exception with type CommunicationException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=FAILED_PRECONDITION, description=null, cause=null} into exception with type ServerSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=INTERNAL, description=null, cause=null} into exception with type ServerSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=INVALID_ARGUMENT, description=null, cause=null} into exception with type ClientSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=NOT_FOUND, description=null, cause=null} into exception with type ClientSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=OUT_OF_RANGE, description=null, cause=null} into exception with type ClientSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=PERMISSION_DENIED, description=null, cause=null} into exception with type ClientSideException 0s passed
Verify that wrap converts to grpc StatusException with Code Status{code=RESOURCE_EXHAUSTED, description=null, cause=null} into exception with type ServerSideException 0.001s passed
Verify that wrap converts to grpc StatusException with Code Status{code=UNAUTHENTICATED, description=null, cause=null} into exception with type ClientSideException 0.001s passed
Verify that wrap converts to grpc StatusException with Code Status{code=UNAVAILABLE, description=null, cause=null} into exception with type CommunicationException 0.001s passed
Verify that wrap converts to grpc StatusException with Code Status{code=UNIMPLEMENTED, description=null, cause=null} into exception with type ServerSideException 0.001s passed
Verify that wrap converts to grpc StatusException with Code Status{code=UNKNOWN, description=null, cause=null} into exception with type ServerSideException 0.001s passed