Skip to content
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

Merged
merged 19 commits into from
Nov 7, 2017
Merged

Javahashes #341

merged 19 commits into from
Nov 7, 2017

Conversation

sastryduri
Copy link
Collaborator

addresses the need in this issue

Sastry Duri added 6 commits October 24, 2017 08:49
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-io
Copy link

codecov-io commented Oct 25, 2017

Codecov Report

Merging #341 into master will increase coverage by 0.08%.
The diff coverage is 84.41%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
crawler/utils/features.py 100% <100%> (ø) ⬆️
crawler/plugins/systems/jar_host_crawler.py 100% <100%> (ø)
crawler/plugins/systems/jar_container_crawler.py 55% <55%> (ø)
crawler/utils/jar_utils.py 93.87% <93.87%> (ø)
crawler/plugins/systems/process_host_crawler.py 82.97% <0%> (-0.36%) ⬇️
crawler/plugins/systems/process_vm_crawler.py 82.69% <0%> (-0.33%) ⬇️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f10a45...c201e03. Read the comment docs.

from plugins.systems.jar_host_crawler import JarHostCrawler


class GPUPluginTests(unittest.TestCase):
Copy link
Contributor

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
Copy link
Contributor

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?

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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be JarContainerCrawler()

@sahilsuneja1
Copy link
Contributor

Also, please squash commits into 1

@sahilsuneja1
Copy link
Contributor

Thank you! Please squash the commits into one, then we are good to merge.

@sahilsuneja1 sahilsuneja1 merged commit 824a898 into cloudviz:master Nov 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants