Skip to content

Commit

Permalink
pkgs/ok_http: Condense JNI Bindings to single_file structure, and a…
Browse files Browse the repository at this point in the history
…dd missing server errors test (#1221)
  • Loading branch information
Anikate-De authored Jun 3, 2024
1 parent 7bfbeea commit 90837df
Show file tree
Hide file tree
Showing 14 changed files with 8,145 additions and 8,345 deletions.
2 changes: 1 addition & 1 deletion pkgs/ok_http/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ include: ../../analysis_options.yaml

analyzer:
exclude:
- lib/src/third_party/
- "lib/src/jni/bindings.dart"
1 change: 1 addition & 0 deletions pkgs/ok_http/example/integration_test/client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Future<void> testConformance() async {
testRequestMethods(OkHttpClient(), preservesMethodCase: true);
testResponseStatusLine(OkHttpClient());
testCompressedResponseBody(OkHttpClient());
testServerErrors(OkHttpClient());
testIsolate(OkHttpClient.new);
testResponseCookies(OkHttpClient(), canReceiveSetCookieHeaders: true);
});
Expand Down
3 changes: 2 additions & 1 deletion pkgs/ok_http/jnigen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ summarizer:

output:
dart:
path: "lib/src/third_party/"
path: "lib/src/jni/bindings.dart"
structure: single_file

enable_experiment:
- "interface_implementation"
Expand Down
Loading

0 comments on commit 90837df

Please sign in to comment.