Example #1
0
        internal TestFixture(TestSuite suite, ITestFramework framework,
                             AsyncTestFixtureAttribute attr, Type type)
        {
            this.Suite     = suite;
            this.Framework = framework;
            this.Attribute = attr;
            this.Type      = type;

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

            Resolve(suite, null, type, out categories, out warnings, out config, out disabled);
            Categories = categories.Values.ToList().AsReadOnly();
            Warnings   = warnings;
        }
Example #2
0
		internal TestFixture (TestSuite suite, ITestFramework framework,
		                      AsyncTestFixtureAttribute attr, Type type)
		{
			this.Suite = suite;
			this.Framework = framework;
			this.Attribute = attr;
			this.Type = type;

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

			Resolve (suite, null, type, out categories, out warnings, out config, out disabled);
			Categories = categories.Values.ToList ().AsReadOnly ();
			Warnings = warnings;
		}