public class SpecInfo extends NodeInfo<NodeInfo,java.lang.Class<?>> implements IMethodNameMapper, ISkippable, IExcludable, IInterceptable
Constructor and Description |
---|
SpecInfo() |
getDescription, getLine, getMetadata, getName, getParent, getReflection, isStub, setDescription, setLine, setMetadata, setName, setParent, setReflection
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
public SpecInfo getSuperSpec()
public void setSuperSpec(SpecInfo superSpec)
public SpecInfo getSubSpec()
public void setSubSpec(SpecInfo subSpec)
public SpecInfo getTopSpec()
public boolean isTopSpec()
public SpecInfo getBottomSpec()
public boolean isBottomSpec()
public java.util.List<SpecInfo> getSpecsTopToBottom()
public java.util.List<SpecInfo> getSpecsBottomToTop()
public FieldInfo getSharedInstanceField()
public void setSharedInstanceField(FieldInfo sharedInstanceField)
public MethodInfo getInitializerMethod()
public void setInitializerMethod(MethodInfo initializerMethod)
public MethodInfo getSharedInitializerMethod()
public void setSharedInitializerMethod(MethodInfo sharedInitializerMethod)
public MethodInfo getSetupMethod()
public void setSetupMethod(MethodInfo setupMethod)
public MethodInfo getCleanupMethod()
public void setCleanupMethod(MethodInfo cleanupMethod)
public MethodInfo getSetupSpecMethod()
public void setSetupSpecMethod(MethodInfo setupSpecMethod)
public MethodInfo getCleanupSpecMethod()
public void setCleanupSpecMethod(MethodInfo cleanupSpecMethod)
public java.util.List<MethodInfo> getFixtureMethods()
public java.util.List<MethodInfo> getAllFixtureMethods()
public java.util.List<FieldInfo> getFields()
public java.util.List<FieldInfo> getAllFields()
public void addField(FieldInfo field)
public java.util.List<FeatureInfo> getFeatures()
public java.util.List<FeatureInfo> getAllFeatures()
public java.util.List<FeatureInfo> getAllFeaturesInExecutionOrder()
public void addFeature(FeatureInfo feature)
public java.util.List<IMethodInterceptor> getInterceptors()
getInterceptors
in interface IInterceptable
public void addInterceptor(IMethodInterceptor interceptor)
addInterceptor
in interface IInterceptable
public java.util.List<IRunListener> getListeners()
public void addListener(IRunListener listener)
public boolean isExcluded()
isExcluded
in interface IExcludable
public void setExcluded(boolean excluded)
setExcluded
in interface IExcludable
public boolean isSkipped()
isSkipped
in interface ISkippable
public void setSkipped(boolean skipped)
setSkipped
in interface ISkippable
public void filterFeatures(IFeatureFilter filter)
public void sortFeatures(IFeatureSortOrder order)
public boolean isInitializerOrFixtureMethod(java.lang.String className, java.lang.String methodName)
isInitializerOrFixtureMethod
in interface IMethodNameMapper
public java.lang.String toFeatureName(java.lang.String methodName)
toFeatureName
in interface IMethodNameMapper
Copyright © 2014. All rights reserved