public class ContainerManagerTest extends Object
ContainerManager.
When running this test you will see ERROR logs about org.springframework.web not starting because it can't resolve the servlet
package. This is because this component is provided at runtime by the servlet container, that is,
Tomcat. I think the right fix here is to allow the framework bundles to be configured for this test, since we don't need the
full set of framework bundles in this case. Even better, we could break up ContainerManager into more testable pieces, as it
is quite a monolith.| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerManagerTest.Helper |
| Modifier and Type | Field and Description |
|---|---|
org.junit.contrib.java.lang.system.RestoreSystemProperties |
restoreSystemProperties |
| Constructor and Description |
|---|
ContainerManagerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
tenantAvailableAfterEarlyStartupWhenTenancyNotEnabled() |
void |
tenantNotAvailableAfterEarlyStatupWhenTenancyEnabled() |
public org.junit.contrib.java.lang.system.RestoreSystemProperties restoreSystemProperties
Copyright © 2018 Atlassian. All rights reserved.