From cfd61a87e85e6e7c777c727028908be5872e2726 Mon Sep 17 00:00:00 2001 From: Geoffroy Bonneville Date: Tue, 26 Sep 2017 15:39:50 +0200 Subject: [PATCH] Removed unused projects --- .../KeePass2PCL.Test.Desktop.csproj | 102 ---------- KeePass2PCL.Test.Desktop/app.config | 19 -- KeePass2PCL.Test.Desktop/packages.config | 18 -- .../Cipher/StandardAesEngineTests.cs | 65 ------- .../Cryptography/CryptoRandomStreamTests.cs | 60 ------ .../Cryptography/CryptoRandomTests.cs | 44 ----- .../Cryptography/HashingStreamExTests.cs | 77 -------- .../Cryptography/HmacOtpTests.cs | 36 ---- .../KeePass2PCL.Test.Shared.projitems | 30 --- .../KeePass2PCL.Test.Shared.shproj | 11 -- .../Keys/CompositeKeyTests.cs | 34 ---- .../Keys/KcpCustomKeyTests.cs | 39 ---- .../Keys/KcpKeyFileTests.cs | 76 -------- .../Keys/KcpPasswordTests.cs | 33 ---- KeePass2PCL.Test.Shared/MyClass.cs | 12 -- .../Serialization/HashedBlockStreamTests.cs | 71 ------- .../Serialization/KdbxFileTests.cs | 181 ------------------ .../Utility/GfxUtilTests.cs | 32 ---- .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes KeePass2PCL.Test.UWP/Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../KeePass2PCL.Test.UWP.csproj | 172 ----------------- .../KeePass2PCL.Test.UWP_TemporaryKey.pfx | Bin 2504 -> 0 bytes KeePass2PCL.Test.UWP/Package.appxmanifest | 45 ----- .../Properties/AssemblyInfo.cs | 18 -- .../Properties/UnitTestApp.rd.xml | 29 --- KeePass2PCL.Test.UWP/PwDatabaseTests.cs | 117 ----------- KeePass2PCL.Test.UWP/TestData/1.kdbx | Bin 1134 -> 0 bytes KeePass2PCL.Test.UWP/TestData/1.key | 9 - KeePass2PCL.Test.UWP/TestData/1key.kdbx | Bin 1838 -> 0 bytes KeePass2PCL.Test.UWP/UnitTestApp.xaml | 8 - KeePass2PCL.Test.UWP/UnitTestApp.xaml.cs | 102 ---------- .../KeePass2PCL.Test.KeePassLib.csproj | 65 ------- KeePass2PCL.Test/app.config | 11 -- KeePass2PCL.Test/packages.config | 8 - 39 files changed, 1524 deletions(-) delete mode 100644 KeePass2PCL.Test.Desktop/KeePass2PCL.Test.Desktop.csproj delete mode 100644 KeePass2PCL.Test.Desktop/app.config delete mode 100644 KeePass2PCL.Test.Desktop/packages.config delete mode 100644 KeePass2PCL.Test.Shared/Cryptography/Cipher/StandardAesEngineTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Cryptography/CryptoRandomStreamTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Cryptography/CryptoRandomTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Cryptography/HashingStreamExTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Cryptography/HmacOtpTests.cs delete mode 100644 KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.projitems delete mode 100644 KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.shproj delete mode 100644 KeePass2PCL.Test.Shared/Keys/CompositeKeyTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Keys/KcpCustomKeyTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Keys/KcpKeyFileTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Keys/KcpPasswordTests.cs delete mode 100644 KeePass2PCL.Test.Shared/MyClass.cs delete mode 100644 KeePass2PCL.Test.Shared/Serialization/HashedBlockStreamTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Serialization/KdbxFileTests.cs delete mode 100644 KeePass2PCL.Test.Shared/Utility/GfxUtilTests.cs delete mode 100644 KeePass2PCL.Test.UWP/Assets/LockScreenLogo.scale-200.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/SplashScreen.scale-200.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/Square150x150Logo.scale-200.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/Square44x44Logo.scale-200.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/StoreLogo.png delete mode 100644 KeePass2PCL.Test.UWP/Assets/Wide310x150Logo.scale-200.png delete mode 100644 KeePass2PCL.Test.UWP/KeePass2PCL.Test.UWP.csproj delete mode 100644 KeePass2PCL.Test.UWP/KeePass2PCL.Test.UWP_TemporaryKey.pfx delete mode 100644 KeePass2PCL.Test.UWP/Package.appxmanifest delete mode 100644 KeePass2PCL.Test.UWP/Properties/AssemblyInfo.cs delete mode 100644 KeePass2PCL.Test.UWP/Properties/UnitTestApp.rd.xml delete mode 100644 KeePass2PCL.Test.UWP/PwDatabaseTests.cs delete mode 100644 KeePass2PCL.Test.UWP/TestData/1.kdbx delete mode 100644 KeePass2PCL.Test.UWP/TestData/1.key delete mode 100644 KeePass2PCL.Test.UWP/TestData/1key.kdbx delete mode 100644 KeePass2PCL.Test.UWP/UnitTestApp.xaml delete mode 100644 KeePass2PCL.Test.UWP/UnitTestApp.xaml.cs delete mode 100644 KeePass2PCL.Test/KeePass2PCL.Test.KeePassLib.csproj delete mode 100644 KeePass2PCL.Test/app.config delete mode 100644 KeePass2PCL.Test/packages.config diff --git a/KeePass2PCL.Test.Desktop/KeePass2PCL.Test.Desktop.csproj b/KeePass2PCL.Test.Desktop/KeePass2PCL.Test.Desktop.csproj deleted file mode 100644 index e7ca24b..0000000 --- a/KeePass2PCL.Test.Desktop/KeePass2PCL.Test.Desktop.csproj +++ /dev/null @@ -1,102 +0,0 @@ - - - - - Debug - AnyCPU - {0BD8B544-EB60-461F-9A71-605A6DFCBB19} - Library - KeePass2PCL.Test.Desktop - KeePass2PCL.Test.Desktop - v4.5 - - - - - true - full - false - bin\Debug - DEBUG; - prompt - 4 - false - - - full - true - bin\Release - prompt - 4 - false - - - - ..\packages\Castle.Core.4.1.1\lib\net45\Castle.Core.dll - - - - - ..\packages\Moq.4.7.99\lib\net45\Moq.dll - - - ..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll - - - ..\packages\PCLCrypto.2.0.147\lib\net45\PCLCrypto.dll - - - ..\packages\PInvoke.BCrypt.0.5.97\lib\net45\PInvoke.BCrypt.dll - - - ..\packages\PInvoke.Kernel32.0.5.97\lib\net45\PInvoke.Kernel32.dll - - - ..\packages\PInvoke.NCrypt.0.5.97\lib\net45\PInvoke.NCrypt.dll - - - ..\packages\PInvoke.Windows.Core.0.5.97\lib\net35\PInvoke.Windows.Core.dll - - - ..\packages\Splat.GtkSharp.1.6.2\lib\net45\Splat.dll - - - - ..\packages\PCLStorage.1.0.2\lib\net45\PCLStorage.dll - - - ..\packages\PCLStorage.1.0.2\lib\net45\PCLStorage.Abstractions.dll - - - ..\packages\Mono.Security.3.2.3.0\lib\net45\Mono.Security.dll - - - - - ..\packages\Validation.2.4.15\lib\net45\Validation.dll - - - - - - - - - - - - - - {2e710089-9559-4967-846c-e763dd1f3acb} - KeePass2PCL - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.Desktop/app.config b/KeePass2PCL.Test.Desktop/app.config deleted file mode 100644 index 6d631fa..0000000 --- a/KeePass2PCL.Test.Desktop/app.config +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.Desktop/packages.config b/KeePass2PCL.Test.Desktop/packages.config deleted file mode 100644 index 57fbffd..0000000 --- a/KeePass2PCL.Test.Desktop/packages.config +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.Shared/Cryptography/Cipher/StandardAesEngineTests.cs b/KeePass2PCL.Test.Shared/Cryptography/Cipher/StandardAesEngineTests.cs deleted file mode 100644 index b248752..0000000 --- a/KeePass2PCL.Test.Shared/Cryptography/Cipher/StandardAesEngineTests.cs +++ /dev/null @@ -1,65 +0,0 @@ -using System; -using System.IO; - -#if KeePassLib -using KeePassLib.Cryptography.Cipher; -#else -using KeePass2PCL.Cryptography.Cipher; -#endif - -using NUnit.Framework; - -namespace KeePass2PCL.Test.Shared.Cryptography.Cipher -{ - [TestFixture ()] - public class StandardAesEngineTests - { - [Test ()] - public void TestEncryptStream () - { - // Test vector (official ECB test vector #356) - var pbIV = new byte[16]; - var pbTestKey = new byte[32]; - var pbTestData = new byte[16]; - var pbReferenceCT = new byte[16] { - 0x75, 0xD1, 0x1B, 0x0E, 0x3A, 0x68, 0xC4, 0x22, - 0x3D, 0x88, 0xDB, 0xF0, 0x17, 0x97, 0x7D, 0xD7 - }; - - pbTestData[0] = 0x04; - - var outStream = new MemoryStream (new byte[16]); - var aes = new StandardAesEngine (); - var inStream = aes.EncryptStream (outStream, pbTestKey, pbIV); - new BinaryWriter (inStream).Write (pbTestData); - Assert.That (outStream.Position, Is.EqualTo (16)); - outStream.Position = 0; - var outBytes = new BinaryReader (outStream).ReadBytes (16); - Assert.That(outBytes, Is.EqualTo (pbReferenceCT)); - } - - [Test ()] - public void TestDecryptStream () - { - // Test vector (official ECB test vector #356) - var pbIV = new byte[16]; - var pbTestKey = new byte[32]; - var pbTestData = new byte[16]; - var pbReferenceCT = new byte[16] { - 0x75, 0xD1, 0x1B, 0x0E, 0x3A, 0x68, 0xC4, 0x22, - 0x3D, 0x88, 0xDB, 0xF0, 0x17, 0x97, 0x7D, 0xD7 - }; - - pbTestData[0] = 0x04; - - // Possible Mono Bug? This only works with size >= 48 - var inStream = new MemoryStream (new byte[48]); - inStream.Write (pbReferenceCT, 0, pbReferenceCT.Length); - inStream.Position = 0; - var aes = new StandardAesEngine (); - var outStream = aes.DecryptStream (inStream, pbTestKey, pbIV); - var outBytes = new BinaryReader (outStream).ReadBytes (16); - Assert.That(outBytes, Is.EqualTo (pbTestData)); - } - } -} diff --git a/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomStreamTests.cs b/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomStreamTests.cs deleted file mode 100644 index cf585f2..0000000 --- a/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomStreamTests.cs +++ /dev/null @@ -1,60 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Cryptography; -#else -using ModernKeePassLibPCL.Cryptography; -#endif - -namespace KeePass2PCL.Test.Shared.Cryptography -{ - [TestFixture ()] - public class CryptoRandomStreamTests - { - void TestGetRandomBytes(CryptoRandomStream stream) - { - const uint length = 16; - var bytes1 = stream.GetRandomBytes (length); - Assert.That (bytes1.Length, Is.EqualTo (length)); - var bytes2 = stream.GetRandomBytes (length); - Assert.That (bytes2, Is.Not.EqualTo (bytes1)); - } - - [Test ()] - public void TestGetRandomBytesCrsAlgorithmSalsa20 () - { - var stream = new CryptoRandomStream (CrsAlgorithm.Salsa20, new byte[16]); - TestGetRandomBytes (stream); - } - - [Test ()] - public void TestGetRandomBytesCrsAlgorithmArcFourVariant () - { - var stream = new CryptoRandomStream (CrsAlgorithm.ArcFourVariant, new byte[16]); - TestGetRandomBytes (stream); - } - - void TestGetRandomInt64 (CryptoRandomStream stream) - { - var value1 = stream.GetRandomUInt64 (); - var value2 = stream.GetRandomUInt64 (); - Assert.That (value2, Is.Not.EqualTo (value1)); - } - - [Test ()] - public void TestGetRandomInt64AlgorithmSalsa20 () - { - var stream = new CryptoRandomStream (CrsAlgorithm.Salsa20, new byte[16]); - TestGetRandomInt64 (stream); - } - - [Test ()] - public void TestGetRandomInt64AlgorithmArcFourVariant () - { - var stream = new CryptoRandomStream (CrsAlgorithm.ArcFourVariant, new byte[16]); - TestGetRandomInt64 (stream); - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomTests.cs b/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomTests.cs deleted file mode 100644 index 90d8db8..0000000 --- a/KeePass2PCL.Test.Shared/Cryptography/CryptoRandomTests.cs +++ /dev/null @@ -1,44 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Cryptography; -#else -using KeePass2PCL.Cryptography; -#endif - -namespace KeePass2PCL.Test.Shared.Cryptography -{ - [TestFixture ()] - public class CryptoRandomTests - { - [Test ()] - public void TestAddEntropy () - { - // just making sure it does not throw an exception - CryptoRandom.Instance.AddEntropy (new byte[1]); - } - - [Test ()] - public void TestGetRandomBytes () - { - const int length = 32; - var bytes1 = CryptoRandom.Instance.GetRandomBytes (length); - Assert.That (bytes1.Length, Is.EqualTo (length)); - var bytes2 = CryptoRandom.Instance.GetRandomBytes (length); - Assert.That (bytes2, Is.Not.EqualTo (bytes1)); - } - - [Test ()] - public void TestGeneratedBytesCount () - { - const int length = 1; - CryptoRandom.Instance.GetRandomBytes (length); - var count1 = CryptoRandom.Instance.GeneratedBytesCount; - CryptoRandom.Instance.GetRandomBytes (length); - var count2 = CryptoRandom.Instance.GeneratedBytesCount; - Assert.That (count2, Is.GreaterThan (count1)); - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Cryptography/HashingStreamExTests.cs b/KeePass2PCL.Test.Shared/Cryptography/HashingStreamExTests.cs deleted file mode 100644 index 8db9b59..0000000 --- a/KeePass2PCL.Test.Shared/Cryptography/HashingStreamExTests.cs +++ /dev/null @@ -1,77 +0,0 @@ -using NUnit.Framework; -using System; -using System.IO; -using System.Text; - -#if KeePassLib -using KeePassLib.Cryptography; -#else -using KeePass2PCL.Cryptography; -#endif - -namespace KeePass2PCL.Test.Shared.Cryptography -{ - [TestFixture ()] - public class HashingStreamExTests - { - const string data = "test"; - - // The expected hash includes the \n added by WriteLine - static readonly byte[] sha256HashOfData = { - 0xf2, 0xca, 0x1b, 0xb6, 0xc7, 0xe9, 0x07, 0xd0, - 0x6d, 0xaf, 0xe4, 0x68, 0x7e, 0x57, 0x9f, 0xce, - 0x76, 0xb3, 0x7e, 0x4e, 0x93, 0xb7, 0x60, 0x50, - 0x22, 0xda, 0x52, 0xe6, 0xcc, 0xc2, 0x6f, 0xd2 - }; - - [Test ()] - public void TestRead () - { - // if we use larger size, StreamReader will read past newline and cause bad hash - var bytes = new byte[data.Length + 1]; - using (var ms = new MemoryStream (bytes)) { - using (var sw = new StreamWriter (ms)) { - // set NewLine to ensure we don't run into cross-platform issues on Windows - sw.NewLine = "\n"; - sw.WriteLine (data); - } - } - using (var ms = new MemoryStream (bytes)) { - using (var hs = new HashingStreamEx (ms, false, null)) { - using (var sr = new StreamReader (hs)) { - var read = sr.ReadLine (); - Assert.That (read, Is.EqualTo (data)); - } - // When the StreamReader is disposed, it calls Dispose on the - //HasingStreamEx, which computes the hash. - Assert.That (hs.Hash, Is.EqualTo (sha256HashOfData)); - } - } - } - - [Test ()] - public void TestWrite () - { - var bytes = new byte[16]; - using (var ms = new MemoryStream (bytes)) { - using (var hs = new HashingStreamEx (ms, true, null)) { - using (var sw = new StreamWriter (hs)) { - // set NewLine to ensure we don't run into cross-platform issues on Windows - sw.NewLine = "\n"; - sw.WriteLine (data); - } - // When the StreamWriter is disposed, it calls Dispose on the - //HasingStreamEx, which computes the hash. - Assert.That (hs.Hash, Is.EqualTo (sha256HashOfData)); - } - } - using (var ms = new MemoryStream (bytes)) { - using (var sr = new StreamReader (ms)) { - var read = sr.ReadLine (); - Assert.That (read, Is.EqualTo (data)); - } - } - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Cryptography/HmacOtpTests.cs b/KeePass2PCL.Test.Shared/Cryptography/HmacOtpTests.cs deleted file mode 100644 index ce3307b..0000000 --- a/KeePass2PCL.Test.Shared/Cryptography/HmacOtpTests.cs +++ /dev/null @@ -1,36 +0,0 @@ -using NUnit.Framework; -using System; -using System.Text; - -#if KeePassLib -using KeePassLib.Cryptography; -#else -using KeePass2PCL.Cryptography; -#endif - -namespace KeePass2PCL.Test.Shared.Cryptography -{ - [TestFixture ()] - public class HmacOtpTests - { - // Using the test case from Appendix D of RFC 4226 - - const string secret = "12345678901234567890"; - static readonly string[] expectedHOTP = new string[] { - "755224", "287082", "359152", "969429", "338314", - "254676", "287922", "162583", "399871", "520489" - }; - - [Test ()] - public void TestGenerate () - { - var secretBytes = Encoding.UTF8.GetBytes (secret); - - for (ulong i = 0; i < 10; i++) { - var hotp = HmacOtp.Generate (secretBytes, i, 6, false, -1); - Assert.That (hotp, Is.EqualTo (expectedHOTP[i])); - } - } - } -} - diff --git a/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.projitems b/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.projitems deleted file mode 100644 index fff96bf..0000000 --- a/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.projitems +++ /dev/null @@ -1,30 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {17F1C1A7-AE14-47AD-AE9A-ECFB9C45A559} - - - KeePass2PCL.Test.Shared - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.shproj b/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.shproj deleted file mode 100644 index 1f5f298..0000000 --- a/KeePass2PCL.Test.Shared/KeePass2PCL.Test.Shared.shproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - {17F1C1A7-AE14-47AD-AE9A-ECFB9C45A559} - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.Shared/Keys/CompositeKeyTests.cs b/KeePass2PCL.Test.Shared/Keys/CompositeKeyTests.cs deleted file mode 100644 index e033962..0000000 --- a/KeePass2PCL.Test.Shared/Keys/CompositeKeyTests.cs +++ /dev/null @@ -1,34 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Keys; -#else -using KeePass2PCL.Keys; -#endif - -namespace KeePass2PCL.Test.Shared.Keys -{ - [TestFixture ()] - public class CompositeKeyTests - { - [Test ()] - public void TestGenerateKey32 () - { - var originalKey = new byte[32]; - var expectedKey = new byte[32] { - 0xF0, 0xED, 0x57, 0xD5, 0xF0, 0xDA, 0xF3, 0x47, - 0x90, 0xD0, 0xDB, 0x43, 0x25, 0xC6, 0x81, 0x2C, - 0x81, 0x6A, 0x0D, 0x94, 0x96, 0xA9, 0x03, 0xE1, - 0x20, 0xD4, 0x3A, 0x3E, 0x45, 0xAD, 0x02, 0x65 - }; - const ulong rounds = 1; - - var composite = new CompositeKey (); - var key = composite.GenerateKey32 (originalKey, rounds); - Assert.That (key, Is.Not.Null); - var keyData = key.ReadData (); - Assert.That (keyData, Is.EqualTo (expectedKey)); - } - } -} diff --git a/KeePass2PCL.Test.Shared/Keys/KcpCustomKeyTests.cs b/KeePass2PCL.Test.Shared/Keys/KcpCustomKeyTests.cs deleted file mode 100644 index 597f051..0000000 --- a/KeePass2PCL.Test.Shared/Keys/KcpCustomKeyTests.cs +++ /dev/null @@ -1,39 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Keys; -#else -using KeePass2PCL.Keys; -#endif - -namespace KeePass2PCL.Test.Shared.Keys -{ - [TestFixture ()] - public class KcpCustomKeyTests - { - static readonly byte[] testData = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 - }; - - [Test ()] - public void TestConstruct () - { - var expectedHash = new byte[32] { - 0xAF, 0x55, 0x70, 0xF5, 0xA1, 0x81, 0x0B, 0x7A, - 0xF7, 0x8C, 0xAF, 0x4B, 0xC7, 0x0A, 0x66, 0x0F, - 0x0D, 0xF5, 0x1E, 0x42, 0xBA, 0xF9, 0x1D, 0x4D, - 0xE5, 0xB2, 0x32, 0x8D, 0xE0, 0xE8, 0x3D, 0xFC - }; - - var key = new KcpCustomKey ("test1", testData, false); - var keyData = key.KeyData.ReadData (); - Assert.That (keyData, Is.EqualTo (testData)); - - key = new KcpCustomKey ("test2", testData, true); - keyData = key.KeyData.ReadData (); - Assert.That (keyData, Is.EqualTo (expectedHash)); - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Keys/KcpKeyFileTests.cs b/KeePass2PCL.Test.Shared/Keys/KcpKeyFileTests.cs deleted file mode 100644 index 8cc0871..0000000 --- a/KeePass2PCL.Test.Shared/Keys/KcpKeyFileTests.cs +++ /dev/null @@ -1,76 +0,0 @@ -using NUnit.Framework; -using System; -using System.IO; - -#if KeePassLib -using KeePassLib.Keys; -#else -using KeePass2PCL.Keys; -#endif - -namespace KeePass2PCL.Test.Shared.Keys -{ - [TestFixture ()] - public class KcpKeyFileTests - { - const string testCreateFile = "TestCreate.xml"; - const string testKey = "0123456789"; - - const string expectedFileStart = - "\r\n" + - "\r\n" + - "\t\r\n" + - "\t\t1.00\r\n" + - "\t\r\n" + - "\t\r\n" + - "\t\t"; - - const string expectedFileEnd = "\t\r\n" + - "\r\n"; - - [Test ()] - public void TestConstruct () - { - var expectedKeyData = new byte[32] { - 0xC1, 0xB1, 0x12, 0x77, 0x23, 0xB8, 0x99, 0xB8, - 0xB9, 0x3B, 0x1B, 0xFF, 0x6C, 0xBE, 0xA1, 0x5B, - 0x8B, 0x99, 0xAC, 0xBD, 0x99, 0x51, 0x85, 0x95, - 0x31, 0xAA, 0x14, 0x3D, 0x95, 0xBF, 0x63, 0xFF - }; - - var fullPath = Path.Combine(Path.GetTempPath(), testCreateFile); - using (var fs = new FileStream(fullPath, FileMode.Create)) { - using (var sw = new StreamWriter(fs)) { - sw.Write (expectedFileStart); - sw.Write (testKey); - sw.Write (expectedFileEnd); - } - } - - try { - var keyFile = new KcpKeyFile (fullPath); - var keyData = keyFile.KeyData.ReadData (); - Assert.That (keyData, Is.EqualTo (expectedKeyData)); - } finally { - File.Delete (fullPath); - } - } - - [Test ()] - public void TestCreate () - { - var fullPath = Path.Combine(Path.GetTempPath(), testCreateFile); - File.Create(fullPath).Close(); - KcpKeyFile.Create (fullPath, null); - try { - var fileContents = File.ReadAllText (fullPath); - Assert.That (fileContents.Length, Is.EqualTo (187)); - Assert.That (fileContents, Does.StartWith (expectedFileStart)); - Assert.That (fileContents, Does.EndWith (expectedFileEnd)); - } finally { - File.Delete (fullPath); - } - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Keys/KcpPasswordTests.cs b/KeePass2PCL.Test.Shared/Keys/KcpPasswordTests.cs deleted file mode 100644 index 533b5a7..0000000 --- a/KeePass2PCL.Test.Shared/Keys/KcpPasswordTests.cs +++ /dev/null @@ -1,33 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Keys; -#else -using KeePass2PCL.Keys; -#endif - -namespace KeePass2PCL.Test.Shared.Keys -{ - [TestFixture ()] - public class KcpPasswordTests - { - const string testPassword = "password"; - - [Test ()] - public void TestConstruct () - { - var expectedHash = new byte[32] { - 0x5E, 0x88, 0x48, 0x98, 0xDA, 0x28, 0x04, 0x71, - 0x51, 0xD0, 0xE5, 0x6F, 0x8D, 0xC6, 0x29, 0x27, - 0x73, 0x60, 0x3D, 0x0D, 0x6A, 0xAB, 0xBD, 0xD6, - 0x2A, 0x11, 0xEF, 0x72, 0x1D, 0x15, 0x42, 0xD8 - }; - - var key = new KcpPassword (testPassword); - var keyData = key.KeyData.ReadData (); - Assert.That (keyData, Is.EqualTo (expectedHash)); - } - } -} - diff --git a/KeePass2PCL.Test.Shared/MyClass.cs b/KeePass2PCL.Test.Shared/MyClass.cs deleted file mode 100644 index f57acff..0000000 --- a/KeePass2PCL.Test.Shared/MyClass.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace KeePass2PCL.Test.Shared -{ - public class MyClass - { - public MyClass () - { - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Serialization/HashedBlockStreamTests.cs b/KeePass2PCL.Test.Shared/Serialization/HashedBlockStreamTests.cs deleted file mode 100644 index b76122c..0000000 --- a/KeePass2PCL.Test.Shared/Serialization/HashedBlockStreamTests.cs +++ /dev/null @@ -1,71 +0,0 @@ -using NUnit.Framework; -using System; -using System.IO; - -#if KeePassLib -using KeePassLib.Serialization; -#else -using KeePass2PCL.Serialization; -#endif - -namespace KeePass2PCL.Test.Shared.Serialization -{ - [TestFixture ()] - public class HashedBlockStreamTests - { - static readonly byte[] data = new byte[16]; - - static readonly byte[] hashStreamData = new byte[] { - // The first 4 bytes are an integer indicating the block index - 0x00, 0x00, 0x00, 0x00, - // Then the SHA-256 hash of the data - 0x37, 0x47, 0x08, 0xFF, 0xF7, 0x71, 0x9D, 0xD5, - 0x97, 0x9E, 0xC8, 0x75, 0xD5, 0x6C, 0xD2, 0x28, - 0x6F, 0x6D, 0x3C, 0xF7, 0xEC, 0x31, 0x7A, 0x3B, - 0x25, 0x63, 0x2A, 0xAB, 0x28, 0xEC, 0x37, 0xBB, - // then an integer that is the length of the data - 0x10, 0x00, 0x00, 0x00, - // and finally the data itself - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - // Next, a terminating block - 0x01, 0x00, 0x00, 0x00, - // terminating block is indicated by a hash of all 0s... - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - // ...and by a size of 0 - 0x00, 0x00, 0x00, 0x00 - }; - - [Test ()] - public void TestRead () - { - using (var ms = new MemoryStream (hashStreamData)) { - using (var hbs = new HashedBlockStream (ms, false)) { - using (var br = new BinaryReader(hbs)) { - var bytes = br.ReadBytes (data.Length); - Assert.That (bytes, Is.EqualTo (data)); - Assert.That (() => br.ReadByte (), Throws.InstanceOf ()); - } - } - } - } - - [Test ()] - public void TestWrite () - { - var buffer = new byte[hashStreamData.Length]; - using (var ms = new MemoryStream (buffer)) { - using (var hbs = new HashedBlockStream (ms, true)) { - using (var bw = new BinaryWriter(hbs)) { - bw.Write (data); - } - } - Assert.That (buffer, Is.EqualTo (hashStreamData)); - } - } - } -} - diff --git a/KeePass2PCL.Test.Shared/Serialization/KdbxFileTests.cs b/KeePass2PCL.Test.Shared/Serialization/KdbxFileTests.cs deleted file mode 100644 index 47cbc5e..0000000 --- a/KeePass2PCL.Test.Shared/Serialization/KdbxFileTests.cs +++ /dev/null @@ -1,181 +0,0 @@ -using NUnit.Framework; -using System; -using System.Drawing; -using System.IO; -using System.Text; -using System.Text.RegularExpressions; - - -#if KeePassLib -using KeePassLib; -using KeePassLib.Keys; -using KeePassLib.Security; -using KeePassLib.Serialization; -using KeePassLib.Collections; -#else -using KeePass2PCL.Keys; -using KeePass2PCL.Security; -using KeePass2PCL.Serialization; -using KeePass2PCL.Collections; -#endif - -namespace KeePass2PCL.Test.Shared.Serialization -{ - [TestFixture()] - public class KdbxFileTests - { - const string testLocalizedAppName = "My Localized App Name"; - - const string testDatabaseName = "My Database Name"; - const string testDatabaseDescription = "My Database Description"; - const string testDefaultUserName = "My Default User Name"; - const string testColor = "#FF0000"; // Red - - const string testRootGroupName = "My Root Group Name"; - const string testRootGroupNotes = "My Root Group Notes"; - const string testRootGroupDefaultAutoTypeSequence = "My Root Group Default Auto Type Sequence"; - - const string testDatabase = "\r\n" + - "\r\n" + - "\t\r\n" + - "\t\t" + testLocalizedAppName + "\r\n" + - "\t\t" + testDatabaseName + "\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t" + testDatabaseDescription + "\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t" + testDefaultUserName + "\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t365\r\n" + - "\t\t" + testColor + "\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t-1\r\n" + - "\t\t-1\r\n" + - "\t\t\r\n" + - "\t\t\tFalse\r\n" + - "\t\t\tFalse\r\n" + - "\t\t\tTrue\r\n" + - "\t\t\tFalse\r\n" + - "\t\t\tFalse\r\n" + - "\t\t\r\n" + - "\t\tTrue\r\n" + - "\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t10\r\n" + - "\t\t6291456\r\n" + - "\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\t\r\n" + - "\t\t\r\n" + - "\t\r\n" + - "\t\r\n" + - "\t\t\r\n" + - "\t\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\t\t" + testRootGroupName + "\r\n" + - "\t\t\t" + testRootGroupNotes + "\r\n" + - "\t\t\t49\r\n" + - "\t\t\t\r\n" + - "\t\t\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t\t\tFalse\r\n" + - "\t\t\t\t0\r\n" + - "\t\t\t\t2015-03-14T03:15:26Z\r\n" + - "\t\t\t\r\n" + - "\t\t\tTrue\r\n" + - "\t\t\t" + testRootGroupDefaultAutoTypeSequence + "\r\n" + - "\t\t\tnull\r\n" + - "\t\t\tnull\r\n" + - "\t\t\tAAAAAAAAAAAAAAAAAAAAAA==\r\n" + - "\t\t\r\n" + - "\t\t\r\n" + - "\t\r\n" + - ""; - - const string testDate = "2015-03-14T03:15:26Z"; - - [Test()] - public void TestLoad() - { - var database = new PwDatabase(); - using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(testDatabase))) - { - var file = new KdbxFile(database); - file.Load(ms, KdbxFormat.PlainXml, null); - } - Assert.That(database.Color.ToArgb(), Is.EqualTo(Color.Red.ToArgb())); - Assert.That(database.Compression, Is.EqualTo(PwCompressionAlgorithm.GZip)); - //Assert.That (database.CustomData, Is.EqualTo ()); - Assert.That(database.CustomIcons, Is.Empty); - } - - [Test()] - public void TestSave() - { - var buffer = new byte[4096]; - using (var ms = new MemoryStream(buffer)) - { - var database = new PwDatabase(); - database.New(new IOConnectionInfo(), new CompositeKey()); - var date = DateTime.Parse(testDate); - PwDatabase.LocalizedAppName = testLocalizedAppName; - database.Name = testDatabaseName; - database.NameChanged = date; - database.Description = testDatabaseDescription; - database.DescriptionChanged = date; - database.DefaultUserName = testDefaultUserName; - database.DefaultUserNameChanged = date; - database.Color = Color.Red; - database.MasterKeyChanged = date; - database.RecycleBinChanged = date; - database.EntryTemplatesGroupChanged = date; - database.RootGroup.Uuid = PwUuid.Zero; - database.RootGroup.Name = testRootGroupName; - database.RootGroup.Notes = testRootGroupNotes; - database.RootGroup.DefaultAutoTypeSequence = testRootGroupDefaultAutoTypeSequence; - database.RootGroup.CreationTime = date; - database.RootGroup.LastModificationTime = date; - database.RootGroup.LastAccessTime = date; - database.RootGroup.ExpiryTime = date; - database.RootGroup.LocationChanged = date; - var file = new KdbxFile(database); - file.Save(ms, null, KdbxFormat.PlainXml, null); - } - var fileContents = Encoding.UTF8.GetString(buffer).Replace("\0", ""); - if (typeof(KdbxFile).Namespace.StartsWith("KeePassLib.") - && Environment.OSVersion.Platform != PlatformID.Win32NT) - { - // Upstream KeePassLib does not specify line endings for XmlTextWriter, - // so it uses native line endings. - fileContents = fileContents.Replace("\n", "\r\n"); - } - Assert.That(fileContents, Is.EqualTo(testDatabase)); - } - - [Test] - public void TestSearch() - { - var database = new PwDatabase(); - using (var ms = new MemoryStream(Encoding.UTF8.GetBytes(testDatabase))) - { - var file = new KdbxFile(database); - file.Load(ms, KdbxFormat.PlainXml, null); - } - var sp = new SearchParameters() - { - SearchString = "sfsoiwsefsi" - }; - var listStorage = new PwObjectList(); - database.RootGroup.SearchEntries(sp, listStorage); - Assert.AreEqual(0U, listStorage.UCount); - var entry = new PwEntry(true, true); - entry.Strings.Set("Title", new ProtectedString(false, "NaMe")); - database.RootGroup.AddEntry(entry, true); - sp.SearchString = "name"; - database.RootGroup.SearchEntries(sp, listStorage); - Assert.AreEqual(1U, listStorage.UCount); - } - } -} diff --git a/KeePass2PCL.Test.Shared/Utility/GfxUtilTests.cs b/KeePass2PCL.Test.Shared/Utility/GfxUtilTests.cs deleted file mode 100644 index ce25156..0000000 --- a/KeePass2PCL.Test.Shared/Utility/GfxUtilTests.cs +++ /dev/null @@ -1,32 +0,0 @@ -using NUnit.Framework; -using System; - -#if KeePassLib -using KeePassLib.Utility; -#else -using Splat; -using KeePass2PCL.Utility; -#endif - -namespace KeePass2PCL.Test.Shared.Utility -{ - [TestFixture ()] - public class GfxUtilTests - { - // 16x16 all white PNG file, base64 encoded - const string testImageData = - "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAACXBIWXMAAAsTAAA" + - "LEwEAmpwYAAAAB3RJTUUH3wMOFgIgmTCUMQAAABl0RVh0Q29tbWVudABDcmVhdG" + - "VkIHdpdGggR0lNUFeBDhcAAAAaSURBVCjPY/z//z8DKYCJgUQwqmFUw9DRAABVb" + - "QMdny4VogAAAABJRU5ErkJggg=="; - - [Test ()] - public void TestLoadImage () - { - var testData = Convert.FromBase64String (testImageData); - var image = GfxUtil.LoadImage (testData); - Assert.That (image.Width, Is.EqualTo (16)); - Assert.That (image.Height, Is.EqualTo (16)); - } - } -} diff --git a/KeePass2PCL.Test.UWP/Assets/LockScreenLogo.scale-200.png b/KeePass2PCL.Test.UWP/Assets/LockScreenLogo.scale-200.png deleted file mode 100644 index 735f57adb5dfc01886d137b4e493d7e97cf13af3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1430 zcmaJ>TTC2P7~aKltDttVHYH6u8Io4i*}3fO&d$gd*bA_<3j~&e7%8(eXJLfhS!M@! zKrliY>>6yT4+Kr95$!DoD(Qn-5TP|{V_KS`k~E6(LGS@#`v$hQo&^^BKsw3HIsZBT z_y6C2n`lK@apunKojRQ^(_P}Mgewt$(^BBKCTZ;*xa?J3wQ7~@S0lUvbcLeq1Bg4o zH-bvQi|wt~L7q$~a-gDFP!{&TQfc3fX*6=uHv* zT&1&U(-)L%Xp^djI2?~eBF2cxC@YOP$+9d?P&h?lPy-9M2UT9fg5jKm1t$m#iWE{M zIf%q9@;fyT?0UP>tcw-bLkz;s2LlKl2qeP0w zECS7Ate+Awk|KQ+DOk;fl}Xsy4o^CY=pwq%QAAKKl628_yNPsK>?A>%D8fQG6IgdJ ztnxttBz#NI_a@fk7SU`WtrpsfZsNs9^0(2a z@C3#YO3>k~w7?2hipBf{#b6`}Xw1hlG$yi?;1dDs7k~xDAw@jiI*+tc;t2Lflg&bM)0!Y;0_@=w%`LW^8DsYpS#-bLOklX9r?Ei}TScw|4DbpW%+7 zFgAI)f51s}{y-eWb|vrU-Ya!GuYKP)J7z#*V_k^Xo>4!1Yqj*m)x&0L^tg3GJbVAJ zJ-Pl$R=NAabouV=^z_t;^K*0AvFs!vYU>_<|I^#c?>>CR<(T?=%{;U=aI*SbZADLH z&(f2wz_Y0??Tf|g;?|1Znw6}6U43Q#qNRwv1vp9uFn1)V#*4p&%$mP9x&15^OaBiDS(XppT|z^>;B{PLVEbS3IFYV yGvCsSX*m diff --git a/KeePass2PCL.Test.UWP/Assets/SplashScreen.scale-200.png b/KeePass2PCL.Test.UWP/Assets/SplashScreen.scale-200.png deleted file mode 100644 index 023e7f1feda78d5100569825acedfd213a0d84e9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7700 zcmeHLYj~4Yw%(;oxoEH#Kxq-eR|+VkP17b#Vk;?4QwkI+A{L04G+#<<(x#Un1#+h5>eArRq zTw$)ZvTWW_Y?bDho0nPVTh08+s`sp!j74rJTTtXIDww0SILedFv?sZ?yb@@}GN;#8 znk_b~Q(A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PCL.Test.UWP/Assets/Square150x150Logo.scale-200.png deleted file mode 100644 index af49fec1a5484db1d52a7f9b5ec90a27c7030186..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2937 zcma)84OCO-8BSud5)jwMLRVKgX(S?$n?Ld|vrsm<$CF7)&zTbyy1FE5bU`Q17MRv`9ue$;R(@8kR;#vJ*IM0>cJIAOte!d7oRgdH zd%ySjdB6L9=gX^A6)VzH7p2l@v~3zJAMw|DFy#^)F@@F*`mqUn=Il>l)8_+ab;nOW{%+iPx z+s{Eu|&pIs)Z7{La9~?xKfyl z#43?gjEL15d4WbOZo#SiP%>DB^+BcnJ=7dHEe;r#G=tuw|ka z%q@}##Uh7;tc%L_64m(kHtw74ty%BJMb)_1)#S0j`)F8_1jF7vScpsnH=0V19bO8y zR`0SjIdCUo&=>JwMQF8KHA<{ODHTiQh}0^@5QRmCA?gOH6_H3K^-_sNB^RrdNuK-R zOO*vOrKCVvDwgUck`kF(E7j{I#iiN;b*ZdCt4m@HPA`EuEqGGf4%!K<;(=I=&Vyrw z%TwcWtxa}8mCZ%Cyf&ActJ6_$ox5z6-D!0-dvnRx6t7y3d+h6QYpKWO;8OdnvERo7 zuEf>ih5`wqY)~o@OeVt-wM?Q!>QzdGRj!bz6fzYrfw$hZfAKzr2-M+D+R>}~oT574c;_3zquHcElqKIsryILt3g8n3jcMb+j?i?-L3FpZJ z2WRVBRdDPc+G5aaYg#5hpE+6nQ|(VSoxT3|biF;BUq#==-27Xi=gihDPYP$7?=9cP zYKE$jeQ|3~_L0VG-(F~2ZPyD0=k{J4Q~h(t__{-mz_w8{JDY9{`1ouzz!Vr5!ECdE z6U~O1k8c}24V7~zzXWTV-Pe4)y}wQJS&q%H5`Fo_f_JvIU489aCX$;P`u#!I-=^4ijC2{&9!O&h>mi?9oYD=GC#%)6{GzN6nQYw+Fal50!#x^asjBBR50i`+mho*ttoqV)ubM2KD9S~k7+FR4>{29?6 z{!l6kDdyTN0YJ9LgkPWe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test.UWP/Assets/Square44x44Logo.scale-200.png deleted file mode 100644 index ce342a2ec8a61291ba76c54604aea7e9d20af11b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1647 zcmaJ?eM}Q)7(e+G1Q(|`V9JhTI2>MkceK4;p;PR&$Pi?ejk3YQ_3o`S&|W_dsOZ8# zWPTt69g`t$ab`0cj-Y0yiBSOqmd)tG7G(}M5aP0_%&9TijB#&)I{zSE^4@#z^FF`l z`8{8`o%wlL(UI|y2!cdsuVamHH~H86F!*-15em4)NqUpCQM5?aoC_eCf@lV4wvF2a zjDQn1JBL69f&@2M3rvzJcfE!eZ8FZUBlFlC5RD)it33{mF9#B82AiyQE%w)`vlwa> zv{<1sm&kSKK$&%2jSFn7$t&P%%6Ue>R=EAnG8N7fqynWG8L3p!4801a;8{+nliO(qd(jNJ_?+9W3#hLIDLoT6~3fx9=`CC-D}-AMrpEO7HK zt3$GicGPc?GmDjy7K2P@La;eu4!$zWCZ`ym{Z$b zu-O6RM&K4JT|BIZB`E-gxqG%FzanI#+2FFmqHqXG7yxWB=w55RGOM)$xMb(>kSNR z2w=1AZi%z=AmG~yea~XaXJR!v7vLn(RUnELfiB1|6D84ICOS}^Zo2AdN}<&*h}G_u z{xZ!(%>tLT3J3<5XhWy-tg+6)0nmUUENLW8TWA{R6bgVd3X;anYFZ^IRis*_P-C-r z;i>%1^eL3UI2-{w8nuFFcs0e~7J{O2k^~Ce%+Ly4U?|=!0LH=t6()xi<^I-rs+9sF z*q{E-CxZbGPeu#a;XJwE;9S1?#R&uns>^0G3p`hEUF*v`M?@h%T%J%RChmD|EVydq zmHWh*_=S%emRC*mhxaVLzT@>Z2SX0u9v*DIJ@WC^kLVdlGV6LpK$KIrlJqc zpJ921)+3JJdTx|<`G&kXpKkjGJv=76R`yYIQ{#c-`%+`#V(7}Q;&@6U8!Td1`d;?N z_9mnI#?AA}4J!r)LN4!E-@H5eXauuB7TOawS>Y|{-P?NNx-lq+z1W-+y(;39P&&LP zL{N80?&=C*qKmdA^moMZRuPcD!B<*mq$ch=0Cnlitw#txRWhb3%TQvPqjkC`F69G4b! ze7z9MZ#+;_#l?H37UqUhDFb^l&s2{oM$3I0o^Q!yx;;V)QmCMo)Tb_ui|mit8MS?U zm##6$sZZ1$@|s%?l@>4Z<*Q}sRBSKMhb4I{e5LdEhsHIHTe8Bod5c>6QtT>$XgUBz z6MK`kO$=jmt@FqggOhJ5j~e@ygRbG;<{Vu)*+nn9aQeo0;$#j;|MS=S$&L?BeV25z xs3B`@=#`5TF{^6(A1rvdY@|-RtQ|iS5{tyX+wH?;n8E)G$kykv-D^wh{{!TZT%7;_ diff --git a/KeePass2PCL.Test.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/KeePass2PCL.Test.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png deleted file mode 100644 index f6c02ce97e0a802b85f6021e822c89f8bf57d5cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1255 zcmaJ>TWs4@7*5+{G#S+&C!qC#> zf>5N3P6jO*Cz>ug*(_DmW=)kea&m$gZ^+nyiF`;j%w@}y8)>p*SH}C`m?DXeieF2U zyQHecc_L%Gh!7GMt+hG06y;+|p4>m~}PjA}rKViGiEnn7G0ZO<>G|7q;2?NwGCM3s?eued6%hd$B+ z*kQJ{#~$S=DFE(%=E+UkmlEI*%3llUf~8Ja9YU1Vui0IbGBkW_gHB%Rd&!!ioX zs40O?i9I{};kle7GMvE7(rk`la=gTI)47=>%?q@^iL-nUo3}h4S}N-KHn8t5mVP8w z&bSErwp+37 zNJJ8?a|{r5Q3R0Z5s-LB1WHOwYC@7pCHWND#cL1cZ?{kJ368_*(UDWUDyb<}0y@o# zfMF016iMWPCb6obAxT$JlB6(2DrlXDTB&!0`!m??4F(qWMhjVZo?JXQmz`1*58Z=& zcDmB|S-E@j?BoFGix0flckqdS4jsPNzhfWyWIM98GxcLs89C(~dw%$_t;JjX-SD}E zfiGV;{8Q%8r}w9x>EEigW81>`kvnU@pK)4+xk9@+bNj9L!AAZ@SZ@q|)&BmY3+HZx zul~BeG4|}-;L%cHViQGQX?^zFfO0&#cHwel=d`lH9sJ-@Sl@n*(8J2>%Ac`IxyY?Q z{=GhWvC#gu-~Ia7*n{=+;qM?Ul_wy1+u7ho;=`>EwP^g~R@{unBds`!#@}tluZQpS zm)M~nYEifJWJGx?_6DcTy>#uh%>!H9=hb^(v`=m3F1{L>db=<5_tm+_&knAQ2EU$s Mu9UqpbNZeC0BbUo^Z)<= diff --git a/KeePass2PCL.Test.UWP/Assets/StoreLogo.png b/KeePass2PCL.Test.UWP/Assets/StoreLogo.png deleted file mode 100644 index 7385b56c0e4d3c6b0efe3324aa1194157d837826..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1451 zcmaJ>eN5D57_Z|bH;{0+1#mbl)eTU3{h)Wf7EZV?;HD@XL@{B`Ui%(2aMxQ~xdXSv z5nzWi(LW)U2=Vc-cY@s7nPt{i0hc6!7xN4NNHI#EQl>YNBy8l4%x9gr_W-j zEZMQmmTIy(>;lblRfh`dIyTgc9W5d!VP$L4(kKrN1c5G~(O_#xG zAJCNTstD^5SeXFB+&$h=ToJP2H>xr$iqPs-#O*;4(!Fjw25-!gEb*)mU}=)J;Iu>w zxK(5XoD0wrPSKQ~rbL^Cw6O_03*l*}i=ydbu7adJ6y;%@tjFeXIXT+ms30pmbOP%Q zX}S;+LBh8Tea~TSkHzvX6$rYb)+n&{kSbIqh|c7hmlxmwSiq5iVhU#iEQ<>a18|O^Sln-8t&+t`*{qBWo5M?wFM(JuimAOb5!K#D}XbslM@#1ZVz_;!9U zpfEpLAOz=0g@bd6Xj_ILi-x^!M}73h^o@}hM$1jflTs|Yuj9AL@A3<-?MV4!^4q`e z)fO@A;{9K^?W?DbnesnPr6kK>$zaKo&;FhFd(GYFCIU^T+OIMb%Tqo+P%oq(IdX7S zf6+HLO?7o0m+p>~Tp5UrXWh!UH!wZ5kv!E`_w)PTpI(#Iw{AS`gH4^b(bm^ZCq^FZ zY9DD7bH}rq9mg88+KgA$Zp!iWncuU2n1AuIa@=sWvUR-s`Qb{R*kk(SPU^`$6BXz8 zn#7yaFOIK%qGxyi`dYtm#&qqox0$h=pNi#u=M8zUG@bpiZ=3sT=1}Trr}39cC)H|v zbL?W)=&s4zrh)7>L(|cc%$1#!zfL?HjpeP%T+x_a+jZ16b^iKOHxFEX$7d|8${H-* zIrOJ5w&i$>*D>AKaIoYg`;{L@jM((Kt?$N$5OnuPqVvq**Nm}(f0wwOF%iX_Pba;V z;m@wxX&NcV3?<1+u?A{y_DIj7#m3Af1rCE)o`D&Y3}0%7E;iX1yMDiS)sh0wKi!36 zL!Wmq?P^Ku&rK~HJd97KkLTRl>ScGFYZNlYytWnhmuu|)L&ND8_PmkayQb{HOY640 bno1(wj@u8DCVuFR|31B*4ek@pZJqxCDDe1x diff --git a/KeePass2PCL.Test.UWP/Assets/Wide310x150Logo.scale-200.png b/KeePass2PCL.Test.UWP/Assets/Wide310x150Logo.scale-200.png deleted file mode 100644 index 288995b397fdbef1fb7e85afd71445d5de1952c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3204 zcmbVPeQXow8NYmBd90>}0NP?GhXW~VaeThm=a0tV#EwJMI!)6M3}|c4_Bl3=Kd>G0 z(GHx1wl<7(tP?FsOQkTilSo*iIvF%uArExJ73~P zSv1xEy!U(Wd4A9D`FQV@W3@F^qJ@PEF$@z`Z!*BbFsS(^?B zyiAzJ+q})bkgiQHWqEb*jJD-coHYr1^iocg)l!Qa{Xqs-l~6J}p-|##ZHYofskQ3$ zI0;xzXyhazBeXhIsg5A=%ufo@f)1yy&ScKS0;HF^!r_2UE^lpZEom(+@duma3awTv zCrCL-%D_SvYWIcdHkmI}#50(fkUi)Qgx!80ju>g1za^}ff>JI8Z@^-iCiaCgg@TgF z+vtE?Q9{VQUX&MW9SYYmGcxA14%N2@7FwBTD4N<(2{nWgV8$e3?-F=L^&Frt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x>UV=V zk^RrDSvdQ?0;=hY67EgII-f4`t=+i*yS=Y~!XlqIy_4x&%+OdfbKOFPXS2X5%4R{N z$SQMX^AK6(fA - - - - Debug - x86 - {4E21AE3C-13FF-4773-824C-D51542AD1A7B} - AppContainerExe - Properties - KeePass2PCL.Test.UWP - KeePass2PCL.Test.UWP - en-US - UAP - 10.0.15063.0 - 10.0.10240.0 - 14 - 512 - {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - KeePass2PCL.Test.UWP_TemporaryKey.pfx - $(VisualStudioVersion) - - - true - bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x86 - false - prompt - true - - - bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x86 - false - prompt - true - true - - - true - bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - ARM - false - prompt - true - - - bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - ARM - false - prompt - true - true - - - true - bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x64 - false - prompt - true - - - bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x64 - false - prompt - true - true - - - PackageReference - - - - - - - - - UnitTestApp.xaml - - - - - MSBuild:Compile - Designer - - - - - Designer - - - - - - - - - - - - - - - - - - - 5.4.0 - - - 1.1.18 - - - 1.1.18 - - - 2.0.147 - - - 1.1.0 - - - 1.0.2 - - - 2.0.0 - - - - - {2e710089-9559-4967-846c-e763dd1f3acb} - KeePass2PCL - - - - - - - 14.0 - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.UWP/KeePass2PCL.Test.UWP_TemporaryKey.pfx b/KeePass2PCL.Test.UWP/KeePass2PCL.Test.UWP_TemporaryKey.pfx deleted file mode 100644 index f04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9OL|^z&;24{8$eCVYBRJIhM*s&1ZoI;w7UzqWd#Y)s<4{-c{LMf#}N zBVDYc9o~VF`Fl)??$k!W;Sc}-FpmF-vfAb7wfJris+h z$~CC=t&}llhWL#H#eoA0LfsxLoOFiv z3+1@na+f%Q)g8*aD5-q(+~R?|{`yb*gb!PfT<@@HxnOon(~=NA%X0GNk6H*)$Kf$M z6fdO6#}g=hXkE{@>oX#iE=mIPHoGgI0>m4{`v;_1y1vFzw4gZ_Z68DD24K0d@`3pD z`xg9DglS;8+sh2kiObaQYfEcSTS*x80ZO9n>*6(g)m7ZD3?ikHziE+L)^;h{Fz$K` z#{m@oPOWBmeR7<|b2Kr&CCenb1=cUW*NYNFF&lOKkurpy3chb4hX~2JYEfOhVQp|P z&`;4o=rj)KzOq-)6>w)Dvjm=J<`9?j*{R4=Y04QpJZ_WUo;D(|^zS~hni1t(EP?Q@ z9zN1vm|$I^WG7sP+U*vGat@1PepPip5|>@1phy|EXI*Pt60xQ(y;)-f95=jMP+Vnrirp`7%MVY|_+GJeiP#dQSCx5)ZM>i#!ft=!m-LEho!PG=OuO|&Y{nQYzhi>L5Eh-k* z`+T?DR-<~X`E5`9{lUKT^*qGrHE$U^9`KvgtQO29&msKaUXxPh$g5}=6=R6mgAqmu zX>Er=72&ckFG}1_Qg4^$+)^-8I9`$eEV?osE=y_V_S;5P1ki7z_AxI_v%N6O_CG%u JIAVUSe* - - - - - - - - KeePass2PCL.Test.UWP - anpan - Assets\StoreLogo.png - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.UWP/Properties/AssemblyInfo.cs b/KeePass2PCL.Test.UWP/Properties/AssemblyInfo.cs deleted file mode 100644 index 175ba33..0000000 --- a/KeePass2PCL.Test.UWP/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("KeePass2PCL.Test.UWP")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("KeePass2PCL.Test.UWP")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: AssemblyMetadata("TargetPlatform","UAP")] - -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: ComVisible(false)] \ No newline at end of file diff --git a/KeePass2PCL.Test.UWP/Properties/UnitTestApp.rd.xml b/KeePass2PCL.Test.UWP/Properties/UnitTestApp.rd.xml deleted file mode 100644 index efee59d..0000000 --- a/KeePass2PCL.Test.UWP/Properties/UnitTestApp.rd.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test.UWP/PwDatabaseTests.cs b/KeePass2PCL.Test.UWP/PwDatabaseTests.cs deleted file mode 100644 index 868aa95..0000000 --- a/KeePass2PCL.Test.UWP/PwDatabaseTests.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System.Reflection; -using Microsoft.VisualStudio.TestTools.UnitTesting; -using PCLStorage; -using System.IO; -using KeePass2PCL.Serialization; -using KeePass2PCL.Keys; - -namespace KeePass2PCL.Test.UWP -{ - [TestClass] - public class PwDatabaseTests - { - [TestMethod] - public void Open_With_Wrong_Password_Test() - { - IFolder folder = SpecialFolder.Current.Local; - IFolder testData = folder.CreateFolderAsync("TestData", - CreationCollisionOption.OpenIfExists).Result; - IFile file = testData.CreateFileAsync("1.kdbx", - CreationCollisionOption.ReplaceExisting).Result; - var fileStream = file.OpenAsync(PCLStorage.FileAccess.ReadAndWrite).Result; - var assembly = typeof(PwDatabaseTests).GetTypeInfo().Assembly; - var stream = assembly.GetManifestResourceStream( - "KeePass2PCL.Test.UWP.TestData.1.kdbx"); - using (var reader = new BinaryReader(stream)) - using (var fileWriter = new BinaryWriter(fileStream)) - { - fileWriter.Write(reader.ReadBytes((int)stream.Length)); - } - - var ci = new IOConnectionInfo(); - ci.Path = file.Path; - var key = new CompositeKey(); - key.AddUserKey(new KcpPassword("0")); - var db = new PwDatabase(); - bool wasException = false; - try - { - db.Open(ci, key, null); - } - catch (InvalidCompositeKeyException) - { - wasException = true; - } - Assert.IsTrue(wasException); - file.DeleteAsync().Wait(); - testData.DeleteAsync().Wait(); - } - - [TestMethod] - public void Open_With_KeyFile_Test() - { - IFolder folder = SpecialFolder.Current.Local; - IFolder testData = folder.CreateFolderAsync("TestData", - CreationCollisionOption.OpenIfExists).Result; - IFile keyFile = testData.CreateFileAsync("1.key", - CreationCollisionOption.ReplaceExisting).Result; - var fileStream = keyFile.OpenAsync(PCLStorage.FileAccess.ReadAndWrite).Result; - var assembly = typeof(PwDatabaseTests).GetTypeInfo().Assembly; - var stream = assembly.GetManifestResourceStream( - "KeePass2PCL.Test.UWP.TestData.1.key"); - using (var reader = new BinaryReader(stream)) - using (var fileWriter = new BinaryWriter(fileStream)) - { - fileWriter.Write(reader.ReadBytes((int)stream.Length)); - } - - IFile file = testData.CreateFileAsync("1key.kdbx", - CreationCollisionOption.ReplaceExisting).Result; - fileStream = file.OpenAsync(PCLStorage.FileAccess.ReadAndWrite).Result; - assembly = typeof(PwDatabaseTests).GetTypeInfo().Assembly; - stream = assembly.GetManifestResourceStream( - "KeePass2PCL.Test.UWP.TestData.1key.kdbx"); - using (var reader = new BinaryReader(stream)) - using (var fileWriter = new BinaryWriter(fileStream)) - { - fileWriter.Write(reader.ReadBytes((int)stream.Length)); - } - - var ci = new IOConnectionInfo(); - ci.Path = file.Path; - var key = new CompositeKey(); - key.AddUserKey(new KcpKeyFile(keyFile.Path)); - var db = new PwDatabase(); - db.Open(ci, key, null); - keyFile.DeleteAsync().Wait(); - file.DeleteAsync().Wait(); - testData.DeleteAsync().Wait(); - } - - [TestMethod] - public void New_Test() - { - IFolder folder = SpecialFolder.Current.Local; - IFolder testData = folder.CreateFolderAsync("TestData", - CreationCollisionOption.OpenIfExists).Result; - IFile file = testData.CreateFileAsync("1.kdbx", - CreationCollisionOption.ReplaceExisting).Result; - - var ci = new IOConnectionInfo(); - ci.Path = file.Path; - var key = new CompositeKey(); - key.AddUserKey(new KcpPassword("0")); - var db = new PwDatabase(); - db.New(ci, key); - var initialEnitiesCount = db.RootGroup.GetEntriesCount(true); - Assert.AreNotEqual(0, initialEnitiesCount); - db.Save(null); - db.Close(); - Assert.IsNull(db.RootGroup); - db = new PwDatabase(); - db.Open(ci, key, null); - Assert.AreEqual(initialEnitiesCount, - db.RootGroup.GetEntriesCount(true)); - } - } -} diff --git a/KeePass2PCL.Test.UWP/TestData/1.kdbx b/KeePass2PCL.Test.UWP/TestData/1.kdbx deleted file mode 100644 index 9a6ea8aae099337f000fd8a0240027a90b846106..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1134 zcmV-!1d;m#*`k_f`%AR}00RI55CAd3^5(yBLr}h01tDtuTK@wC0096100bZaGO0rb z1=bNzlj5*a^)Q|w>#Ybsf{)ZViToe@88uil1t0*FR`tXWwU9t@4d018twNh8`zETV zWNkB0QVbnBH-g0m2mo*w00000000LN0C9w}Sn!mL~^@a+dyh!JszJYt?v`F0{ zH=)Qlo2Rk*x=b59N!u@J$DdOGOm;-LXOqZsQ2s;9d*zf?{Y!xQ>;*azwF?@y zhFS`fSHS^MuU@V&X|^kZ#TX`ECo~y{QG(PmmuRZRe9cD5MQqf)kNBgIrucm~|B17AQUOyGsF}H8dCP)l9@Or;raLWR6(zh) zt;G&{W~o~Q0!B0GeD9+t{91Bu95o)9AR4MEQMMU#P9E@gVB4F&S80Fi@t&Suy~tYu ztHfl;DC+}d1(%R$)@Nr|hL+83AV@-xya2^Jm5-8{=vyq^_;)TUNIFx9p2_-ui4a8J zz!J-u&ZQ}RVMPurVhru4M_3KVDRb({;HM!jS<*I2b?xd{ErB}45$R2X-q}|P{$%V+ z1lSx>&tk0Wm%*9pbWEQmlKhzWw%o?~9SSCrxHIin8*5;E3s6BTi$_ILl z8FcyV@mbozW-0{{!RZyfJ_Q$u8~l&t8_dSTS^rtn=!b=rxB)5Ko0!IzoQ4|H(WGi=JosZuSqa zhLrR2`c{5s)`a1aA7YuI-ctE3_)onZE!l#!Rtmt@dCCwt&{Dm3rpUjcBpDb=2=blX z8KRUHL1WN$ybMoYC+BQ@Bi305CV#|fg4DDoC5fni3vK$dp-wr0dZvTmR*h5RGWPbP?1{8u6 A`~Uy| diff --git a/KeePass2PCL.Test.UWP/TestData/1.key b/KeePass2PCL.Test.UWP/TestData/1.key deleted file mode 100644 index fcbc781..0000000 --- a/KeePass2PCL.Test.UWP/TestData/1.key +++ /dev/null @@ -1,9 +0,0 @@ - - - - 1.00 - - - M+5k7gXYzjN8Vwp5akdSwaPeUhBq0bC0q5qnSYlJmAw= - - diff --git a/KeePass2PCL.Test.UWP/TestData/1key.kdbx b/KeePass2PCL.Test.UWP/TestData/1key.kdbx deleted file mode 100644 index 838ad6cd0414cdfb523c2d69606868195e5b7f3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1838 zcmV+}2hsQg*`k_f`%AR}00RI55CAd3^5(yBLr}h01tDtuTK@wC0096100bZa(iGCt zqwa}kkHgz}gvA)@g)DQVa412mo*w00000000LN05a(iS$1IcE6<(J%+nG&_Xr>Wwr>-Nd@ur) z0dIQ_7BM@DB|IPHO@O+xfYGyBwz)D32_OJeS8TPu(N8I@Hc|RwcQGL$zYzCbQf3#OAG0^cQH~6}!g)7?x=c?y3Mow!7W?=Spe^$6QkqD)I1Vj> z;imno(7Yg(!i`lCskB*YSc7L{#Rm@lUw)NY;%L^iRYv(U*0ZE_>uB!cj(4x6#GUq& zbq$L4)I5hmY%Nw@8Qva-<1GWy3Hc`#LXwEVNQ^Y+ftW9g+KVI>4UFp}r@=$OZ~88N zcC*T05E6wGsu5K%+lXeBV-;o30Q8l_j!3L-7bk;}S^vxwZa#p3x5;@^ScDuff@*c}-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.Test.UWP/UnitTestApp.xaml.cs b/KeePass2PCL.Test.UWP/UnitTestApp.xaml.cs deleted file mode 100644 index 22ee43c..0000000 --- a/KeePass2PCL.Test.UWP/UnitTestApp.xaml.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.ApplicationModel; -using Windows.ApplicationModel.Activation; -using Windows.Foundation; -using Windows.Foundation.Collections; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Navigation; - -namespace KeePass2PCL.Test.UWP -{ - ///

- /// Provides application-specific behavior to supplement the default Application class. - /// - sealed partial class App : Application - { - /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). - /// - public App() - { - this.InitializeComponent(); - this.Suspending += OnSuspending; - } - - /// - /// Invoked when the application is launched normally by the end user. Other entry points - /// will be used such as when the application is launched to open a specific file. - /// - /// Details about the launch request and process. - protected override void OnLaunched(LaunchActivatedEventArgs e) - { - -#if DEBUG - if (System.Diagnostics.Debugger.IsAttached) - { - this.DebugSettings.EnableFrameRateCounter = true; - } -#endif - - Frame rootFrame = Window.Current.Content as Frame; - - // Do not repeat app initialization when the Window already has content, - // just ensure that the window is active - if (rootFrame == null) - { - // Create a Frame to act as the navigation context and navigate to the first page - rootFrame = new Frame(); - - rootFrame.NavigationFailed += OnNavigationFailed; - - if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) - { - //TODO: Load state from previously suspended application - } - - // Place the frame in the current Window - Window.Current.Content = rootFrame; - } - - Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.CreateDefaultUI(); - - // Ensure the current window is active - Window.Current.Activate(); - - Microsoft.VisualStudio.TestPlatform.TestExecutor.UnitTestClient.Run(e.Arguments); - } - - /// - /// Invoked when Navigation to a certain page fails - /// - /// The Frame which failed navigation - /// Details about the navigation failure - void OnNavigationFailed(object sender, NavigationFailedEventArgs e) - { - throw new Exception("Failed to load Page " + e.SourcePageType.FullName); - } - - /// - /// Invoked when application execution is being suspended. Application state is saved - /// without knowing whether the application will be terminated or resumed with the contents - /// of memory still intact. - /// - /// The source of the suspend request. - /// Details about the suspend request. - private void OnSuspending(object sender, SuspendingEventArgs e) - { - var deferral = e.SuspendingOperation.GetDeferral(); - //TODO: Save application state and stop any background activity - deferral.Complete(); - } - } -} diff --git a/KeePass2PCL.Test/KeePass2PCL.Test.KeePassLib.csproj b/KeePass2PCL.Test/KeePass2PCL.Test.KeePassLib.csproj deleted file mode 100644 index a40e2e8..0000000 --- a/KeePass2PCL.Test/KeePass2PCL.Test.KeePassLib.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Debug - AnyCPU - {2637FAA9-838C-43AB-81F3-BB231E0E1DCA} - Library - KeePass2PCL.Test.KeePassLib - KeePass2PCL.Test.KeePassLib - v4.5 - - - - - true - full - false - bin\Debug - DEBUG;KeePassLib - prompt - 4 - false - - - true - bin\Release - KeePassLib; - prompt - 4 - false - - - - ..\packages\Castle.Core.4.1.1\lib\net45\Castle.Core.dll - - - ..\packages\pt.KeePassLib.2.35.2\lib\net20\KeePassLib.dll - - - ..\packages\Moq.4.7.99\lib\net45\Moq.dll - - - ..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test/app.config b/KeePass2PCL.Test/app.config deleted file mode 100644 index 81b66be..0000000 --- a/KeePass2PCL.Test/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/KeePass2PCL.Test/packages.config b/KeePass2PCL.Test/packages.config deleted file mode 100644 index 58f1691..0000000 --- a/KeePass2PCL.Test/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file