jump-game/Jump Game/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestLaunchers/RemoteTestResultReciever.cs
2020-01-29 10:05:38 +02:00

23 lines
649 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.runFinishedMessageId, null, messageEventArgs.playerId);
EditorConnection.instance.DisconnectAll();
}
}
}