Use exact type for objectUnderTest in groovy tests 67/134267/1
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 21 Apr 2023 09:54:11 +0000 (10:54 +0100)
committerDaniel Hanrahan <daniel.hanrahan@est.tech>
Fri, 21 Apr 2023 09:58:47 +0000 (09:58 +0000)
commitdce6dfe44d952591780ef2a8b2375d4d1de5f5ba
treee53cbfd08d24dd1ac4c7544fa122e7c0df21ec43
parentb3c3d36266493a93cb40a5d76de9fc5b80fec789
Use exact type for objectUnderTest in groovy tests

Intelli-J doesn't know the type of objectUnderTest since it is
assigned in setup function. Thus many IDE features such as as
JavaDocs and error detection of wrong arguments are unavailable.
By setting the exact type, all IDE features are enabled.

Issue-ID: CPS-1621
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I3dabf82ef9d07b3c18f9820fa768344c2eeec1b6
integration-test/src/test/groovy/org/onap/cps/integration/functional/CpsAdminServiceIntegrationSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/CpsAdminServiceLimits.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/CpsDataServiceLimits.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/GetPerfTest.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/cps/QueryPerfTest.groovy
integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryPerfTest.groovy