Add Unit Test Cases - #180
vanitha1822 wants to merge 5 commits into
Quality Gate passed
Annotations
Check failure on line 331 in src/test/java/com/iemr/mmu/service/health/HealthServiceTest.java
sonarqubecloud / SonarCloud Code Analysis
Add at least one assertion to this test case.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4wzdeVRICu9efo&open=AaBr0e4wzdeVRICu9efo&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.io.PrintWriter'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5fzdeVRICu9ef3&open=AaBr0e5fzdeVRICu9ef3&pullRequest=180
Check warning on line 25 in src/test/java/com/iemr/mmu/service/reports/ReportCheckPostImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertNotNull'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e13zdeVRICu9eeh&open=AaBr0e13zdeVRICu9eeh&pullRequest=180
Check warning on line 558 in src/test/java/com/iemr/mmu/service/covid19/Covid19ServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e0YzdeVRICu9eeT&open=AaBr0e0YzdeVRICu9eeT&pullRequest=180
Check warning on line 28 in src/test/java/com/iemr/mmu/service/health/HealthServiceTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.anyInt'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4wzdeVRICu9efp&open=AaBr0e4wzdeVRICu9efp&pullRequest=180
Check warning on line 27 in src/test/java/com/iemr/mmu/utils/http/HttpUtilsAndInterceptorTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertThrows'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5yzdeVRICu9egA&open=AaBr0e5yzdeVRICu9egA&pullRequest=180
Check warning on line 537 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eev&open=AaBr0e20zdeVRICu9eev&pullRequest=180
Check warning on line 527 in src/test/java/com/iemr/mmu/service/ncdCare/NCDCareServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3_zdeVRICu9efZ&open=AaBr0e3_zdeVRICu9efZ&pullRequest=180
Check warning on line 31 in src/test/java/com/iemr/mmu/utils/redis/RedisStorageTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Mockito.mock'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5ozdeVRICu9ef-&open=AaBr0e5ozdeVRICu9ef-&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Add at least one assertion to this test case.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e2TzdeVRICu9eeq&open=AaBr0e2TzdeVRICu9eeq&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.HashMap'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3izdeVRICu9efD&open=AaBr0e3izdeVRICu9efD&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertFalse'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3izdeVRICu9efB&open=AaBr0e3izdeVRICu9efB&pullRequest=180
Check warning on line 40 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.List'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9ee3&open=AaBr0e20zdeVRICu9ee3&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e31zdeVRICu9efO&open=AaBr0e31zdeVRICu9efO&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Add at least one assertion to this test case.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e2TzdeVRICu9eep&open=AaBr0e2TzdeVRICu9eep&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.eq'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3YzdeVRICu9ee_&open=AaBr0e3YzdeVRICu9ee_&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e1lzdeVRICu9eed&open=AaBr0e1lzdeVRICu9eed&pullRequest=180
Check warning on line 620 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eez&open=AaBr0e20zdeVRICu9eez&pullRequest=180
Check warning on line 589 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eew&open=AaBr0e20zdeVRICu9eew&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.Collections'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4czdeVRICu9eff&open=AaBr0e4czdeVRICu9eff&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Use a static import for "times".
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e45zdeVRICu9efq&open=AaBr0e45zdeVRICu9efq&pullRequest=180
Check warning on line 26 in src/test/java/com/iemr/mmu/utils/config/ConfigPropertiesTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertNotNull'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5LzdeVRICu9efv&open=AaBr0e5LzdeVRICu9efv&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.List'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e31zdeVRICu9efQ&open=AaBr0e31zdeVRICu9efQ&pullRequest=180
Check warning on line 593 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eex&open=AaBr0e20zdeVRICu9eex&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3szdeVRICu9efE&open=AaBr0e3szdeVRICu9efE&pullRequest=180