Beispiel #1
0
        public TestCase(TestFixture fixture, AsyncTestAttribute attr, MethodInfo method)
        {
            this.Fixture   = fixture;
            this.Attribute = attr;
            this.Method    = method;
            this.Name      = method.Name;

            IDictionary <Type, TestCategoryAttribute> categories;
            IList <TestWarning> warnings;

            TestFixture.Resolve(
                fixture.Suite, fixture, method, out categories,
                out warnings, out config, out disabled);

            Categories = categories.Values.ToList().AsReadOnly();
            Warnings   = warnings;
        }