Package io.quarkus.test.bootstrap
Class ScenarioContext
- java.lang.Object
-
- io.quarkus.test.bootstrap.ScenarioContext
-
public final class ScenarioContext extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Annotation>
TgetAnnotation(Class<T> annotationClass)StringgetId()PathgetLogFile()PathgetLogFolder()StringgetRunningTestClassName()Optional<String>getRunningTestMethodName()TestContextgetTestContext()TestContext.TestStoregetTestStore()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass)booleanisDebug()booleanisFailed()voidsetDebug(boolean debug)voidsetMethodTestContext(TestContext methodTestContext, String testMethodName)ScenarioContexttoClassScenarioContext()
-
-
-
Method Detail
-
toClassScenarioContext
public ScenarioContext toClassScenarioContext()
-
getId
public String getId()
-
isFailed
public boolean isFailed()
-
isDebug
public boolean isDebug()
-
setDebug
public void setDebug(boolean debug)
-
getRunningTestClassName
public String getRunningTestClassName()
-
getTestStore
public TestContext.TestStore getTestStore()
-
getTestContext
public TestContext getTestContext()
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
-
setMethodTestContext
public void setMethodTestContext(TestContext methodTestContext, String testMethodName)
-
getLogFolder
public Path getLogFolder()
-
getLogFile
public Path getLogFile()
-
-