public static IEnumerable <object[]> Jeu2TestFile() { var tests = RegexFoundingUnitTest.Load(@"C:\projets\Bdd\VersionDB4\VersionDB4LibUnitTests\Jeux2TestDBComparer.Json").ToList(); foreach (var exp in tests) { yield return(new object[] { exp }); } }
public Form1() { InitializeComponent(); fullFileName = Path.Combine(Application.StartupPath, "Jeux2Test.Json"); datas = RegexFoundingUnitTest.Load(fullFileName).ToList(); isChange = false; lblNo.Visible = false; cbAction.DataSource = SqlAction.List().Where(x => x.SqlActionId > 1).ToList(); cbWhat.DataSource = TypeObject.List().Where(x => x.TypeObjectId >= 0).ToList(); lblInfos.Text = string.Empty; Choix_SelectedIndexChanged(null, null); GereBoutton(); }