Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for websocket and isolate #63

Merged
merged 5 commits into from
Jul 29, 2023

Conversation

necessarylion
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

Coverage after merging unit-test-for-websocket-and-routes into develop

92.79%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   app.dart100%100%84.09%..., 59, 60, 91, 92
lib/cache
   cache.dart100%100%100%
lib/cache/drivers/file
   file_cache_driver.dart100%100%100%
lib/env
   env.dart100%100%100%
lib/exception
   http_exception.dart100%100%100%
   internal_error_exception.dart100%100%100%
   not_found_exception.dart100%100%100%
   query_exception.dart100%100%100%
   unauthorized_exception.dart100%100%100%
   validation_exception.dart100%100%100%
lib/http
   http_controller_handler.dart100%100%100%
   http_cors_handler.dart100%100%100%
   http_error_handler.dart100%100%100%
   http_response_handler.dart100%100%100%
   http_request_handler.dart100%100%100%
   http_route_handler.dart100%100%100%
   http_websocket_handler.dart100%100%100%
lib/http/request
   form_request.dart100%100%13.95%..., 92, 93, 97, 98
   dox_request.dart100%100%85.14%..., 230, 231, 233, 81
   request_file.dart100%100%100%
   http_request_body.dart100%100%100%
   form_data_visitor.dart100%100%97.22%68
lib/http/response
   dox_cookie.dart100%100%100%
   dox_response.dart100%100%79.41%..., 27, 28, 41, 42
   serializer.dart100%100%100%
lib/ioc
   ioc_container.dart100%100%100%
lib/isolate
   dox_isolate.dart100%100%100%
   isolate_handler.dart100%100%100%
   isolate_interfaces.dart100%100%100%
lib/router
   route.dart100%100%100%
   route_data.dart100%100%100%
lib/server
   dox_server.dart100%100%93.75%35
lib/storage
   storage.dart100%100%96.97%116
   local_storage_driver.dart100%100%96%42
lib/utils
   aes_encryptor.dart100%100%100%
   extensions.dart100%100%100%
   hash.dart100%100%100%
   json.dart100%100%100%
   utils.dart100%100%100%
lib/utils/extensions
   num.dart100%100%100%
lib/validation
   dox_validator.dart100%100%93.02%102, 33, 38
   nested_validation_visitor.dart100%100%100%
   validation_item.dart100%100%100%
   validation_rules.dart100%100%91.96%..., 156, 157, 158, 160
lib/websocket
   socket_emitter.dart100%100%93.75%51
   dox_websocket.dart100%100%100%
   socket_storage.dart100%100%100%
   web_socket_info.dart100%100%100%

@github-actions
Copy link
Contributor

Coverage after merging unit-test-for-websocket-and-routes into develop

92.97%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   app.dart100%100%88.64%105, 62, 63, 93, 94
lib/cache
   cache.dart100%100%100%
lib/cache/drivers/file
   file_cache_driver.dart100%100%100%
lib/env
   env.dart100%100%100%
lib/exception
   http_exception.dart100%100%100%
   internal_error_exception.dart100%100%100%
   not_found_exception.dart100%100%100%
   query_exception.dart100%100%100%
   unauthorized_exception.dart100%100%100%
   validation_exception.dart100%100%100%
lib/http
   http_controller_handler.dart100%100%100%
   http_cors_handler.dart100%100%100%
   http_error_handler.dart100%100%100%
   http_response_handler.dart100%100%100%
   http_request_handler.dart100%100%100%
   http_route_handler.dart100%100%100%
   http_websocket_handler.dart100%100%100%
lib/http/request
   form_request.dart100%100%13.95%..., 92, 93, 97, 98
   dox_request.dart100%100%85.14%..., 230, 231, 233, 81
   request_file.dart100%100%100%
   http_request_body.dart100%100%100%
   form_data_visitor.dart100%100%97.22%68
lib/http/response
   dox_cookie.dart100%100%100%
   dox_response.dart100%100%79.41%..., 27, 28, 41, 42
   serializer.dart100%100%100%
lib/ioc
   ioc_container.dart100%100%100%
lib/isolate
   dox_isolate.dart100%100%100%
   isolate_handler.dart100%100%100%
   isolate_interfaces.dart100%100%100%
lib/router
   route.dart100%100%100%
   route_data.dart100%100%100%
lib/server
   dox_server.dart100%100%93.75%35
lib/storage
   storage.dart100%100%96.97%116
   local_storage_driver.dart100%100%96%42
lib/utils
   aes_encryptor.dart100%100%100%
   extensions.dart100%100%100%
   hash.dart100%100%100%
   json.dart100%100%100%
   utils.dart100%100%100%
lib/utils/extensions
   num.dart100%100%100%
lib/validation
   dox_validator.dart100%100%93.02%102, 33, 38
   nested_validation_visitor.dart100%100%100%
   validation_item.dart100%100%100%
   validation_rules.dart100%100%91.96%..., 156, 157, 158, 160
lib/websocket
   socket_emitter.dart100%100%93.75%51
   dox_websocket.dart100%100%100%
   socket_storage.dart100%100%100%
   web_socket_info.dart100%100%100%

@github-actions
Copy link
Contributor

Coverage after merging unit-test-for-websocket-and-routes into develop

93.61%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   app.dart100%100%88.64%105, 62, 63, 93, 94
lib/cache
   cache.dart100%100%100%
lib/cache/drivers/file
   file_cache_driver.dart100%100%100%
lib/env
   env.dart100%100%100%
lib/exception
   http_exception.dart100%100%100%
   internal_error_exception.dart100%100%100%
   not_found_exception.dart100%100%100%
   query_exception.dart100%100%100%
   unauthorized_exception.dart100%100%100%
   validation_exception.dart100%100%100%
lib/http
   http_controller_handler.dart100%100%100%
   http_cors_handler.dart100%100%100%
   http_error_handler.dart100%100%100%
   http_response_handler.dart100%100%100%
   http_request_handler.dart100%100%100%
   http_route_handler.dart100%100%100%
   http_websocket_handler.dart100%100%100%
lib/http/request
   form_request.dart100%100%13.95%..., 92, 93, 97, 98
   dox_request.dart100%100%85.14%..., 230, 231, 233, 81
   request_file.dart100%100%100%
   http_request_body.dart100%100%100%
   form_data_visitor.dart100%100%97.22%68
lib/http/response
   dox_cookie.dart100%100%100%
   dox_response.dart100%100%100%
   serializer.dart100%100%100%
lib/ioc
   ioc_container.dart100%100%100%
lib/isolate
   dox_isolate.dart100%100%100%
   isolate_handler.dart100%100%100%
   isolate_interfaces.dart100%100%100%
lib/router
   route.dart100%100%100%
   route_data.dart100%100%100%
lib/server
   dox_server.dart100%100%93.75%35
lib/storage
   storage.dart100%100%96.97%116
   local_storage_driver.dart100%100%96%42
lib/utils
   aes_encryptor.dart100%100%100%
   extensions.dart100%100%100%
   hash.dart100%100%100%
   json.dart100%100%100%
   utils.dart100%100%100%
lib/utils/extensions
   num.dart100%100%100%
lib/validation
   dox_validator.dart100%100%93.02%102, 33, 38
   nested_validation_visitor.dart100%100%100%
   validation_item.dart100%100%100%
   validation_rules.dart100%100%91.96%..., 156, 157, 158, 160
lib/websocket
   socket_emitter.dart100%100%93.75%51
   dox_websocket.dart100%100%100%
   socket_storage.dart100%100%100%
   web_socket_info.dart100%100%100%

@github-actions
Copy link
Contributor

Coverage after merging unit-test-for-websocket-and-routes into develop

94.59%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   app.dart100%100%95.45%62, 63
lib/cache
   cache.dart100%100%100%
lib/cache/drivers/file
   file_cache_driver.dart100%100%100%
lib/env
   env.dart100%100%100%
lib/exception
   http_exception.dart100%100%100%
   internal_error_exception.dart100%100%100%
   not_found_exception.dart100%100%100%
   query_exception.dart100%100%100%
   unauthorized_exception.dart100%100%100%
   validation_exception.dart100%100%100%
lib/http
   http_controller_handler.dart100%100%100%
   http_cors_handler.dart100%100%100%
   http_error_handler.dart100%100%100%
   http_response_handler.dart100%100%100%
   http_request_handler.dart100%100%100%
   http_route_handler.dart100%100%100%
   http_websocket_handler.dart100%100%100%
lib/http/request
   form_request.dart100%100%9.30%..., 92, 93, 97, 98
   dox_request.dart100%100%98.53%81
   request_file.dart100%100%100%
   http_request_body.dart100%100%100%
   form_data_visitor.dart100%100%97.22%68
lib/http/response
   dox_cookie.dart100%100%100%
   dox_response.dart100%100%100%
   serializer.dart100%100%100%
lib/ioc
   ioc_container.dart100%100%100%
lib/isolate
   dox_isolate.dart100%100%100%
   isolate_handler.dart100%100%100%
   isolate_interfaces.dart100%100%100%
lib/router
   route.dart100%100%100%
   route_data.dart100%100%100%
lib/server
   dox_server.dart100%100%93.75%35
lib/storage
   storage.dart100%100%96.97%116
   local_storage_driver.dart100%100%96%42
lib/utils
   aes_encryptor.dart100%100%100%
   extensions.dart100%100%100%
   hash.dart100%100%100%
   json.dart100%100%100%
   utils.dart100%100%100%
lib/utils/extensions
   num.dart100%100%100%
lib/validation
   dox_validator.dart100%100%93.02%102, 33, 38
   nested_validation_visitor.dart100%100%100%
   validation_item.dart100%100%100%
   validation_rules.dart100%100%91.96%..., 156, 157, 158, 160
lib/websocket
   socket_emitter.dart100%100%93.75%51
   dox_websocket.dart100%100%100%
   socket_storage.dart100%100%100%
   web_socket_info.dart100%100%100%

@github-actions
Copy link
Contributor

Coverage after merging unit-test-for-websocket-and-routes into develop

94.07%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   app.dart100%100%95.45%62, 63
lib/cache
   cache.dart100%100%100%
lib/cache/drivers/file
   file_cache_driver.dart100%100%100%
lib/env
   env.dart100%100%100%
lib/exception
   http_exception.dart100%100%100%
   internal_error_exception.dart100%100%100%
   not_found_exception.dart100%100%100%
   query_exception.dart100%100%100%
   unauthorized_exception.dart100%100%100%
   validation_exception.dart100%100%100%
lib/http
   http_controller_handler.dart100%100%100%
   http_cors_handler.dart100%100%100%
   http_error_handler.dart100%100%100%
   http_response_handler.dart100%100%100%
   http_request_handler.dart100%100%100%
   http_route_handler.dart100%100%100%
   http_websocket_handler.dart100%100%100%
lib/http/request
   form_request.dart100%100%9.30%..., 92, 93, 97, 98
   dox_request.dart100%100%90.54%..., 230, 231, 233, 81
   request_file.dart100%100%100%
   http_request_body.dart100%100%100%
   form_data_visitor.dart100%100%97.22%68
lib/http/response
   dox_cookie.dart100%100%100%
   dox_response.dart100%100%100%
   serializer.dart100%100%100%
lib/ioc
   ioc_container.dart100%100%100%
lib/isolate
   dox_isolate.dart100%100%100%
   isolate_handler.dart100%100%100%
   isolate_interfaces.dart100%100%100%
lib/router
   route.dart100%100%100%
   route_data.dart100%100%100%
lib/server
   dox_server.dart100%100%93.75%35
lib/storage
   storage.dart100%100%96.97%116
   local_storage_driver.dart100%100%96%42
lib/utils
   aes_encryptor.dart100%100%100%
   extensions.dart100%100%100%
   hash.dart100%100%100%
   json.dart100%100%100%
   utils.dart100%100%100%
lib/utils/extensions
   num.dart100%100%100%
lib/validation
   dox_validator.dart100%100%93.02%102, 33, 38
   nested_validation_visitor.dart100%100%100%
   validation_item.dart100%100%100%
   validation_rules.dart100%100%91.96%..., 156, 157, 158, 160
lib/websocket
   socket_emitter.dart100%100%93.75%51
   dox_websocket.dart100%100%100%
   socket_storage.dart100%100%100%
   web_socket_info.dart100%100%100%

@necessarylion necessarylion merged commit 00b9714 into develop Jul 29, 2023
2 checks passed
@necessarylion necessarylion deleted the unit-test-for-websocket-and-routes branch July 29, 2023 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant