From 9dd355a4c50171317b63a9477639c0795fc3b07b Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 21 Aug 2018 14:50:43 -0400 Subject: [PATCH] All tests pass --- .idea/libraries/Dart_Packages.xml | 4 +- ...ware_via_metadata_in_routing_test_dart.xml | 9 + .../encoding_in_streaming_test_dart.xml | 9 + .../metadata_in_hooked_test_dart.xml | 9 + ...ml => tests_in_framework__PRODUCTION_.xml} | 2 +- .idea/workspace.xml | 830 ++++++++---------- CHANGELOG.md | 10 +- README.md | 69 +- example/handle_error.dart | 3 +- lib/src/core/hooked_service.dart | 15 +- lib/src/core/response_context.dart | 25 +- lib/src/core/server.dart | 31 +- lib/src/core/service.dart | 27 +- lib/src/core/typed_service.dart | 1 + lib/src/http/angel_http.dart | 8 +- lib/src/http/controller.dart | 13 +- lib/src/http/http_response_context.dart | 86 +- lib/src/util.dart | 3 +- test/common.dart | 7 + test/encoders_buffer_test.dart | 12 +- test/parameter_meta_test.dart | 5 +- test/precontained_test.dart | 4 +- test/routing_test.dart | 2 +- test/serialize_test.dart | 4 +- test/server_test.dart | 2 +- test/streaming_test.dart | 36 +- test/view_generator_test.dart | 3 +- 27 files changed, 640 insertions(+), 589 deletions(-) create mode 100644 .idea/runConfigurations/Middleware_via_metadata_in_routing_test_dart.xml create mode 100644 .idea/runConfigurations/encoding_in_streaming_test_dart.xml create mode 100644 .idea/runConfigurations/metadata_in_hooked_test_dart.xml rename .idea/runConfigurations/{All_Tests__PRODUCTION_2.xml => tests_in_framework__PRODUCTION_.xml} (66%) diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index b8dfae30..088c8509 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -12,7 +12,7 @@ - @@ -454,7 +454,7 @@ - + diff --git a/.idea/runConfigurations/Middleware_via_metadata_in_routing_test_dart.xml b/.idea/runConfigurations/Middleware_via_metadata_in_routing_test_dart.xml new file mode 100644 index 00000000..41e6ad8d --- /dev/null +++ b/.idea/runConfigurations/Middleware_via_metadata_in_routing_test_dart.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/encoding_in_streaming_test_dart.xml b/.idea/runConfigurations/encoding_in_streaming_test_dart.xml new file mode 100644 index 00000000..f3885511 --- /dev/null +++ b/.idea/runConfigurations/encoding_in_streaming_test_dart.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/metadata_in_hooked_test_dart.xml b/.idea/runConfigurations/metadata_in_hooked_test_dart.xml new file mode 100644 index 00000000..618cdc73 --- /dev/null +++ b/.idea/runConfigurations/metadata_in_hooked_test_dart.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/All_Tests__PRODUCTION_2.xml b/.idea/runConfigurations/tests_in_framework__PRODUCTION_.xml similarity index 66% rename from .idea/runConfigurations/All_Tests__PRODUCTION_2.xml rename to .idea/runConfigurations/tests_in_framework__PRODUCTION_.xml index 27a10c9c..263eac1e 100644 --- a/.idea/runConfigurations/All_Tests__PRODUCTION_2.xml +++ b/.idea/runConfigurations/tests_in_framework__PRODUCTION_.xml @@ -1,5 +1,5 @@ - + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7de0fedd..ecb94876 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,14 +2,27 @@ + + + - - - + + + + + + + + + + + + + @@ -32,83 +45,11 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -116,25 +57,43 @@ - - + + - - + + + + + + + + + + + + + + + + + + + + - + - - + + - - + + - + @@ -152,28 +111,6 @@ - parse - io - io. - lazyP - storeO - origina - originalBuffer - lazyQue - singleton( - preI - ); - RequestContext req - req.inject - injections - injecti - debug - handle( - lock - add( - close( - end() - stop sto sopw stopw @@ -181,7 +118,29 @@ handleRe get container Parameter + log mirrors + dart:mirror + dart:io + _Par + waterfall + wtf + errorHan + nested + _parent = + headers['content + skip + Provi + contentTy + abc + /chained + flatten + sendRe + enableB + Hooks + Middleware + /meta + complet FutureOr @@ -237,13 +196,11 @@ @@ -307,7 +266,7 @@ -