Пример #1
0
        public FixtureMeta(TestFixtureAttributeBase attribute, Type type)
            : this()
        {
            Name = type.Name;
            UniqueName = string.Format("T:{0}.{1}", type.Namespace, type.Name);

            if (attribute != null)
            {
                Description = attribute.GetDescription(type);
                Category = attribute.GetCategories(type);
            }
        }
Пример #2
0
 public Fixture(TestFixtureAttributeBase attribute, Type type)
     : base(attribute, type)
 {
     Type = type;
     Attribute = attribute;
 }