Class RestoreThreadContextClassloader
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.atlassian.confluence.util.test.rules.RestoreThreadContextClassloader
-
- All Implemented Interfaces:
org.junit.rules.TestRule
@Deprecated public final class RestoreThreadContextClassloader extends org.junit.rules.ExternalResource
Deprecated.since 7.20 no replacementA JUnit Rule which makes sure that the Thread context Classloader is the same after the test completes as was present before it started.- Since:
- 7.14
-
-
Constructor Summary
Constructors Constructor Description RestoreThreadContextClassloader()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
after()
Deprecated.protected void
before()
Deprecated.
-