-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce reset method to OutputCapture #8490
Conversation
Nice, thanks! |
@@ -0,0 +1,51 @@ | |||
/* | |||
* Copyright 2012-2016 the original author or authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be Copyright 2012-2017 the original author or authors.
public OutputCapture outputCapture = new OutputCapture(); | ||
|
||
@Test | ||
public void testToString() throws Exception { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that you shouldn't add prefix or sufix "test" to tests because it's redundant since the methods are also annotated with @test and are public methods in a test class.
This can be named also "smurf naming"
Thanks @vborcea, I updated the pull request. |
@vborcea Thanks for your efforts reviewing things, but many of these smaller issues we're happy to deal with ourselves when we merge. There's no need for contributors to update the copyright header or rename methods as it's something that's a natural part of our process when we merge. |
* pr/8490: Polish contribution Introduce reset method to OutputCapture
Fixes #8390