Package com.consol.citrus.junit
Class CitrusFrameworkMethod
- java.lang.Object
-
- org.junit.runners.model.FrameworkMember<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.model.FrameworkMethod
-
- com.consol.citrus.junit.CitrusFrameworkMethod
-
- All Implemented Interfaces:
org.junit.runners.model.Annotatable
public class CitrusFrameworkMethod extends org.junit.runners.model.FrameworkMethodSpecial framework method also holding test name and package coming fromCitrusTestorCitrusXmlTestannotation. This way execution can decide which test to invoke when annotation has more than one test name defined or package scan is used in annotation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCitrusFrameworkMethod.Runner
-
Constructor Summary
Constructors Constructor Description CitrusFrameworkMethod(Method method, String testName, String packageName)Returns a newFrameworkMethodformethod
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String key)Gets attribute value from framework method.StringgetPackageName()Gets the test package name.StringgetTestName()Gets the test name.voidsetAttribute(String key, Object value)Adds attribute value to framework method.-
Methods inherited from class org.junit.runners.model.FrameworkMethod
equals, getAnnotation, getAnnotations, getDeclaringClass, getMethod, getModifiers, getName, getReturnType, getType, hashCode, invokeExplosively, isShadowedBy, producesType, toString, validateNoTypeParametersOnArgs, validatePublicVoid, validatePublicVoidNoArg
-
-