public class TestBizModel
extends com.alipay.sofa.ark.container.model.BizModel
| Constructor and Description |
|---|
TestBizModel(TestBizConfig config) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
executeTest(Runnable runnable) |
List<Class<?>> |
getTestClasses() |
boolean |
isDeclared(URL url,
String resourceName)
due to the complexity of mock a BizClassLoader environment, we just return true here.
|
boolean |
isDeclaredMode() |
void |
registerBiz() |
getAttributes, getBizClassLoader, getBizName, getBizState, getBizStateRecords, getBizTempWorkDir, getBizVersion, getClassPath, getDenyImportClasses, getDenyImportPackageNodes, getDenyImportPackages, getDenyImportPackageStems, getDenyImportResources, getDenyPrefixImportResourceStems, getDenySuffixImportResourceStems, getIdentity, getInjectExportPackages, getInjectPluginDependencies, getMainClass, getPriority, getWebContextPath, setAttribute, setAttributes, setBizName, setBizState, setBizTempWorkDir, setBizVersion, setClassLoader, setClassPath, setCustomBizName, setDeclaredLibraries, setDenyImportClasses, setDenyImportPackages, setDenyImportResources, setInjectExportPackages, setInjectPluginDependencies, setMainClass, setPluginClassPath, setPriority, setWebContextPath, start, start, stop, toStringpublic TestBizModel(TestBizConfig config)
public void registerBiz()
public boolean isDeclared(URL url, String resourceName)
isDeclared in interface com.alipay.sofa.ark.spi.model.BizisDeclared in class com.alipay.sofa.ark.container.model.BizModelpublic boolean isDeclaredMode()
isDeclaredMode in interface com.alipay.sofa.ark.spi.model.BizisDeclaredMode in class com.alipay.sofa.ark.container.model.BizModelpublic CompletableFuture<Void> executeTest(Runnable runnable)
Copyright © 2024. All rights reserved.