158 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			158 lines
		
	
	
		
			6.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| #if v2_57_0
 | |
| using Adaptation.Shared;
 | |
| using Adaptation.Shared.Methods;
 | |
| using Microsoft.VisualStudio.TestTools.UnitTesting;
 | |
| using System;
 | |
| using System.Diagnostics;
 | |
| using System.Reflection;
 | |
| 
 | |
| namespace Adaptation._Tests.Extract.Production.v2_57_0;
 | |
| 
 | |
| [TestClass]
 | |
| public class MET08THFTIRQS408M
 | |
| {
 | |
| 
 | |
| #pragma warning disable CA2254
 | |
| #pragma warning disable IDE0060
 | |
| 
 | |
|     private static CreateSelfDescription.Production.v2_57_0.MET08THFTIRQS408M _MET08THFTIRQS408M;
 | |
| 
 | |
|     [ClassInitialize]
 | |
|     public static void ClassInitialize(TestContext testContext)
 | |
|     {
 | |
|         CreateSelfDescription.Production.v2_57_0.MET08THFTIRQS408M.ClassInitialize(testContext);
 | |
|         _MET08THFTIRQS408M = CreateSelfDescription.Production.v2_57_0.MET08THFTIRQS408M.EAFLoggingUnitTesting;
 | |
|     }
 | |
| 
 | |
|     private static void NonThrowTryCatch()
 | |
|     {
 | |
|         try
 | |
|         { throw new Exception(); }
 | |
|         catch (Exception) { }
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__MoveMatchingFiles() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__MoveMatchingFiles();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__OpenInsightMetrologyViewer() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__OpenInsightMetrologyViewer();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__IQSSi() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__IQSSi();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__IQSSi638402505394171507__IqsSql()
 | |
|     {
 | |
|         DateTime dateTime;
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__IQSSi();
 | |
|         string[] variables = _MET08THFTIRQS408M.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08THFTIRQS408M.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: string.Empty);
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: "Tue Nov 10 12:03:56 1970");
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__OpenInsight() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__OpenInsight();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__OpenInsight638042558563679143__IqsSql()
 | |
|     {
 | |
|         DateTime dateTime;
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__OpenInsight();
 | |
|         string[] variables = _MET08THFTIRQS408M.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08THFTIRQS408M.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: string.Empty);
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: "Tue Nov 10 12:03:56 1970");
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__OpenInsight638662107339513927__Long()
 | |
|     {
 | |
|         DateTime dateTime;
 | |
|         string check = "*.pdsf";
 | |
|         MethodBase methodBase = new StackFrame().GetMethod();
 | |
|         _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__OpenInsight();
 | |
|         string[] variables = _MET08THFTIRQS408M.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
 | |
|         IFileRead fileRead = _MET08THFTIRQS408M.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
 | |
|         Logistics logistics = new(fileRead);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: string.Empty);
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         dateTime = FileHandlers.QS408M.ProcessData.GetDateTime(logistics, tickOffset: 0, dateTimeText: "Tue Nov 10 12:03:56 1970");
 | |
|         Assert.IsTrue(dateTime == logistics.DateTimeFromSequence);
 | |
|         _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
 | |
|         NonThrowTryCatch();
 | |
|     }
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__OpenInsightMetrologyViewerAttachments() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__OpenInsightMetrologyViewerAttachments();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__APC() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__APC();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__SPaCe() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__SPaCe();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__Processed() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__Processed();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__Archive() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__Archive();
 | |
| 
 | |
| #if DEBUG
 | |
|     [Ignore]
 | |
| #endif
 | |
|     [TestMethod]
 | |
|     public void Production__v2_57_0__MET08THFTIRQS408M__Dummy() => _MET08THFTIRQS408M.Production__v2_57_0__MET08THFTIRQS408M__Dummy();
 | |
| 
 | |
| }
 | |
| #endif |