Skip to content

Commit

Permalink
Merge pull request junit-team#434 from matthewfarwell/testwatcher-des…
Browse files Browse the repository at this point in the history
…cription

TestWatcher javadoc was not correct for example method names
  • Loading branch information
dsaff committed May 24, 2012
2 parents 67ccd71 + f62f699 commit 3f6e3ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/junit/rules/TestWatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
* @Rule
* public TestRule watchman= new TestWatcher() {
* @Override
* protected void failed(Description d) {
* watchedLog+= d + "\n";
* protected void failed(Throwable e, Description description) {
* watchedLog+= description + "\n";
* }
*
* @Override
* protected void succeeded(Description d) {
* watchedLog+= d + " " + "success!\n";
* protected void succeeded(Description description) {
* watchedLog+= description + " " + "success!\n";
* }
* };
*
Expand Down

0 comments on commit 3f6e3ef

Please sign in to comment.