31 lines
		
	
	
		
			683 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			683 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using UnityEditor.TestTools.TestRunner.Api;
 | |
| 
 | |
| namespace UnityEditor.TestTools.TestRunner.CommandLineTest
 | |
| {
 | |
|     internal class RunSettings : ITestRunSettings
 | |
|     {
 | |
|         private ITestSettings m_TestSettings;
 | |
|         public RunSettings(ITestSettings testSettings)
 | |
|         {
 | |
|             m_TestSettings = testSettings;
 | |
|         }
 | |
| 
 | |
|         public void Apply()
 | |
|         {
 | |
|             if (m_TestSettings != null)
 | |
|             {
 | |
|                 m_TestSettings.SetupProjectParameters();
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         public void Dispose()
 | |
|         {
 | |
|             if (m_TestSettings != null)
 | |
|             {
 | |
|                 m_TestSettings.Dispose();
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 |