System.Collections.Generic.List.Add(NUnit.Framework.TestCaseData)

Here are the examples of the csharp api class System.Collections.Generic.List.Add(NUnit.Framework.TestCaseData) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

6 Examples 7

1. Example

Project: workbooks
Source File: MarkdownFormatterTests.cs
public static IEnumerable<ITestCaseData> GetFormattingMdTestCases ()
        {
            con/n ..... /n //View Source file for more details /n }

2. Example

Project: atata
Source File: TestCaseDataSource.cs
protected void Add(params object[] arguments)
        {
            items.Add(new TestCaseData(arguments));
        }

3. Example

Project: atata
Source File: UIComponentResolverTests.cs
public static IEnumerable<TestCaseData> GetResolveControlNameData()
        {
            List/n ..... /n //View Source file for more details /n }

4. Example

Project: scriban
Source File: TestParser.cs
public static IEnumerable ListBuiltinFunctionTests(string functionObject)
        {
            var /n ..... /n //View Source file for more details /n }

5. Example

Project: NBi
Source File: TestSuite.cs
private IEnumerable<TestCaseData> BuildTestCases(IEnumerable<TestXml> tests)
        {
            var testCases = new List<TestCaseData>(tests.Count());

            foreach (var test in tests)
            {
                TestCaseData testCaseDataNUnit = new TestCaseData(test);
                testCaseDataNUnit.SetName(test.GetName());
                testCaseDataNUnit.SetDescription(test.Description);
                foreach (var category in test.Categories)
                    testCaseDataNUnit.SetCategory(CategoryHelper.Format(category));
                foreach (var property in test.Traits)
                    testCaseDataNUnit.SetProperty(property.Name, property.Value);

                //Assign auto-categories
                if (EnableAutoCategories)
                {
                    foreach (var system in test.Systems)
                        foreach (var category in system.GetAutoCategories())
                            testCaseDataNUnit.SetCategory(CategoryHelper.Format(category));
                }
                //Assign auto-categories
                if (EnableGroupAsCategory)
                {
                    foreach (var groupName in test.GroupNames)
                        testCaseDataNUnit.SetCategory(CategoryHelper.Format(groupName));
                }

                testCases.Add(testCaseDataNUnit);
            }
            return testCases;
        }

6. Example

Project: SaltarelleCompiler
Source File: CoreLibTestBase.cs
public IEnumerable<TestCaseData> PerformTest() {
			string filename = Path.Combine(Environment/n ..... /n //View Source file for more details /n }