diff options
author | 2021-01-13 19:12:25 +0100 | |
---|---|---|
committer | 2021-01-21 18:52:55 +0100 | |
commit | 1b8a4dd237077944df7bef5fa04c412da01029f0 (patch) | |
tree | 5b3d9f62011f82b0d78c9a43a1363de635af21f8 /cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy | |
parent | cd9f368b1f3c5e25e17e21649e582d84a909ac79 (diff) |
Introduce caffeine cache
Issue-ID: CPS-163
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iff9b831c2d895d82aff419f60a8dd86a38b545d0
Diffstat (limited to 'cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy')
-rwxr-xr-x | cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy b/cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy index 22dc39ad9..d6751bb4e 100755 --- a/cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy +++ b/cps-service/src/test/groovy/org/onap/cps/api/impl/E2ENetworkSliceSpec.groovy @@ -24,13 +24,14 @@ import org.onap.cps.TestUtils import org.onap.cps.spi.CpsModulePersistenceService
import spock.lang.Specification
-
class E2ENetworkSliceSpec extends Specification {
def mockModuleStoreService = Mock(CpsModulePersistenceService)
+ def mockYangTextSchemaSourceSetCache = Mock(YangTextSchemaSourceSetCache)
def objectUnderTest = new CpsModuleServiceImpl()
def setup() {
objectUnderTest.cpsModulePersistenceService = mockModuleStoreService
+ objectUnderTest.yangTextSchemaSourceSetCache = mockYangTextSchemaSourceSetCache
}
def 'E2E model can be parsed by CPS.'() {
|