diff --git a/test/Serilog.MsTests/Properties/AssemblyInfo.cs b/test/Serilog.MsTests/Properties/AssemblyInfo.cs deleted file mode 100644 index 89c3d41c1..000000000 --- a/test/Serilog.MsTests/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("Serilog.MsTests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Serilog.MsTests")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[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("1c074a55-b853-45dd-ab0b-d1b16a110754")] - -// 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/test/Serilog.MsTests/Serilog.MsTests.csproj b/test/Serilog.MsTests/Serilog.MsTests.csproj deleted file mode 100644 index 5d72a5b36..000000000 --- a/test/Serilog.MsTests/Serilog.MsTests.csproj +++ /dev/null @@ -1,83 +0,0 @@ - - - - Debug - AnyCPU - {7FC9FC46-5014-4461-A448-815E6CCE21E5} - Library - Properties - Serilog.MsTests - Serilog.MsTests - v4.5 - 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 - - - - - - - - - - - - - - - - - - - - - - - - - False - - - False - - - False - - - False - - - - - - - - \ No newline at end of file diff --git a/test/Serilog.MsTests/SerilogTest.cs b/test/Serilog.MsTests/SerilogTest.cs deleted file mode 100644 index 51382a4fa..000000000 --- a/test/Serilog.MsTests/SerilogTest.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Serilog.Context; - -namespace Serilog.Tests.Context -{ - [TestClass] - public class SerilogTest - { - [TestInitialize] - public void TestInitialize() - { - LogContext.PermitCrossAppDomainCalls = true; - } - - [TestMethod] - public void TestLog() - { - var log = Log.ForContext(); - log.Information("Test"); - - Assert.AreEqual(1, 1); - } - - // Fails: with the error: An exception occurred while invoking executor 'executor://mstestadapter/v1': Type is not resolved for member 'Serilog.Context.ImmutableStack`1[[Serilog.Core.ILogEventEnricher, Serilog, Version=1.4.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10]],Serilog.FullNetFx, Version=1.4.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10'. - [TestMethod] - public void TestPushProperty() - { - var log = Log.ForContext(); - using (LogContext.PushProperty("Test property", "Test value")) - { - log.Information("Test"); - } - - Assert.AreEqual(1, 1); - } - } -} \ No newline at end of file diff --git a/test/Serilog.PerformanceTests/App.config b/test/Serilog.PerformanceTests/App.config deleted file mode 100644 index 8e1564635..000000000 --- a/test/Serilog.PerformanceTests/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/test/Serilog.PerformanceTests/Program.cs b/test/Serilog.PerformanceTests/Program.cs deleted file mode 100644 index d3ef498a6..000000000 --- a/test/Serilog.PerformanceTests/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Serilog.PerformanceTests -{ - class Program - { - static void Main() - { - const int iterations = 1000000; - var log = new LoggerConfiguration() - .WriteTo.File("test-" + Guid.NewGuid() + ".log") - .CreateLogger(); - for (var i = 0; i < iterations; i++) - { - log.Information("Running iteration {I:00.0} for {@J}!", i, new { Goal = "Speed" }); - } - } - } -} diff --git a/test/Serilog.PerformanceTests/Serilog.PerformanceTests.csproj b/test/Serilog.PerformanceTests/Serilog.PerformanceTests.csproj deleted file mode 100644 index a96f012cc..000000000 --- a/test/Serilog.PerformanceTests/Serilog.PerformanceTests.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - Debug - AnyCPU - {6A6504BF-CD5B-4C9E-88EB-5BD71CE3106A} - Exe - Properties - Serilog.PerformanceTests - Serilog.PerformanceTests - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/test/Serilog.SmokeTest/App.config b/test/Serilog.SmokeTest/App.config deleted file mode 100644 index abcfc2c3a..000000000 --- a/test/Serilog.SmokeTest/App.config +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/test/Serilog.SmokeTest/Program.cs b/test/Serilog.SmokeTest/Program.cs deleted file mode 100644 index b8d0e12b9..000000000 --- a/test/Serilog.SmokeTest/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; - -namespace Serilog.SmokeTest -{ - class Program - { - static void Main() - { - Log.Logger = new LoggerConfiguration() - .ReadFrom.AppSettings() - .CreateLogger(); - - var library = typeof(Log).Assembly.GetName(); - Log.Information("Hello {User} from {@Library}!", Environment.UserName, new { library.Name, Version = library.Version.ToString() }); - } - } -} diff --git a/test/Serilog.SmokeTest/Serilog.SmokeTest.csproj b/test/Serilog.SmokeTest/Serilog.SmokeTest.csproj deleted file mode 100644 index cb3bddb10..000000000 --- a/test/Serilog.SmokeTest/Serilog.SmokeTest.csproj +++ /dev/null @@ -1,50 +0,0 @@ - - - - - Debug - AnyCPU - {58563C46-B781-4799-ABD5-9745F94478FD} - Exe - Properties - Serilog.SmokeTest - Serilog.SmokeTest - v4.5 - 512 - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - \ No newline at end of file