Skip to content

Commit 90837df

Browse files
authored
pkgs/ok_http: Condense JNI Bindings to single_file structure, and add missing server errors test (#1221)
1 parent 7bfbeea commit 90837df

14 files changed

+8145
-8345
lines changed

pkgs/ok_http/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ include: ../../analysis_options.yaml
22

33
analyzer:
44
exclude:
5-
- lib/src/third_party/
5+
- "lib/src/jni/bindings.dart"

pkgs/ok_http/example/integration_test/client_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Future<void> testConformance() async {
2121
testRequestMethods(OkHttpClient(), preservesMethodCase: true);
2222
testResponseStatusLine(OkHttpClient());
2323
testCompressedResponseBody(OkHttpClient());
24+
testServerErrors(OkHttpClient());
2425
testIsolate(OkHttpClient.new);
2526
testResponseCookies(OkHttpClient(), canReceiveSetCookieHeaders: true);
2627
});

pkgs/ok_http/jnigen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ summarizer:
88

99
output:
1010
dart:
11-
path: "lib/src/third_party/"
11+
path: "lib/src/jni/bindings.dart"
12+
structure: single_file
1213

1314
enable_experiment:
1415
- "interface_implementation"

0 commit comments

Comments
 (0)