Skip to content

Commit

Permalink
Migrate to Java: CloseTest
Browse files Browse the repository at this point in the history
  • Loading branch information
marianobarrios committed Apr 21, 2024
1 parent 45c4dfd commit fc0c7c6
Show file tree
Hide file tree
Showing 9 changed files with 497 additions and 440 deletions.
8 changes: 4 additions & 4 deletions src/test/scala/tlschannel/BlockingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public Collection<DynamicTest> testHalfDuplexWireRenegotiations() {
SocketPair socketPair = factory.nioNio(
Option.apply(null),
Option.apply(new ChunkSizeConfig(
new ChuckSizes(Option.apply(size1), Option.apply(size2)),
new ChuckSizes(Option.apply(size1), Option.apply(size2)))),
new ChuckSizes(Optional.of(size1), Optional.of(size2)),
new ChuckSizes(Optional.of(size1), Optional.of(size2)))),
true,
false,
Option.apply(null));
Expand All @@ -67,8 +67,8 @@ public Collection<DynamicTest> testFullDuplex() {
SocketPair socketPair = factory.nioNio(
Option.apply(null),
Option.apply(new ChunkSizeConfig(
new ChuckSizes(Option.apply(size1), Option.apply(size2)),
new ChuckSizes(Option.apply(size1), Option.apply(size2)))),
new ChuckSizes(Optional.of(size1), Optional.of(size2)),
new ChuckSizes(Optional.of(size1), Optional.of(size2)))),
true,
false,
Option.apply(null));
Expand Down
390 changes: 390 additions & 0 deletions src/test/scala/tlschannel/CloseTest.java

Large diffs are not rendered by default.

345 changes: 0 additions & 345 deletions src/test/scala/tlschannel/CloseTest.scala

This file was deleted.

Loading

0 comments on commit fc0c7c6

Please sign in to comment.