using System; namespace UnityEditor.TestTools.TestRunner.Api.Analytics { internal class AnalyticsTestCallback : ICallbacks { private Action _runFinishedCallback; public AnalyticsTestCallback(Action runFinishedCallback) { _runFinishedCallback = runFinishedCallback; } public void RunStarted(ITestAdaptor testsToRun) { } public void RunFinished(ITestResultAdaptor result) { _runFinishedCallback(result); } public void TestStarted(ITestAdaptor test) { } public void TestFinished(ITestResultAdaptor result) { } } }