-
Notifications
You must be signed in to change notification settings - Fork 5
Qprofiler qio #235
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
Qprofiler qio #235
Conversation
return mismatchCount; | ||
} | ||
|
||
// public MAMappingParameters getParameters() { |
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.
delete
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.
done
@@ -39,6 +40,17 @@ public void setup() throws IOException { | |||
|
|||
createTestFile(DODGY_GFF_FILE_NAME_FILE, getDodgyFileContents()); | |||
} | |||
|
|||
@After | |||
public void tidyUp() 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.
It's generally safer to use the TemporaryFolder
class to setup files in each test method, as that way, junit takes care of removing the files once they have been used. I know that in this case the original code is not yours - do you know which test method is producing the qprofiler.xml
file? If so, perhaps that method(s) can be updated to take a temp file as the output?
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.
qprofiler.xml is a default output if the "--output" option is not called.
I think it is a good idea, but I agree it should not be always tested. The unit test is updated, hence we test the qprofiler with "--output" option, unless the unit testing the default output.
This problem should be solved
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.
thanks for the changes
Description
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
the unit test is created and updated, regression test in our TC box was created.
Checklist: