-
Notifications
You must be signed in to change notification settings - Fork 44
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
Javahashes #341
Javahashes #341
Conversation
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #341 +/- ##
==========================================
+ Coverage 88.54% 88.63% +0.08%
==========================================
Files 117 120 +3
Lines 4888 4944 +56
==========================================
+ Hits 4328 4382 +54
- Misses 560 562 +2
Continue to review full report at Codecov.
|
tests/unit/test_jar_plugin.py
Outdated
from plugins.systems.jar_host_crawler import JarHostCrawler | ||
|
||
|
||
class GPUPluginTests(unittest.TestCase): |
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.
Please rename this :)
# | ||
|
||
sys.path.append('tests/unit/') | ||
from plugins.systems.jar_host_crawler import JarHostCrawler |
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.
Can you please also test JarContainerCrawler class with a dummy container?
Signed-off-by: Sastry Duri <[email protected]>
…rawler into javahashes
tests/unit/test_plugins.py
Outdated
myjar.writestr(ZipInfo('second.class',(1980,1,1,1,1,1)), "second secrets!") | ||
myjar.writestr(ZipInfo('second.txt',(1980,1,1,1,1,1)), "second secrets!") | ||
|
||
fc = JarHostCrawler() |
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 should be JarContainerCrawler()
Also, please squash commits into 1 |
…map_files option in crawler.conf Signed-off-by: Sahil Suneja <[email protected]>
Signed-off-by: Sahil Suneja <[email protected]>
…rawler into javahashes
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Signed-off-by: Sastry Duri <[email protected]>
Thank you! Please squash the commits into one, then we are good to merge. |
addresses the need in this issue