Debian Codegraph @

modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/ScriptMethodsGeneratorTests.cs

raw symbols SCIP
1 using System.Threading.Tasks;
2 using Xunit;
3
4 namespace Godot.SourceGenerators.Tests;
5
6 public class ScriptMethodsGeneratorTests
7 {
8 [Fact]
9 public async Task Methods()
10 {
11 await CSharpSourceGeneratorVerifier<ScriptMethodsGenerator>.Verify(
12 "Methods.cs",
13 "Methods_ScriptMethods.generated.cs"
14 );
15 }
16
17 [Fact]
18 public async Task ScriptBoilerplate()
19 {
20 await CSharpSourceGeneratorVerifier<ScriptMethodsGenerator>.Verify(
21 "ScriptBoilerplate.cs",
22 "ScriptBoilerplate_ScriptMethods.generated.cs", "OuterClass.NestedClass_ScriptMethods.generated.cs"
23 );
24 }
25 }