Package org.spockframework.runtime.model

Examples of org.spockframework.runtime.model.MethodInfo


   }

   @Override
   public boolean shouldRun(Description description)
   {
      final MethodInfo featureMethod = findCorrespondingFeatureMethod(description.getMethodName());
      if (NOT_FOUND.equals(featureMethod))
      {
         return false;
      }
      return methodName.equals(featureMethod.getReflection().getName());
   }
View Full Code Here


      }
   }

   private MethodInfo findCorrespondingFeatureMethod(String featureMethodName)
   {
      MethodInfo methodInfo = NOT_FOUND;
      for (FeatureInfo feature : currentSpec.getAllFeatures())
      {
         MethodInfo featureMethod = feature.getFeatureMethod();
         if (featureMethodName.equals(featureMethod.getName()))
         {
            methodInfo = featureMethod;
            break;
         }
      }
View Full Code Here

TOP

Related Classes of org.spockframework.runtime.model.MethodInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.