diff --git a/ProjectUnitaire/ProjectUnitaire.csproj b/ProjectUnitaire/ProjectUnitaire.csproj new file mode 100644 index 0000000..f07c934 --- /dev/null +++ b/ProjectUnitaire/ProjectUnitaire.csproj @@ -0,0 +1,74 @@ + + + + + + Debug + AnyCPU + {FA55654F-097D-4E83-809E-A2C7E46563A4} + Library + Properties + ProjectUnitaire + ProjectUnitaire + v4.7.2 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 15.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages + False + UnitTest + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll + + + ..\packages\MSTest.TestFramework.1.3.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll + + + + + + + + + + + + + + {8de6c881-ff77-4cc4-b8c4-cdedd9ab13b3} + TheGameExtreme + + + + + + + Ce projet fait référence à des packages NuGet qui sont manquants sur cet ordinateur. Utilisez l'option de restauration des packages NuGet pour les télécharger. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkID=322105. Le fichier manquant est : {0}. + + + + + + \ No newline at end of file diff --git a/ProjectUnitaire/Properties/AssemblyInfo.cs b/ProjectUnitaire/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9cc3533 --- /dev/null +++ b/ProjectUnitaire/Properties/AssemblyInfo.cs @@ -0,0 +1,20 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("ProjectUnitaire")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("ProjectUnitaire")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("fa55654f-097d-4e83-809e-a2c7e46563a4")] + +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ProjectUnitaire/TestUnit.cs b/ProjectUnitaire/TestUnit.cs new file mode 100644 index 0000000..c3ffdcb --- /dev/null +++ b/ProjectUnitaire/TestUnit.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using TheGameExtreme.model; +using TheGameExtreme.model.manager; +using TheGameExtreme.viewmodel; + +namespace ProjectUnitaire +{ + [TestClass] + public class TestUnit + { + [TestMethod] + public void EndTurnTest() + { + + } + } +} diff --git a/ProjectUnitaire/packages.config b/ProjectUnitaire/packages.config new file mode 100644 index 0000000..2f7c5a1 --- /dev/null +++ b/ProjectUnitaire/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/TestUnitaire/AppInitializer.cs b/TestUnitaire/AppInitializer.cs index af77aa0..a787b93 100644 --- a/TestUnitaire/AppInitializer.cs +++ b/TestUnitaire/AppInitializer.cs @@ -1,6 +1,7 @@ using System; using System.IO; using System.Linq; +using Xamarin.Essentials; using Xamarin.UITest; using Xamarin.UITest.Queries; diff --git a/TestUnitaire/TestUnitaire.csproj b/TestUnitaire/TestUnitaire.csproj index c3bb5ac..0c2dd6e 100644 --- a/TestUnitaire/TestUnitaire.csproj +++ b/TestUnitaire/TestUnitaire.csproj @@ -1,4 +1,4 @@ - + Debug @@ -29,6 +29,9 @@ ..\packages\NUnit.2.6.3\lib\nunit.framework.dll + + ..\..\..\Microsoft\Xamarin\NuGet\xamarin.essentials\1.2.0\lib\xamarinios10\Xamarin.Essentials.dll + ..\packages\Xamarin.UITest.2.2.7\lib\net45\Xamarin.UITest.dll diff --git a/TheGameExtreme.Android/Resources/Resource.designer.cs b/TheGameExtreme.Android/Resources/Resource.designer.cs index 38335a6..2254765 100644 --- a/TheGameExtreme.Android/Resources/Resource.designer.cs +++ b/TheGameExtreme.Android/Resources/Resource.designer.cs @@ -1,11 +1,11 @@ #pragma warning disable 1591 //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// Ce code a été généré par un outil. +// Version du runtime :4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si +// le code est régénéré. // //------------------------------------------------------------------------------ diff --git a/TheGameExtreme.sln b/TheGameExtreme.sln index d542605..e78b001 100644 --- a/TheGameExtreme.sln +++ b/TheGameExtreme.sln @@ -1,71 +1,92 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29326.143 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TheGameExtreme.Android", "TheGameExtreme.Android\TheGameExtreme.Android.csproj", "{DD6C4FD6-058C-41F9-824F-84DABA5DD444}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TheGameExtreme.iOS", "TheGameExtreme.iOS\TheGameExtreme.iOS.csproj", "{37A0EC21-60A9-43D2-8B43-3851E1CB7932}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TheGameExtreme", "TheGameExtreme\TheGameExtreme.csproj", "{8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TheGameExtreme", "TheGameExtreme\TheGameExtreme.csproj", "{8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestUnitaire", "TestUnitaire\TestUnitaire.csproj", "{DAB0A3A0-CD99-4819-A813-01F10D77BAB1}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectUnitaire", "ProjectUnitaire\ProjectUnitaire.csproj", "{FA55654F-097D-4E83-809E-A2C7E46563A4}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - Debug|iPhoneSimulator = Debug|iPhoneSimulator - Release|iPhoneSimulator = Release|iPhoneSimulator Debug|iPhone = Debug|iPhone + Debug|iPhoneSimulator = Debug|iPhoneSimulator + Release|Any CPU = Release|Any CPU Release|iPhone = Release|iPhone + Release|iPhoneSimulator = Release|iPhoneSimulator EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|Any CPU.Build.0 = Release|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhoneSimulator.Build.0 = Release|Any CPU {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhone.ActiveCfg = Debug|Any CPU {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhone.Build.0 = Debug|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|Any CPU.Build.0 = Release|Any CPU {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhone.ActiveCfg = Release|Any CPU {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhone.Build.0 = Release|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {DD6C4FD6-058C-41F9-824F-84DABA5DD444}.Release|iPhoneSimulator.Build.0 = Release|Any CPU {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|Any CPU.Build.0 = Release|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator - {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhone.ActiveCfg = Debug|iPhone {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhone.Build.0 = Debug|iPhone + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|Any CPU.Build.0 = Release|iPhoneSimulator {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhone.ActiveCfg = Release|iPhone {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhone.Build.0 = Release|iPhone + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator + {37A0EC21-60A9-43D2-8B43-3851E1CB7932}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|Any CPU.Build.0 = Release|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhoneSimulator.Build.0 = Release|Any CPU {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhone.ActiveCfg = Debug|Any CPU {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhone.Build.0 = Debug|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|Any CPU.Build.0 = Release|Any CPU {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhone.ActiveCfg = Release|Any CPU {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhone.Build.0 = Release|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {8DE6C881-FF77-4CC4-B8C4-CDEDD9AB13B3}.Release|iPhoneSimulator.Build.0 = Release|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|Any CPU.Build.0 = Release|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhoneSimulator.Build.0 = Release|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhone.ActiveCfg = Debug|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhone.Build.0 = Debug|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|Any CPU.Build.0 = Release|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhone.ActiveCfg = Release|Any CPU {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhone.Build.0 = Release|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {DAB0A3A0-CD99-4819-A813-01F10D77BAB1}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|iPhone.Build.0 = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|Any CPU.Build.0 = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|iPhone.ActiveCfg = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|iPhone.Build.0 = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {FA55654F-097D-4E83-809E-A2C7E46563A4}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {CE861694-2931-4837-843C-8422D2AFC8D6} EndGlobalSection EndGlobal diff --git a/TheGameExtreme/TheGameExtreme.csproj b/TheGameExtreme/TheGameExtreme.csproj index d583dae..58ec1ba 100644 --- a/TheGameExtreme/TheGameExtreme.csproj +++ b/TheGameExtreme/TheGameExtreme.csproj @@ -10,12 +10,9 @@ - - - diff --git a/TheGameExtreme/viewmodel/Main.cs b/TheGameExtreme/viewmodel/Main.cs index 11f3f67..bc32584 100644 --- a/TheGameExtreme/viewmodel/Main.cs +++ b/TheGameExtreme/viewmodel/Main.cs @@ -46,6 +46,10 @@ namespace TheGameExtreme.viewmodel ListOrderedStacks = gameManager.ListOrderedStacks; } + public Main() + { + } + protected internal void OnPlayerChanged(object source, PlayerChangedEventArgs args) { CurrentHand = args.NewCurrentHand;