Class SetupTest
java.lang.Object
test.de.iip_ecosphere.platform.services.spring.SetupTest
@SpringBootTest(classes=Config.class)
@TestPropertySource(locations="classpath:iipecosphere.yml")
@ContextConfiguration(initializers=Initializer.class)
@Import(de.iip_ecosphere.platform.services.spring.SpringCloudServiceSetup.class)
public class SetupTest
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfigures the context, in particular through instances that are not loaded automatically by Spring in tests.static classInitializes/modifies the spring setup. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate de.iip_ecosphere.platform.services.spring.SpringCloudServiceSetup -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
config
@Autowired private de.iip_ecosphere.platform.services.spring.SpringCloudServiceSetup config
-
-
Constructor Details
-
SetupTest
public SetupTest()
-
-
Method Details
-
testSetup
public void testSetup()Tests the setup.
-