Skip to content

Commit

Permalink
Update Test_IMaaController.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed Jan 3, 2024
1 parent 40818e9 commit 8a4daf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Test_IMaaController
MaaTypes.Native, new MaaAdbController(Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.ScreencapEncode, Common.AdbConfig, Common.AgentPath, LinkOption.None)
},
{
MaaTypes.Grpc, new MaaAdbControllerGrpc(Common.GrpcChannel, Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.ScreencapEncode, Common.AdbConfig, Common.AgentPath, LinkOption.None)
MaaTypes.Grpc, new MaaAdbControllerGrpc(Common.GrpcChannel, Common.AdbPath, Common.Address, s_inputPreset | AdbControllerTypes.Scre, Common.AdbConfig, Common.AgentPath, LinkOption.None)

Check failure on line 20 in src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, x86_64, 7.0)

'AdbControllerTypes' does not contain a definition for 'Scre'

Check failure on line 20 in src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, x86_64, 7.0)

'AdbControllerTypes' does not contain a definition for 'Scre'

Check failure on line 20 in src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, x86_64, 8.0)

'AdbControllerTypes' does not contain a definition for 'Scre'

Check failure on line 20 in src/MaaFramework.Binding.UnitTests/Test_IMaaController.cs

View workflow job for this annotation

GitHub Actions / build (windows-latest, x86_64, 8.0)

'AdbControllerTypes' does not contain a definition for 'Scre'
}
};
public static Dictionary<MaaTypes, object> Data { get; private set; } = default!;
Expand Down Expand Up @@ -331,7 +331,7 @@ public void GithubActionsTest(AdbControllerTypes screencap)
using var maa = new MaaAdbController(
Common.AdbPath,
Common.Address,
AdbControllerTypes.InputPresetAdb | AdbControllerTypes.ScreencapEncode,
AdbControllerTypes.InputPresetAdb | screencap,
"{}",
Common.AgentPath);

Expand Down

0 comments on commit 8a4daf2

Please sign in to comment.