Ready to test
This commit is contained in:
		
							
								
								
									
										28
									
								
								Adaptation/_Tests/Shared/EAFLoggingUnitTesting.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Adaptation/_Tests/Shared/EAFLoggingUnitTesting.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | ||||
| using Microsoft.VisualStudio.TestTools.UnitTesting; | ||||
| using System; | ||||
|  | ||||
| namespace Shared; | ||||
|  | ||||
| public class EAFLoggingUnitTesting : LoggingUnitTesting, IDisposable | ||||
| { | ||||
|  | ||||
|     protected readonly AdaptationTesting _AdaptationTesting; | ||||
|  | ||||
|     public AdaptationTesting AdaptationTesting => _AdaptationTesting; | ||||
|  | ||||
|     public EAFLoggingUnitTesting(TestContext testContext, Type declaringType, bool skipEquipmentDictionary) : | ||||
|         base(testContext, declaringType) | ||||
|     { | ||||
|         if (testContext is null || declaringType is null) | ||||
|             _AdaptationTesting = null; | ||||
|         else | ||||
|             _AdaptationTesting = new AdaptationTesting(testContext, skipEquipmentDictionary); | ||||
|     } | ||||
|  | ||||
|     public new void Dispose() | ||||
|     { | ||||
|         base.Dispose(); | ||||
|         GC.SuppressFinalize(this); | ||||
|     } | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user