You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
674 B
C#
30 lines
674 B
C#
1 year ago
|
using UnityEditor.TestTools.TestRunner.Api;
|
||
|
|
||
|
namespace UnityEditor.TestTools.TestRunner.CommandLineTest
|
||
|
{
|
||
|
internal class RunSettings : ITestRunSettings
|
||
|
{
|
||
|
private ITestSettings m_TestSettings;
|
||
|
public RunSettings(ITestSettings testSettings)
|
||
|
{
|
||
|
this.m_TestSettings = testSettings;
|
||
|
}
|
||
|
|
||
|
public void Apply()
|
||
|
{
|
||
|
if (m_TestSettings != null)
|
||
|
{
|
||
|
m_TestSettings.SetupProjectParameters();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public void Dispose()
|
||
|
{
|
||
|
if (m_TestSettings != null)
|
||
|
{
|
||
|
m_TestSettings.Dispose();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|