-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2385c9b
commit e338122
Showing
4 changed files
with
20 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
// Copyright (c) David Pine. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Microsoft.Testing.Framework; | ||
using Microsoft.Testing.Platform.Builder; | ||
var builder = await TestApplication.CreateBuilderAsync(args); | ||
|
||
namespace ProfanityFilter.Action.Tests; | ||
// Registers TestFramework, with tree of test nodes | ||
// that are generated into your project by source generator. | ||
builder.AddTestFramework(new SourceGeneratedTestNodesBuilder()); | ||
|
||
internal static class Program | ||
{ | ||
public static async Task<int> Main(string[] args) | ||
{ | ||
var builder = await TestApplication.CreateBuilderAsync(args); | ||
// Registers TestFramework, with tree of test nodes | ||
// that are generated into your project by source generator. | ||
builder.AddTestFramework(new SourceGeneratedTestNodesBuilder()); | ||
var app = await builder.BuildAsync(); | ||
return await app.RunAsync(); | ||
} | ||
} | ||
var app = await builder.BuildAsync(); | ||
|
||
return await app.RunAsync(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
// Copyright (c) David Pine. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
using Microsoft.Testing.Framework; | ||
using Microsoft.Testing.Platform.Builder; | ||
var builder = await TestApplication.CreateBuilderAsync(args); | ||
|
||
namespace ProfanityFilter.Services.Tests; | ||
// Registers TestFramework, with tree of test nodes | ||
// that are generated into your project by source generator. | ||
builder.AddTestFramework(new SourceGeneratedTestNodesBuilder()); | ||
|
||
internal static class Program | ||
{ | ||
public static async Task<int> Main(string[] args) | ||
{ | ||
var builder = await TestApplication.CreateBuilderAsync(args); | ||
// Registers TestFramework, with tree of test nodes | ||
// that are generated into your project by source generator. | ||
builder.AddTestFramework(new SourceGeneratedTestNodesBuilder()); | ||
var app = await builder.BuildAsync(); | ||
return await app.RunAsync(); | ||
} | ||
} | ||
var app = await builder.BuildAsync(); | ||
|
||
return await app.RunAsync(); |