-
Notifications
You must be signed in to change notification settings - Fork 42
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 Case for org.openmrs.module.dhisreport.api.adx Package #44
Conversation
try { | ||
date3 = DatatypeFactory.newInstance().newXMLGregorianCalendar(new GregorianCalendar(2016, 06, 14)); | ||
} catch (DatatypeConfigurationException e) { | ||
e.printStackTrace(); |
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.
Don't you just wanna let this bubble through instead of catching it?
@dkayiwa I have tried to fix the issues. Is there ok? |
public class AdxTypeTest { | ||
|
||
@Test | ||
public void ShouldHaveProperValuesInAllAttributesOfAdxType() throws JAXBException, FileNotFoundException, |
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 change the method name to match these conventions? http://www.oracle.com/technetwork/java/codeconventions-135099.html
b8c0dfa
to
f8d242b
Compare
changing names small change small changes in name
@dkayiwa thank you for reviewing it. I have tried to fix the issues. |
@puevigreven thanks for the fast response. I just noticed that a fresh checkout of the module fails with a compiler error. Do you think you can look into it? |
@dkayiwa I compiled branches master,DRM-25-ImportSummaries,DRM-25-IMPL, DRM-25-ADX and all passed successfully. |
@puevigreven oh i see! I was using Java 1.8 |
@puevigreven just reverted this because it failed locally for me with: Failed tests: shouldHaveProperValuesInAllAttributesOfAdxType(org.openmrs.module.dhisreport.api.adx.AdxTypeTest): expected:<...07-14T00:00:00.000+0[5:3]0> but was:<...07-14T00:00:00.000+0[3:0]0> |
No description provided.