-
Notifications
You must be signed in to change notification settings - Fork 337
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
Added tests to verify if resources exist in classpath #76
Conversation
* @author Jeanderson Candido | ||
* | ||
*/ | ||
public class ReporterResourcesTest extends TestJPF { |
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.
Although it wasn't required, I extended TestJPF to keep this working on the Ant build.
If you have any suggestions, please, let me know so I can update this pull request with your suggestions.
I agree that the test should pass if the two files exist. The contents of
the files is not important (and changes too often to be useful to be
checked in a test).
If it's not too difficult, I'd like the test to use the actual git hash
rather than just a mock. The repo hash code is something we've lost
recently when moving from hg to git, so it makes sense to add it back in
the context of this project.
It also makes debugging third-party bug reports a lot easier.
Jeanderson Barros Candido wrote:
… @cyrille-artho <https://github.com/cyrille-artho>, I guess this is all we
need to check if build.properties and .version exist.
Note that the test is failing because .version doesn't exist yet.
---------------------------------------------------------------------------
You can view, comment on, or merge this pull request online at:
#76
Commit Summary
* Added minimal Java main to debug Reporter (#75)
* Added failing test due to missing .version file (#75)
File Changes
* *A* src/tests/ReporterResourcesTest.java
<https://github.com/javapathfinder/jpf-core/pull/76/files#diff-0> (32)
Patch Links:
* https://github.com/javapathfinder/jpf-core/pull/76.patch
* https://github.com/javapathfinder/jpf-core/pull/76.diff
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#76>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG9eR-ynIUDmdQV5gD_3PWJTD9t4GSX4ks5t5XxcgaJpZM4UZkNy>.
--
Regards,
Cyrille Artho - http://artho.com/
The cost of freedom is eternal vigilance.
-- Thomas Jefferson
|
@cyrille-artho I think everything is working now. Any changes or improvements? After merging this, I believe I can start on generating the build properties on Gradle. Currently, it is just copying an outdated file (must open an issue for that) |
@cyrille-artho, I guess this is all we need to check if build.properties and .version exist.
Note that the test is failing because .version doesn't exist yet.