Newer
Older
Simple-Multiplayer-Unity3D / Multiplayer Project / Library / PackageCache / com.unity.test-framework@1.1.33 / UnityEditor.TestRunner / CommandLineTest / RunSettings.cs
  1. using UnityEditor.TestTools.TestRunner.Api;
  2. namespace UnityEditor.TestTools.TestRunner.CommandLineTest
  3. {
  4. internal class RunSettings : ITestRunSettings
  5. {
  6. private ITestSettings m_TestSettings;
  7. public RunSettings(ITestSettings testSettings)
  8. {
  9. this.m_TestSettings = testSettings;
  10. }
  11. public void Apply()
  12. {
  13. if (m_TestSettings != null)
  14. {
  15. m_TestSettings.SetupProjectParameters();
  16. }
  17. }
  18. public void Dispose()
  19. {
  20. if (m_TestSettings != null)
  21. {
  22. m_TestSettings.Dispose();
  23. }
  24. }
  25. }
  26. }