org.specrunner.junit
Class ScenarioFrameworkMethod

java.lang.Object
  extended by org.junit.runners.model.FrameworkMember<org.junit.runners.model.FrameworkMethod>
      extended by org.junit.runners.model.FrameworkMethod
          extended by org.specrunner.junit.ScenarioFrameworkMethod

public class ScenarioFrameworkMethod
extends org.junit.runners.model.FrameworkMethod

Extension to hold scenario names.

Author:
Thiago Santos

Constructor Summary
ScenarioFrameworkMethod(Method method, String name)
          A scenario name.
 
Method Summary
 String getName()
           
 void setName(String name)
          Set the scenario name.
 
Methods inherited from class org.junit.runners.model.FrameworkMethod
equals, getAnnotation, getAnnotations, getMethod, getReturnType, getType, hashCode, invokeExplosively, isPublic, isShadowedBy, isStatic, producesType, validateNoTypeParametersOnArgs, validatePublicVoid, validatePublicVoidNoArg
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioFrameworkMethod

public ScenarioFrameworkMethod(Method method,
                               String name)
A scenario name.

Parameters:
method - A method.
name - A scenario name.
Method Detail

getName

public String getName()
Overrides:
getName in class org.junit.runners.model.FrameworkMethod

setName

public void setName(String name)
Set the scenario name.

Parameters:
name - The scenario name.


Copyright © 2014. All rights reserved.