21 lines
612 B
C#
21 lines
612 B
C#
using System.Threading.Tasks;
|
|
using Xunit;
|
|
|
|
namespace Godot.SourceGenerators.Tests;
|
|
|
|
public class ClassPartialModifierTest
|
|
{
|
|
[Fact]
|
|
public async Task ClassPartialModifierCodeFixTest()
|
|
{
|
|
await CSharpCodeFixVerifier<ClassPartialModifierCodeFixProvider, ClassPartialModifierAnalyzer>
|
|
.Verify("ClassPartialModifier.GD0001.cs", "ClassPartialModifier.GD0001.fixed.cs");
|
|
}
|
|
|
|
[Fact]
|
|
public async void OuterClassPartialModifierAnalyzerTest()
|
|
{
|
|
await CSharpAnalyzerVerifier<ClassPartialModifierAnalyzer>.Verify("OuterClassPartialModifierAnalyzer.GD0002.cs");
|
|
}
|
|
}
|