Beispiel #1
0
 protected virtual void PresentBehaviorSpecification(BehaviorSpecificationElement element,
                                                 IPresentableItem item,
                                                 TreeModelNode modelNode,
                                                 PresentationState state)
 {
     PresentItem(item, element, state, UnitTestElementImage.Test);
 }
 protected virtual void PresentBehaviorSpecification(BehaviorSpecificationElement element,
                                                     IPresentableItem item,
                                                     TreeModelNode modelNode,
                                                     PresentationState state)
 {
     PresentItem(item, element, state, UnitTestElementImage.Test);
 }
 public UnitTestTask CreateBehaviorSpecificationTask(ContextElement context,
                                                     BehaviorSpecificationElement behaviorSpecification)
 {
   return new UnitTestTask(behaviorSpecification,
                           new BehaviorSpecificationTask(_providerId,
                                                         context.AssemblyLocation,
                                                         context.GetTypeClrName().FullName,
                                                         behaviorSpecification.Behavior.FieldName,
                                                         behaviorSpecification.FieldName,
                                                         behaviorSpecification.Behavior.FieldType));
 }
 public UnitTestTask CreateBehaviorSpecificationTask(ContextElement context,
                                                 BehaviorSpecificationElement behaviorSpecification,
                                                 bool isExplicit)
 {
     return new UnitTestTask(behaviorSpecification,
                       new BehaviorSpecificationTask(_providerId,
                                                     context.AssemblyLocation,
                                                     context.GetTypeClrName(),
                                                     behaviorSpecification.FieldName,
                                                     behaviorSpecification.GetTypeClrName(),
                                                     false));
 }