Package test.de.iip_ecosphere.platform.services.spring
package test.de.iip_ecosphere.platform.services.spring
Tests for the spring-based implementation of the service manager. This folder contains some basic tests that can be
executed independently of the plugin character of this project. However, real execution tests can only be conducted
in an environment with a clean root class loader (only platform layers, dependencies only via plugins). This is not
possible here and happens in the subproject services.spring.plugintests (based on the simple test application in
test.simpleStream.spring). The actual tests are implemented here, provided through the SpringTestProviderDescriptor
to services.spring.plugintests and executed there.
-
ClassesClassDescriptionAbstract common test setup.Abstract, common test for service manager/service execution tests.A fake service implementation for testing.Defines all basic tests (no app execution, AAS plugin independent) to be executed.Tests the YAML descriptor implementation and the
Validator.Allows testing service descriptors in Spring Service Jar artifacts.Tests uncovered aspects ofDescriptorUtils.TestsSpringCloudServiceManager.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.Simple program to test Spring-packaged jar files for contained classes.TestsServerManagerandArtifactResolver.TestsSpringCloudServiceManager.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.Simple test for the service factory.Tests selected service manager functionality based on simplified instances of a service manager loaded from a descriptor file.A mocking service manager for a given service artifact.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.TestsSpringCloudServiceManager.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.Provides the tests requiring plugins/classloader separation to the external classpath-less test project.Tests the lifecycle descriptor and the startup behavior/dependencies.A simple server for testing.TestsUtils.TestsSpringCloudServiceManager.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.TestsSpringCloudServiceManager.Configures the context, in particular through instances that are not loaded automatically by Spring in tests.Initializes/modifies the spring setup.