Firstborn/Library/PackageCache/com.unity.test-framework@1..../UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

23 lines
648 B
C#

using System;
using UnityEditor.Networking.PlayerConnection;
using UnityEngine;
using UnityEngine.Networking.PlayerConnection;
using UnityEngine.TestRunner.TestLaunchers;
namespace UnityEditor.TestTools.TestRunner
{
[Serializable]
internal class RemoteTestResultReciever
{
public void RunStarted(MessageEventArgs messageEventArgs)
{
}
public void RunFinished(MessageEventArgs messageEventArgs)
{
EditorConnection.instance.Send(PlayerConnectionMessageIds.quitPlayerMessageId, null, messageEventArgs.playerId);
EditorConnection.instance.DisconnectAll();
}
}
}