Template
chore: deploy initial code base
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using NUnit.Framework;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
|
||||
namespace Strata.ContinuousImprovement.JazzEntityFrameworkStub
|
||||
{
|
||||
public partial class JazzEntityFrameworkFactory
|
||||
{
|
||||
#region TestCaseData
|
||||
|
||||
public static IEnumerable<TestCaseData> GetFrameworks()
|
||||
{
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory())
|
||||
.SetName("{m} With FrameworkFactory");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory { TestName = string.Empty })
|
||||
.SetName("{m} Without Context");
|
||||
}
|
||||
|
||||
public static IEnumerable<TestCaseData> GetFrameworksWithCancellation()
|
||||
{
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory(), CancellationToken.None)
|
||||
.SetName("{m} With FrameworkFactory")
|
||||
.Ignore("Under investigation");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory { TestName = string.Empty }, CancellationToken.None)
|
||||
.SetName("{m} Without Context");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory(), new CancellationToken(true))
|
||||
.SetName("{m} With FrameworkFactory Canceled");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory { TestName = string.Empty }, new CancellationToken(true))
|
||||
.SetName("{m} Without Context Canceled");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory(), new CancellationToken(false))
|
||||
.SetName("{m} With FrameworkFactory not Canceled");
|
||||
|
||||
yield return new TestCaseData(new JazzEntityFrameworkFactory { TestName = string.Empty }, new CancellationToken(false))
|
||||
.SetName("{m} Without Context not Canceled");
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user