public class TestBizModel
extends com.alipay.sofa.ark.container.model.BizModel
| Constructor and Description |
|---|
TestBizModel(TestBizConfig config)
Constructor for TestBizModel.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
executeTest(Runnable runnable)
executeTest.
|
List<Class<?>> |
getTestClasses()
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()
registerBiz.
|
getAttributes, getBizClassLoader, getBizName, getBizState, getBizStateRecords, getBizTempWorkDir, getBizUrl, getBizVersion, getClassPath, getDenyImportClasses, getDenyImportPackageNodes, getDenyImportPackages, getDenyImportPackageStems, getDenyImportResources, getDenyPrefixImportResourceStems, getDenySuffixImportResourceStems, getIdentity, getInjectExportPackages, getInjectPluginDependencies, getMainClass, getPriority, getWebContextPath, recycleBizTempWorkDir, setAttribute, setAttributes, setBizName, setBizState, setBizState, setBizState, setBizTempWorkDir, setBizUrl, setBizVersion, setClassLoader, setClassPath, setCustomBizName, setDeclaredLibraries, setDenyImportClasses, setDenyImportPackages, setDenyImportResources, setInjectExportPackages, setInjectPluginDependencies, setMainClass, setPluginClassPath, setPriority, setWebContextPath, start, start, stop, toStringpublic TestBizModel(TestBizConfig config)
Constructor for TestBizModel.
config - a TestBizConfig objectpublic void registerBiz()
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)
executeTest.
runnable - a Runnable objectCompletableFuture objectCopyright © 2024. All rights reserved.