Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
95 3 14 0 82.1% 76.43 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
- 1 0 0 0 100% 5.922 s
archunit 9 0 1 0 88.9% 18.78 s
org.techbd.util 17 0 0 0 100% 0.475 s
lib.aide.tabular 6 0 4 0 33.3% 1.011 s
lib.aide.vfs 1 0 0 0 100% 0.008 s
org.techbd.orchestrate.fhir 16 0 8 0 50.0% 47.54 s
lib.aide.resource 23 0 1 0 95.7% 1.032 s
org.techbd.service.http.hub.prime 3 3 0 0 0% 1.404 s
lib.aide 1 0 0 0 100% 0.142 s
lib.aide.paths 18 0 0 0 100% 0.114 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

- Class Tests Errors Failures Skipped Success Rate Time
NamingArchRulesTest 1 0 0 0 100% 5.922 s

archunit

- Class Tests Errors Failures Skipped Success Rate Time
NamingArchRulesTest 2 0 0 0 100% 5.923 s
InterfaceArchRulesTest 2 0 0 0 100% 9.993 s
GeneralArchRulesTest 4 0 1 0 75.0% 2.284 s
CyclicDependencyArchRulesTest 1 0 0 0 100% 0.581 s

org.techbd.util

- Class Tests Errors Failures Skipped Success Rate Time
JsonTextTest 11 0 0 0 100% 0.459 s
InterpolateEngineTest 2 0 0 0 100% 0.006 s
ArtifactStoreTest 4 0 0 0 100% 0.010 s

lib.aide.tabular

- Class Tests Errors Failures Skipped Success Rate Time
JooqRowsSupplierTest 5 0 4 0 20.0% 0.948 s
TabularRowsRequestTest 1 0 0 0 100% 0.063 s

lib.aide.vfs

- Class Tests Errors Failures Skipped Success Rate Time
VfsIngressConsumerTest 1 0 0 0 100% 0.008 s

org.techbd.orchestrate.fhir

- Class Tests Errors Failures Skipped Success Rate Time
ImplGuideTest 5 0 0 0 100% 10.24 s
IgPublicationIssuesTest 8 0 8 0 0% 25.53 s
OrchestrationEngineTest 3 0 0 0 100% 11.77 s

lib.aide.resource

- Class Tests Errors Failures Skipped Success Rate Time
ResourceFactoryTest 13 0 0 0 100% 0.063 s
ResourcesTest 3 0 1 0 66.7% 0.931 s
MarkdownResourceTest 7 0 0 0 100% 0.038 s

org.techbd.service.http.hub.prime

- Class Tests Errors Failures Skipped Success Rate Time
ApplicationTests 3 3 0 0 0% 1.404 s

lib.aide

- Class Tests Errors Failures Skipped Success Rate Time
JsonContentActionTest 1 0 0 0 100% 0.142 s

lib.aide.paths

- Class Tests Errors Failures Skipped Success Rate Time
PathsTest 8 0 0 0 100% 0.104 s
PathSuffixesTest 10 0 0 0 100% 0.010 s

Test Cases

[Summary] [Package List] [Test Cases]

NamingArchRulesTest

fieldsShouldFollowCamelCaseConvention 2.158 s
methodsShouldFollowCamelCaseConvention 2.284 s

NamingArchRulesTest

controllerNaming 5.922 s

ImplGuideTest

testUnHappyPathInvalidEncounterStatus_Bundle_AHCHRSNScreeningResponseExample 5.898 s
testUnHappyPathInvalidEventStatus_Bundle_AHCHRSNQuestionnaireResponseExample 1.581 s
testUnHappyPathInvalidEncounterStatus_Bundle_AHCHRSNQuestionnaireResponseExample 1.208 s
testUnHappyPathInvalidObservationStatus_Bundle_ObservationAssessmentFoodInsecurityExample 0.495 s
testUnHappyPathInvalidEncounterStatus_Bundle_NYScreeningResponseExample 1.051 s

JooqRowsSupplierTest

testSimpleQuery 0.781 s
testQueryWithDataForSingleGroupBy 0.028 s
- Expecting actual: "SELECT *, "country" FROM medals WHERE "country" = ? GROUP BY "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT * FROM medals WHERE "country" = ? OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences -
testQueryWithGroupBy 0.004 s
- Expecting actual: "SELECT "country", "gold", "country", "gold" FROM medals GROUP BY "country", "gold", "country", "gold" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country", "gold" FROM medals GROUP BY "country", "gold" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences -
testQueryWithSingleGroupBy 0.005 s
- Expecting actual: "SELECT "country", "country" FROM medals GROUP BY "country", "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country" FROM medals GROUP BY "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences -
testQueryWithFilterAndSort 0.020 s
- Expecting actual: "SELECT "country", "gold" FROM medals WHERE lower(CAST("country" AS varchar)) = lower(?) ORDER BY "gold" DESC OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country", "gold" FROM medals WHERE "country" = ? ORDER BY "gold" DESC OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences -

TabularRowsRequestTest

testDeserialization 0.059 s

IgPublicationIssuesTest

testBundle_TaskExample 7.076 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskExample(IgPublicationIssuesTest.java:228) -
testBundle_TaskCompletedExample 2.397 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskCompletedExample(IgPublicationIssuesTest.java:201) -
testBundle_ServiceRequestExample 2.327 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_ServiceRequestExample(IgPublicationIssuesTest.java:173) -
testBundle_AHCHRSNQuestionnaireResponseExample 3.175 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_AHCHRSNQuestionnaireResponseExample(IgPublicationIssuesTest.java:113) -
testBundle_AHCHRSNScreeningResponseExample 3.616 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_AHCHRSNScreeningResponseExample(IgPublicationIssuesTest.java:83) -
testBundle_ObservationAssessmentFoodInsecurityExample 2.165 s
- Multiple Failures (5 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 5 -- expected: 0L but was: 4L at IgPublicationIssuesTest.testBundle_ObservationAssessmentFoodInsecurityExample(IgPublicationIssuesTest.java:144) -
testBundle_TaskOutputProcedureExample 1.971 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskOutputProcedureExample(IgPublicationIssuesTest.java:256) -
testBundle_NYScreeningResponseExample 2.786 s
- Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_NYScreeningResponseExample(IgPublicationIssuesTest.java:285) -

JsonTextTest

testValidTypedJson 0.009 s
testInvalidJson 0.001 s
testSerializeNestedJson 0.426 s
testSerializeArrayJson 0.001 s
testSerializeEmptyJson 0.001 s
testSerializeValidJson 0 s
testSwitchMatcher 0.008 s
testClassNotFound 0.001 s
testSerializeInvalidJson 0 s
testClassNotInstantiated 0 s
testValidUntypedJson 0 s

PathsTest

testPopulateAndFindNodes 0.007 s
testDescendants 0.005 s
testPathsHtml 0.016 s
testPathsJson 0.064 s
testRelativePathResolution 0.001 s
testAncestors 0.001 s
testAsciiTree 0.001 s
testSiblings 0.001 s

JsonContentActionTest

testRejectContentTransformation 0.141 s

ResourceFactoryTest

testTextResourceFromSuffix(String, String, String)[1] 0.015 s
testTextResourceFromSuffix(String, String, String)[2] 0.001 s
testTextResourceFromSuffix(String, String, String)[3] 0.001 s
testTextResourceFromSuffix(String, String, String)[4] 0 s
testTextResourceFactoryFromSuffix_emptyResult 0 s
testTextResourceFromSuffix_emptyResult 0 s
testTextResourceFromSuffix_emptySuffix 0.002 s
testTextResourceFactoryFromSuffix(String, String)[1] 0.002 s
testTextResourceFactoryFromSuffix(String, String)[2] 0.001 s
testTextResourceFactoryFromSuffix(String, String)[3] 0.001 s
testTextResourceFactoryFromSuffix(String, String)[4] 0 s
testResourceFromSuffix(String, String, String)[1] 0.001 s
testResourceFromSuffix(String, String, String)[2] 0 s

PathSuffixesTest

givenMultipleSuffixesInSrc_thenReturnSuffixesInCorrectOrder 0 s
givenNoDelimiterInSrc_thenReturnEmptySuffixes 0.001 s
givenNoSuffixes_thenReturnEmptySuffixesList 0 s
givenSingleSuffixInSrc_thenReturnSingleSuffix 0 s
givenNullSrc_thenThrowIllegalArgumentException 0.001 s
givenEmptySrc_thenThrowIllegalArgumentException 0.001 s
givenCustomDelimiterAndMultipleSuffixes_thenReturnSuffixesInCorrectOrderInList 0.001 s
givenCustomDelimiter_thenReturnSuffixes 0.001 s
givenMultipleSuffixes_thenReturnSuffixesInCorrectOrderInList 0.001 s
givenOneSuffix_thenReturnSingleSuffixInList 0.001 s

InterpolateEngineTest

testInterpolateFormattedFilePath 0.003 s
testInterpolateCustomFunction 0.001 s

ArtifactStoreTest

testInvalidJsonHandling 0.003 s
testSingleStrategyFromJson 0.002 s
testUnknownNatureInJson 0 s
testAggregateStrategyFromJson 0.001 s

InterfaceArchRulesTest

interfacesShouldNotHaveSimpleClassNamesContainingTheWordInterface 0.025 s
interfacesShouldNotHaveNamesEndingWithTheWordInterface 0.003 s

VfsIngressConsumerTest

testVfsIngressConsumer 0.008 s

ResourcesTest

testSyntheticResources 0.176 s
testGitHubProjectResources 0.002 s
- Expecting Optional to contain a value but it was empty. -
testLocalProjectResources 0.752 s

MarkdownResourceTest

testUntypedMarkdownContentWithJsonFrontmatter 0.010 s
testMarkdownContentWithUnbalancedYamlFrontmatter 0.003 s
testUntypedMarkdownContentWithYamlFrontmatter 0.017 s
testMarkdownContentWithJsonFrontmatter 0.003 s
testMarkdownContentWithoutFrontmatter 0.001 s
testMarkdownContentWithUnbalancedJsonFrontmatter 0.001 s
testMarkdownContentWithYamlFrontmatter 0.001 s

ApplicationTests

metaDataShouldReturnCapabilities 0.001 s
- Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: Failed to load ApplicationContext for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] -
bundleValidateTestCase301WithHapiEngines 0.001 s
- Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] -
bundleValidateHealtheconnectionsUnhappyPath 0 s
- Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null] -

OrchestrationEngineTest

testOrchestrateSingleSession 0.241 s
testOrchestrateMultipleSessions 11.50 s
testValidationEngineCaching 0.034 s

GeneralArchRulesTest

loggersShouldBePrivateStaticFinal 0.008 s
classesShouldNotUseFieldInjectionExceptTests 0.023 s
- Architecture Violation [Priority: MEDIUM] - Rule 'no classes should use field injection, because field injection is considered harmful; use constructor injection or setter injection instead; see https://stackoverflow.com/q/39890849 for detailed explanations' was violated (4 times): Field <org.techbd.service.http.hub.prime.api.FHIRService.defaultPersistStrategy> is annotated with @Value in (FHIRService.java:0) Field <org.techbd.service.http.hub.prime.api.FHIRService.saveUserDataToInteractions> is annotated with @Value in (FHIRService.java:0) Field <org.techbd.service.http.hub.prime.health.BundleHealthIndicator.baseUrl> is annotated with @Value in (BundleHealthIndicator.java:0) Field <org.techbd.service.http.hub.prime.health.BundleValidateHealthIndicator.baseUrl> is annotated with @Value in (BundleValidateHealthIndicator.java:0) -
classesShouldNotUseJavaUtilLogging 0.005 s
classesShouldNotUseJodaTime 0.056 s

CyclicDependencyArchRulesTest

noCyclicDependenciesBetweenPackages 0.581 s

Failure Details

[Summary] [Package List] [Test Cases]


testQueryWithDataForSingleGroupBy
- org.opentest4j.AssertionFailedError: Expecting actual: "SELECT *, "country" FROM medals WHERE "country" = ? GROUP BY "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT * FROM medals WHERE "country" = ? OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences
-
lib.aide.tabular.JooqRowsSupplierTest:245
testQueryWithGroupBy
- org.opentest4j.AssertionFailedError: Expecting actual: "SELECT "country", "gold", "country", "gold" FROM medals GROUP BY "country", "gold", "country", "gold" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country", "gold" FROM medals GROUP BY "country", "gold" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences
-
lib.aide.tabular.JooqRowsSupplierTest:198
testQueryWithSingleGroupBy
- org.opentest4j.AssertionFailedError: Expecting actual: "SELECT "country", "country" FROM medals GROUP BY "country", "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country" FROM medals GROUP BY "country" OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences
-
lib.aide.tabular.JooqRowsSupplierTest:147
testQueryWithFilterAndSort
- org.opentest4j.AssertionFailedError: Expecting actual: "SELECT "country", "gold" FROM medals WHERE lower(CAST("country" AS varchar)) = lower(?) ORDER BY "gold" DESC OFFSET ? ROWS FETCH NEXT ? ROWS ONLY" to be equal to: "SELECT "country", "gold" FROM medals WHERE "country" = ? ORDER BY "gold" DESC OFFSET ? ROWS FETCH NEXT ? ROWS ONLY " when ignoring whitespace differences
-
lib.aide.tabular.JooqRowsSupplierTest:105
testBundle_TaskExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskExample(IgPublicationIssuesTest.java:228)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:230
testBundle_TaskCompletedExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskCompletedExample(IgPublicationIssuesTest.java:201)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:203
testBundle_ServiceRequestExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_ServiceRequestExample(IgPublicationIssuesTest.java:173)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:175
testBundle_AHCHRSNQuestionnaireResponseExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_AHCHRSNQuestionnaireResponseExample(IgPublicationIssuesTest.java:113)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:115
testBundle_AHCHRSNScreeningResponseExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_AHCHRSNScreeningResponseExample(IgPublicationIssuesTest.java:83)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:85
testBundle_ObservationAssessmentFoodInsecurityExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (5 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 5 -- expected: 0L but was: 4L at IgPublicationIssuesTest.testBundle_ObservationAssessmentFoodInsecurityExample(IgPublicationIssuesTest.java:144)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:146
testBundle_TaskOutputProcedureExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_TaskOutputProcedureExample(IgPublicationIssuesTest.java:256)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:258
testBundle_NYScreeningResponseExample
- org.assertj.core.error.AssertJMultipleFailuresError: Multiple Failures (4 failures) -- failure 1 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 2 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 3 --ValueSet 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32' not found at IgPublicationIssuesTest.assertUnexpectedIgError(IgPublicationIssuesTest.java:306) -- failure 4 -- expected: 0L but was: 3L at IgPublicationIssuesTest.testBundle_NYScreeningResponseExample(IgPublicationIssuesTest.java:285)
-
org.techbd.orchestrate.fhir.IgPublicationIssuesTest:287
testGitHubProjectResources
- java.lang.AssertionError: Expecting Optional to contain a value but it was empty.
-
lib.aide.resource.ResourcesTest:115
metaDataShouldReturnCapabilities
- org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: Failed to load ApplicationContext for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
-
org.techbd.service.http.hub.prime.ApplicationTests:
bundleValidateTestCase301WithHapiEngines
- org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
-
org.techbd.service.http.hub.prime.ApplicationTests:
bundleValidateHealtheconnectionsUnhappyPath
- org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [final org.techbd.service.http.hub.prime.AppConfig appConfig] in constructor [public org.techbd.service.http.hub.prime.ApplicationTests(org.techbd.service.http.hub.prime.AppConfig)]: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@4cb17605 testClass = org.techbd.service.http.hub.prime.ApplicationTests, locations = [], classes = [org.techbd.service.http.hub.prime.Application], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4d7d9228, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@1aabb626, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@63920de4, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@280cc2e, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@c1615aa, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@76491211, org.springframework.boot.test.context.SpringBootTestAnnotation@35bb5740], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
-
org.techbd.service.http.hub.prime.ApplicationTests:
classesShouldNotUseFieldInjectionExceptTests
- java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'no classes should use field injection, because field injection is considered harmful; use constructor injection or setter injection instead; see https://stackoverflow.com/q/39890849 for detailed explanations' was violated (4 times): Field <org.techbd.service.http.hub.prime.api.FHIRService.defaultPersistStrategy> is annotated with @Value in (FHIRService.java:0) Field <org.techbd.service.http.hub.prime.api.FHIRService.saveUserDataToInteractions> is annotated with @Value in (FHIRService.java:0) Field <org.techbd.service.http.hub.prime.health.BundleHealthIndicator.baseUrl> is annotated with @Value in (BundleHealthIndicator.java:0) Field <org.techbd.service.http.hub.prime.health.BundleValidateHealthIndicator.baseUrl> is annotated with @Value in (BundleValidateHealthIndicator.java:0)
-
archunit.GeneralArchRulesTest:54