From 90e16c1b1ee0b522362f9766460485bc59498f05 Mon Sep 17 00:00:00 2001 From: "Andres G. Aragoneses" Date: Fri, 18 Sep 2020 14:07:04 +0800 Subject: [PATCH] TgSharp.Tests.VS: remove VS-tests layer as it's not needed anymore Fixes https://github.com/nblockchain/TgSharp/issues/24 --- .../Properties/AssemblyInfo.cs | 36 ------ src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj | 104 ------------------ src/TgSharp.Tests.VS/TgSharpTestsVs.cs | 71 ------------ src/TgSharp.sln | 6 - 4 files changed, 217 deletions(-) delete mode 100644 src/TgSharp.Tests.VS/Properties/AssemblyInfo.cs delete mode 100644 src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj delete mode 100644 src/TgSharp.Tests.VS/TgSharpTestsVs.cs diff --git a/src/TgSharp.Tests.VS/Properties/AssemblyInfo.cs b/src/TgSharp.Tests.VS/Properties/AssemblyInfo.cs deleted file mode 100644 index ccde01d..0000000 --- a/src/TgSharp.Tests.VS/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("TgSharp.Tests.VS")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("TgSharp.Tests.VS")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("affc3b00-3e4d-4327-8f7a-08ee41e0c8b7")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj b/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj deleted file mode 100644 index f00d296..0000000 --- a/src/TgSharp.Tests.VS/TgSharp.Tests.VS.csproj +++ /dev/null @@ -1,104 +0,0 @@ - - - - Debug - AnyCPU - {AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7} - Library - Properties - TgSharp.Tests.VS - TgSharp.Tests.VS - v4.6 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 10.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 - - - - - - - - - - - - - - - - - - - - - - - {d6144517-91d2-4880-86df-e9ff5d7f383a} - TgSharp.TL - - - {400d2544-1cc6-4d8a-a62c-2292d9947a16} - TgSharp.Core - - - {de5c0467-ee99-4734-95f2-eff7a0b99924} - TgSharp.Tests - - - - - app.config - - - - - - - - False - - - False - - - False - - - False - - - - - - - - \ No newline at end of file diff --git a/src/TgSharp.Tests.VS/TgSharpTestsVs.cs b/src/TgSharp.Tests.VS/TgSharpTestsVs.cs deleted file mode 100644 index a063a35..0000000 --- a/src/TgSharp.Tests.VS/TgSharpTestsVs.cs +++ /dev/null @@ -1,71 +0,0 @@ - -using System.Threading.Tasks; - -using Microsoft.VisualStudio.TestTools.UnitTesting; - -namespace TgSharp.Tests -{ - [TestClass] - public class TgSharpTestsVS : TgSharpTests - { - [TestInitialize] - public void Init() - { - base.Init(o => Assert.IsNotNull(o), b => Assert.IsTrue(b)); - } - - [TestMethod] - public override async Task AuthUser() - { - await base.AuthUser(); - } - - [TestMethod] - public override async Task SendMessageTest() - { - await base.SendMessageTest(); - } - - [TestMethod] - public override async Task SendMessageToChannelTest() - { - await base.SendMessageToChannelTest(); - } - - [TestMethod] - public override async Task SendPhotoToContactTest() - { - await base.SendPhotoToContactTest(); - } - - [TestMethod] - public override async Task SendBigFileToContactTest() - { - await base.SendBigFileToContactTest(); - } - - [TestMethod] - public override async Task DownloadFileFromContactTest() - { - await base.DownloadFileFromContactTest(); - } - - [TestMethod] - public override async Task DownloadFileFromWrongLocationTest() - { - await base.DownloadFileFromWrongLocationTest(); - } - - [TestMethod] - public override async Task SignUpNewUser() - { - await base.SignUpNewUser(); - } - - [TestMethod] - public override async Task SendMessageByUserNameTest() - { - await base.SendMessageByUserNameTest(); - } - } -} diff --git a/src/TgSharp.sln b/src/TgSharp.sln index dbd2969..020ef02 100644 --- a/src/TgSharp.sln +++ b/src/TgSharp.sln @@ -11,8 +11,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Generator", "TgShar EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Tests", "TgSharp.Tests\TgSharp.Tests.csproj", "{DE5C0467-EE99-4734-95F2-EFF7A0B99924}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Tests.VS", "TgSharp.Tests.VS\TgSharp.Tests.VS.csproj", "{AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TgSharp.Tests.NUnit", "TgSharp.Tests.NUnit\TgSharp.Tests.NUnit.csproj", "{E90B705B-19FA-43BA-B952-69957976D12C}" EndProject Global @@ -37,10 +35,6 @@ Global {DE5C0467-EE99-4734-95F2-EFF7A0B99924}.Debug|Any CPU.Build.0 = Debug|Any CPU {DE5C0467-EE99-4734-95F2-EFF7A0B99924}.Release|Any CPU.ActiveCfg = Release|Any CPU {DE5C0467-EE99-4734-95F2-EFF7A0B99924}.Release|Any CPU.Build.0 = Release|Any CPU - {AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AFFC3B00-3E4D-4327-8F7A-08EE41E0C8B7}.Release|Any CPU.Build.0 = Release|Any CPU {E90B705B-19FA-43BA-B952-69957976D12C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E90B705B-19FA-43BA-B952-69957976D12C}.Debug|Any CPU.Build.0 = Debug|Any CPU {E90B705B-19FA-43BA-B952-69957976D12C}.Release|Any CPU.ActiveCfg = Release|Any CPU