public class ContextClassLoaderExtension extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder
Builder for
ContextClassLoaderExtension. |
public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
beforeAll 在接口中 org.junit.jupiter.api.extension.BeforeAllCallbackExceptionpublic void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
afterAll 在接口中 org.junit.jupiter.api.extension.AfterAllCallbackExceptionpublic static ContextClassLoaderExtension.ContextClassLoaderExtensionBuilder builder()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.