Skip to content

Commit 50c32d9

Browse files
wip-fsharp
1 parent 83ccf1a commit 50c32d9

File tree

136 files changed

+12669
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+12669
-4
lines changed

csharp-dotnet-core3/ExampleService.Tests/ExampleService.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="mailslurp" Version="15.0.2" />
7+
<PackageReference Include="mailslurp" Version="15.12.11" />
88
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
99
<PackageReference Include="xunit" Version="2.4.0" />
1010
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />

csharp-smtp-client-xunit/SmtpService.Tests/SmtpService.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="FluentAssertions" Version="6.4.0"/>
12-
<PackageReference Include="mailslurp" Version="15.5.0"/>
12+
<PackageReference Include="mailslurp" Version="15.12.3"/>
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0"/>
1414
<PackageReference Include="xunit" Version="2.4.1"/>
1515
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">

csharp-smtp-client-xunit/SmtpService.Tests/UnitTest1.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ public class UnitTest1
1313
[Fact]
1414
public void CanSendEmailWithMailSlurpSmtp()
1515
{
16-
var apiKey = Environment.GetEnvironmentVariable("API_KEY")
17-
?? throw new ArgumentNullException("Missing API_KEY environment variable containing MailSlurp key");
16+
var apiKey = "wus_test";
1817

1918
// configure client
2019
var config = new Configuration();
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "fsharp-email-mstest", "fsharp-email-mstest\fsharp-email-mstest.fsproj", "{2033D994-A556-4FD9-8ABF-AD7D10F2A93F}"
4+
EndProject
5+
Global
6+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
7+
Debug|Any CPU = Debug|Any CPU
8+
Release|Any CPU = Release|Any CPU
9+
EndGlobalSection
10+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
11+
{2033D994-A556-4FD9-8ABF-AD7D10F2A93F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
12+
{2033D994-A556-4FD9-8ABF-AD7D10F2A93F}.Debug|Any CPU.Build.0 = Debug|Any CPU
13+
{2033D994-A556-4FD9-8ABF-AD7D10F2A93F}.Release|Any CPU.ActiveCfg = Release|Any CPU
14+
{2033D994-A556-4FD9-8ABF-AD7D10F2A93F}.Release|Any CPU.Build.0 = Release|Any CPU
15+
EndGlobalSection
16+
EndGlobal
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module Program = let [<EntryPoint>] main _ = 0
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace fsharp_email_mstest
2+
3+
open System
4+
open Microsoft.VisualStudio.TestTools.UnitTesting
5+
6+
[<TestClass>]
7+
type TestClass () =
8+
9+
[<TestMethod>]
10+
member this.TestMethodPassing () =
11+
Assert.IsTrue(true);
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<RootNamespace>fsharp_email_mstest</RootNamespace>
6+
7+
<IsPackable>false</IsPackable>
8+
<GenerateProgramFile>false</GenerateProgramFile>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<Compile Include="Tests.fs"/>
13+
<Compile Include="Program.fs"/>
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0"/>
18+
<PackageReference Include="MSTest.TestAdapter" Version="2.1.0"/>
19+
<PackageReference Include="MSTest.TestFramework" Version="2.1.0"/>
20+
<PackageReference Include="coverlet.collector" Version="1.2.0"/>
21+
</ItemGroup>
22+
23+
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
namespace Microsoft.BuildSettings
2+
[<System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName="")>]
3+
do ()
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// <auto-generated>
2+
// Generated by the FSharp WriteCodeFragment class.
3+
// </auto-generated>
4+
namespace FSharp
5+
6+
open System
7+
open System.Reflection
8+
9+
10+
[<assembly: System.Reflection.AssemblyCompanyAttribute("fsharp-email-mstest")>]
11+
[<assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")>]
12+
[<assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")>]
13+
[<assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")>]
14+
[<assembly: System.Reflection.AssemblyProductAttribute("fsharp-email-mstest")>]
15+
[<assembly: System.Reflection.AssemblyTitleAttribute("fsharp-email-mstest")>]
16+
[<assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")>]
17+
do()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
33eaf0648dba387a48c170c2b099b43f407543eb

0 commit comments

Comments
 (0)