Skip to content

Commit

Permalink
Fixes issue piranhacloud#3422 - Add JavaDoc to ReadListenerTest (pira…
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Jun 10, 2023
1 parent 9ccb455 commit f9589e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ void testOnDataAvailable() throws Exception {
assertNotNull(webApplication.getAttribute("onDataAvailable"));
}

/**
* A test ReadListener for onAllDataRead.
*/
public static class TestOnAllDataReadReadListener implements ReadListener {

/**
Expand Down Expand Up @@ -144,6 +147,9 @@ public void onError(Throwable t) {
}
}

/**
* A test ReadListener for onDataAvailable.
*/
public static class TestOnDataAvailableReadListener implements ReadListener {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ void testOnWritePossible() throws Exception {
assertNotNull(webApplication.getAttribute("onWritePossible"));
}

/**
* A WriteListener for onWritePossible.
*/
public static class TestOnWritePossibleWriteListener implements WriteListener {

/**
Expand Down

0 comments on commit f9589e0

Please sign in to comment.