Package org.anasoid.jmc.core.application
Class ApplicationTest
- java.lang.Object
-
- org.anasoid.jmc.core.application.ApplicationTest
-
public class ApplicationTest extends java.lang.ObjectMain application for Test.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplicationTest(TestElementWrapper<?> testElement)Only for Test.protectedApplicationTest(TestElementWrapper<?> testElement, java.util.List<PrepareInterceptor> prepareInterceptors)Only for Test.ApplicationTest(TestPlanWrapper testPlanWrapper)create application test.ApplicationTest(TestPlanWrapper testPlanWrapper, java.util.List<PrepareInterceptor> prepareInterceptors)create application test.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.anasoid.jmc.core.application.ScriptWrappercreateScript()protected voidprepare(org.anasoid.jmc.core.application.ScriptWrapper script)voidrun()Execute test.TestElementWrappertoJmx(java.io.File file)Generate Jmx file.TestElementWrappertoJmx(java.io.Writer out)Generate Jmx file.protected voidvalidate(org.anasoid.jmc.core.application.ScriptWrapper script)
-
-
-
Constructor Detail
-
ApplicationTest
public ApplicationTest(TestPlanWrapper testPlanWrapper)
create application test.- Parameters:
testPlanWrapper- test plan.
-
ApplicationTest
public ApplicationTest(TestPlanWrapper testPlanWrapper, java.util.List<PrepareInterceptor> prepareInterceptors)
create application test.- Parameters:
testPlanWrapper- test plan.prepareInterceptors- interceptors.
-
ApplicationTest
protected ApplicationTest(TestElementWrapper<?> testElement, java.util.List<PrepareInterceptor> prepareInterceptors)
Only for Test.
-
ApplicationTest
protected ApplicationTest(TestElementWrapper<?> testElement)
Only for Test.
-
-
Method Detail
-
toJmx
public TestElementWrapper toJmx(java.io.Writer out) throws java.io.IOException
Generate Jmx file.- Parameters:
out- Destination output.- Throws:
java.io.IOException- – If an I/O error occurs.
-
toJmx
public TestElementWrapper toJmx(java.io.File file) throws java.io.IOException
Generate Jmx file.- Parameters:
file- Destination output.- Throws:
java.io.IOException- – If an I/O error occurs.
-
createScript
protected org.anasoid.jmc.core.application.ScriptWrapper createScript()
-
validate
protected void validate(org.anasoid.jmc.core.application.ScriptWrapper script)
-
prepare
protected void prepare(org.anasoid.jmc.core.application.ScriptWrapper script)
-
run
public void run() throws java.io.IOExceptionExecute test.- Throws:
java.io.IOException- – If an I/O error occurs.
-
-