org.easetech.easytest.runner
Class EasyFrameworkMethod

java.lang.Object
  extended by org.junit.runners.model.FrameworkMethod
      extended by org.easetech.easytest.runner.EasyFrameworkMethod

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

An extension of FrameworkMethod to introduce custom method name getters and setters.

Author:
Anuj Kumar

Constructor Summary
EasyFrameworkMethod(Method method)
          Construct a new EasyFrameworkMethod
 
Method Summary
 String getName()
          Returns the method's name
 void setName(String name)
          Set the method's name
 
Methods inherited from class org.junit.runners.model.FrameworkMethod
equals, getAnnotation, getAnnotations, getMethod, hashCode, invokeExplosively, isShadowedBy, producesType, validateNoTypeParametersOnArgs, validatePublicVoid, validatePublicVoidNoArg
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyFrameworkMethod

public EasyFrameworkMethod(Method method)
Construct a new EasyFrameworkMethod

Parameters:
method - the method
Method Detail

getName

public String getName()
Returns the method's name

Overrides:
getName in class org.junit.runners.model.FrameworkMethod

setName

public void setName(String name)
Set the method's name

Parameters:
name - the name of the method to set.


Copyright © 2013. All Rights Reserved.