-
Notifications
You must be signed in to change notification settings - Fork 72
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
test: move common logic into TestBase #193
Conversation
Reducing test code duplication by moving more common logic into the TestBase abstract class. |
@@ -21,8 +21,6 @@ | |||
import org.junit.jupiter.api.Test; | |||
|
|||
public class AggregateRoundtripTest extends TestBase { | |||
static final org.slf4j.Logger logger = | |||
org.slf4j.LoggerFactory.getLogger(AggregateRoundtripTest.class); |
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.
These loggers aren't used or needed so removing them to reduce noise.
@@ -25,15 +25,7 @@ | |||
|
|||
public class LocalFilesRoundtripTest extends TestBase { | |||
|
|||
SimpleExtension.ExtensionCollection extensions = defaultExtensionCollection; | |||
|
|||
public LocalFilesRoundtripTest() throws IOException {} |
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.
This constructor is not needed.
bea6074
to
fb30150
Compare
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.
Nice cleanup!
CI is failing due to
which are in code this PR did not touch. Locally, tests run and build fine. I've seen a number of builds fail with issues like this. In theory Jabel should be converting this code, but it doesn't seem to fire sometimes. |
Filed #195 for the build issue. |
No description provided.