100 lines
3.4 KiB
C#
100 lines
3.4 KiB
C#
#if true
|
|
using Adaptation._Tests.Shared;
|
|
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_59_0;
|
|
|
|
[TestClass]
|
|
public class METCLIMATEC
|
|
{
|
|
|
|
#pragma warning disable CA2254
|
|
#pragma warning disable IDE0060
|
|
|
|
private static CreateSelfDescription.Production.v2_59_0.METCLIMATEC _METCLIMATEC;
|
|
|
|
[ClassInitialize]
|
|
public static void ClassInitialize(TestContext testContext)
|
|
{
|
|
CreateSelfDescription.Production.v2_59_0.METCLIMATEC.ClassInitialize(testContext);
|
|
_METCLIMATEC = CreateSelfDescription.Production.v2_59_0.METCLIMATEC.EAFLoggingUnitTesting;
|
|
}
|
|
|
|
private static void NonThrowTryCatch()
|
|
{
|
|
try
|
|
{ throw new Exception(); }
|
|
catch (Exception) { }
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__MoveMatchingFiles() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__MoveMatchingFiles();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__MoveMatchingFiles637953064190000000__Normal()
|
|
{
|
|
string check = "*.pdsf";
|
|
bool validatePDSF = false;
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
_METCLIMATEC.Production__v2_59_0__METCLIMATEC__MoveMatchingFiles();
|
|
Assert.IsFalse(string.IsNullOrEmpty(_METCLIMATEC.AdaptationTesting.TestContext.FullyQualifiedTestClassName));
|
|
string[] variables = _METCLIMATEC.AdaptationTesting.GetVariables(methodBase, check, validatePDSF);
|
|
IFileRead fileRead = _METCLIMATEC.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF);
|
|
NonThrowTryCatch();
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__IQSSi() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__IQSSi();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__IQSSi638465291633220310__Normal()
|
|
{
|
|
string check = "*.pdsf";
|
|
_METCLIMATEC.Production__v2_59_0__METCLIMATEC__IQSSi();
|
|
MethodBase methodBase = new StackFrame().GetMethod();
|
|
string[] variables = _METCLIMATEC.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false);
|
|
IFileRead fileRead = _METCLIMATEC.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false);
|
|
Logistics logistics = new(fileRead);
|
|
_ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics);
|
|
NonThrowTryCatch();
|
|
}
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__Processed() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Processed();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__Archive() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Archive();
|
|
|
|
#if DEBUG
|
|
[Ignore]
|
|
#endif
|
|
[TestMethod]
|
|
public void Production__v2_59_0__METCLIMATEC__Dummy() => _METCLIMATEC.Production__v2_59_0__METCLIMATEC__Dummy();
|
|
|
|
}
|
|
#endif |