RunSettings.cs 674 B

1234567891011121314151617181920212223242526272829
  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. }