From fd8881ccc0ebe2e42ae6848f37a1fe84bd764c06 Mon Sep 17 00:00:00 2001 From: hulivet1 Date: Wed, 26 Oct 2022 12:57:38 +0200 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/ConsEco.sln | 3 ++- Code/Model/Manager.cs | 3 ++- Code/TestsUnitaires/TestUnitPgSQL.cs | 15 +++++++++++++++ Code/TestsUnitaires/TestsUnitaires.csproj | 1 + 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 Code/TestsUnitaires/TestUnitPgSQL.cs diff --git a/Code/ConsEco.sln b/Code/ConsEco.sln index 4d578dd..721d155 100644 --- a/Code/ConsEco.sln +++ b/Code/ConsEco.sln @@ -11,10 +11,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFonctionnel", "TestFonc EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestsUnitaires", "TestsUnitaires\TestsUnitaires.csproj", "{B1AE713C-B5DE-4E81-A33F-818AAD0548A7}" ProjectSection(ProjectDependencies) = postProject + {4A9DB718-B874-4565-87B0-57C73B9BE240} = {4A9DB718-B874-4565-87B0-57C73B9BE240} {ACFA83F8-98C8-43AE-9328-B3F751098FFA} = {ACFA83F8-98C8-43AE-9328-B3F751098FFA} EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinqToPgSQL", "LinqToPgSQL\LinqToPgSQL.csproj", "{4A9DB718-B874-4565-87B0-57C73B9BE240}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LinqToPgSQL", "LinqToPgSQL\LinqToPgSQL.csproj", "{4A9DB718-B874-4565-87B0-57C73B9BE240}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/Code/Model/Manager.cs b/Code/Model/Manager.cs index 55f5c7e..ccd751b 100644 --- a/Code/Model/Manager.cs +++ b/Code/Model/Manager.cs @@ -13,7 +13,8 @@ namespace Model { public event PropertyChangedEventHandler? PropertyChanged; public IPersistanceManager Pers { get; private set; } - public string SelectedInscrits; + + public string SelectedInscrits { get; private set; } public Banque SelectedBanque { diff --git a/Code/TestsUnitaires/TestUnitPgSQL.cs b/Code/TestsUnitaires/TestUnitPgSQL.cs new file mode 100644 index 0000000..447186a --- /dev/null +++ b/Code/TestsUnitaires/TestUnitPgSQL.cs @@ -0,0 +1,15 @@ +using Model; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TestsUnitaires +{ + public class TestUnitPgSQL + { + // Manager m = new Manager(new LinqToPgSQL.PersLinqToPgSQL()); + + } +} diff --git a/Code/TestsUnitaires/TestsUnitaires.csproj b/Code/TestsUnitaires/TestsUnitaires.csproj index 5f195f2..bb80a84 100644 --- a/Code/TestsUnitaires/TestsUnitaires.csproj +++ b/Code/TestsUnitaires/TestsUnitaires.csproj @@ -22,6 +22,7 @@ +