From 67b2ddae418df87e125c9853940c2021016ab49a Mon Sep 17 00:00:00 2001 From: Mike Phares Date: Thu, 16 May 2024 11:56:15 -0700 Subject: [PATCH] Added Hypen Removed IQS.Copy Dual write PDSF for Metrology Viewer Version Error Message MetrologyViewerFileShare Tests passed net8.0 v2_52_0-Tests editorconfig yml ec fix yml explict contents Delete File if Exists dotnet_diagnostic Removed Open Insight API IFX Directory from Save CA1862 and GetWeekOfYear for WritePDSF gitignore cellInstanceVersion.EdaConnection.PortNumber Added Climatec to Test.cs GetJobIdDirectory Remove and 5-Other-Small NETFRAMEWORK --- .gitignore | 4 + .vscode/settings.json | 66 +++++-- Adaptation/.editorconfig | 33 ++++ Adaptation/.kanbn/index.md | 6 +- Adaptation/.vscode/launch.json | 2 +- Adaptation/.vscode/mklink.md | 5 + Adaptation/.vscode/tasks.json | 26 ++- Adaptation/FileHandlers/Archive/FileRead.cs | 2 +- .../FileHandlers/DownloadRsMFile/FileRead.cs | 6 +- Adaptation/FileHandlers/Dummy/FileRead.cs | 2 +- .../MoveMatchingFiles/FileRead.cs | 5 +- .../FileHandlers/OpenInsight/FileRead.cs | 16 +- .../FileHandlers/OpenInsight/FromIQS.cs | 121 ++++++++++-- .../OpenInsightMetrologyViewer/FileRead.cs | 23 ++- .../OpenInsightMetrologyViewer/WSRequest.cs | 33 ++-- .../FileRead.cs | 61 ++++-- Adaptation/FileHandlers/RsM/Description.cs | 2 +- Adaptation/FileHandlers/RsM/FileRead.cs | 3 +- Adaptation/FileHandlers/txt/Description.cs | 2 +- Adaptation/FileHandlers/txt/FileRead.cs | 3 +- Adaptation/Infineon/Monitoring/MonA/MonIn.cs | 17 +- Adaptation/MET08RESIMAPCDE-Development.yml | 19 +- Adaptation/MET08RESIMAPCDE.Tests.csproj | 48 ++--- Adaptation/MET08RESIMAPCDE.yml | 19 +- Adaptation/Shared/Duplicator/Description.cs | 2 +- Adaptation/Shared/FileRead.cs | 125 ++++++++++-- Adaptation/Shared/Logistics.cs | 2 +- Adaptation/Shared/Metrology/WS.Attachment.cs | 11 +- Adaptation/Shared/Metrology/WS.cs | 64 +++--- .../Shared/ProcessDataStandardFormat.cs | 13 +- Adaptation/Shared/Test.cs | 3 +- .../Staging/v2.36.1/CDE2.cs | 8 +- .../Staging/v2.36.1/CDE3-EQPT.cs | 8 +- .../Staging/v2.36.1/CDE3.cs | 8 +- .../Staging/v2.36.1/CDE5.cs | 8 +- .../Staging/v2.36.1/MET08RESIMAPCDE.cs | 24 +-- .../Staging/v2.39.0/CDE2.cs | 8 +- .../Staging/v2.39.0/CDE3-EQPT.cs | 8 +- .../Staging/v2.39.0/CDE3.cs | 8 +- .../Staging/v2.39.0/CDE5.cs | 8 +- .../Staging/v2.39.0/MET08RESIMAPCDE.cs | 24 +-- .../Staging/v2.43.2/CDE2.cs | 8 +- .../Staging/v2.43.2/CDE3-EQPT.cs | 8 +- .../Staging/v2.43.2/CDE3.cs | 8 +- .../Staging/v2.43.2/CDE5.cs | 8 +- .../Staging/v2.43.2/MET08RESIMAPCDE.cs | 26 +-- .../Staging/v2.43.3/CDE5-EQPT.cs | 8 +- .../Staging/v2.43.3/CDE5.cs | 8 +- .../Staging/v2.43.4/CDE2.cs | 8 +- .../Staging/v2.43.4/CDE5.cs | 8 +- .../Staging/v2.43.4/MET08RESIMAPCDE.cs | 26 +-- .../Staging/v2.47.0/CDE2.cs | 8 +- .../Staging/v2.47.0/CDE5.cs | 8 +- .../Staging/v2.47.1/MET08RESIMAPCDE.cs | 26 +-- .../Staging/v2.47.2/CDE2.cs | 8 +- .../Staging/v2.47.2/CDE5.cs | 8 +- .../Staging/v2.47.2/CDE6-EQPT.cs | 8 +- .../Staging/v2.47.2/CDE6.cs | 8 +- .../Staging/v2.47.2/MET08RESIMAPCDE.cs | 26 +-- .../Staging/v2.47.5/CDE2.cs | 8 +- .../Staging/v2.47.5/CDE3.cs | 8 +- .../Staging/v2.47.5/CDE5.cs | 8 +- .../Staging/v2.47.5/CDE6.cs | 8 +- .../Staging/v2.47.5/MET08RESIMAPCDE.cs | 26 ++- .../Staging/v2.49.0/CDE2.cs | 8 +- .../Staging/v2.49.0/CDE3.cs | 8 +- .../Staging/v2.49.0/CDE5.cs | 8 +- .../Staging/v2.49.0/CDE6-EQPT.cs | 8 +- .../Staging/v2.49.0/CDE6.cs | 8 +- .../Staging/v2.49.0/MET08RESIMAPCDE.cs | 26 ++- .../Staging/v2.49.2/CDE2.cs | 6 +- .../Staging/v2.49.2/CDE3.cs | 8 +- .../Staging/v2.49.2/CDE5.cs | 6 +- .../Staging/v2.49.2/CDE6-EQPT.cs | 8 +- .../Staging/v2.49.2/CDE6.cs | 8 +- .../Staging/v2.49.2/MET08RESIMAPCDE.cs | 6 +- .../Staging/v2.49.3/CDE4.cs | 65 +++++++ .../Staging/v2.49.3/CDE5-EQPT.cs | 65 +++++++ .../Staging/v2.49.3/CDE5.cs | 65 +++++++ .../Staging/v2.49.3/CDE6-EQPT.cs | 65 +++++++ .../Staging/v2.49.3/CDE6.cs | 65 +++++++ .../Staging/v2.49.3/MET08RESIMAPCDE.cs | 182 ++++++++++++++++++ .../Staging/v2.52.0/CDE4.cs | 65 +++++++ .../Staging/v2.52.0/CDE5-EQPT.cs | 65 +++++++ .../Staging/v2.52.0/CDE5.cs | 65 +++++++ .../Staging/v2.52.0/CDE6-EQPT.cs | 65 +++++++ .../Staging/v2.52.0/CDE6.cs | 65 +++++++ .../Staging/v2.52.0/MET08RESIMAPCDE.cs | 182 ++++++++++++++++++ .../Staging/v2.56.0/CDE4.cs | 65 +++++++ .../Staging/v2.56.0/CDE5-EQPT.cs | 65 +++++++ .../Staging/v2.56.0/CDE5.cs | 65 +++++++ .../Staging/v2.56.0/CDE6-EQPT.cs | 65 +++++++ .../Staging/v2.56.0/CDE6.cs | 65 +++++++ .../Staging/v2.56.0/MET08RESIMAPCDE.cs | 182 ++++++++++++++++++ .../Extract/Staging/v2.36.1/CDE3-EQPT.cs | 6 +- .../_Tests/Extract/Staging/v2.36.1/CDE3.cs | 8 +- .../Staging/v2.36.1/MET08RESIMAPCDE.cs | 24 +-- .../Extract/Staging/v2.39.0/CDE3-EQPT.cs | 6 +- .../_Tests/Extract/Staging/v2.39.0/CDE3.cs | 8 +- .../Staging/v2.39.0/MET08RESIMAPCDE.cs | 24 +-- .../Extract/Staging/v2.43.2/CDE3-EQPT.cs | 6 +- .../_Tests/Extract/Staging/v2.43.2/CDE3.cs | 8 +- .../Staging/v2.43.2/MET08RESIMAPCDE.cs | 24 +-- .../Extract/Staging/v2.43.3/CDE5-EQPT.cs | 8 +- .../_Tests/Extract/Staging/v2.43.3/CDE5.cs | 8 +- .../_Tests/Extract/Staging/v2.43.4/CDE2.cs | 8 +- .../_Tests/Extract/Staging/v2.43.4/CDE5.cs | 8 +- .../Staging/v2.43.4/MET08RESIMAPCDE.cs | 26 +-- .../_Tests/Extract/Staging/v2.47.0/CDE2.cs | 8 +- .../_Tests/Extract/Staging/v2.47.0/CDE5.cs | 8 +- .../Staging/v2.47.1/MET08RESIMAPCDE.cs | 30 +-- .../Extract/Staging/v2.47.2/CDE6-EQPT.cs | 8 +- .../_Tests/Extract/Staging/v2.47.2/CDE6.cs | 8 +- .../Staging/v2.47.2/MET08RESIMAPCDE.cs | 30 +-- .../_Tests/Extract/Staging/v2.47.5/CDE2.cs | 8 +- .../_Tests/Extract/Staging/v2.47.5/CDE3.cs | 8 +- .../_Tests/Extract/Staging/v2.47.5/CDE5.cs | 8 +- .../_Tests/Extract/Staging/v2.47.5/CDE6.cs | 8 +- .../Staging/v2.47.5/MET08RESIMAPCDE.cs | 34 +++- .../_Tests/Extract/Staging/v2.49.0/CDE2.cs | 8 +- .../_Tests/Extract/Staging/v2.49.0/CDE3.cs | 8 +- .../_Tests/Extract/Staging/v2.49.0/CDE5.cs | 10 +- .../Extract/Staging/v2.49.0/CDE6-EQPT.cs | 8 +- .../_Tests/Extract/Staging/v2.49.0/CDE6.cs | 8 +- .../Staging/v2.49.0/MET08RESIMAPCDE.cs | 34 +++- .../_Tests/Extract/Staging/v2.49.2/CDE2.cs | 4 +- .../_Tests/Extract/Staging/v2.49.2/CDE3.cs | 8 +- .../_Tests/Extract/Staging/v2.49.2/CDE5.cs | 4 +- .../Extract/Staging/v2.49.2/CDE6-EQPT.cs | 8 +- .../_Tests/Extract/Staging/v2.49.2/CDE6.cs | 8 +- .../Staging/v2.49.2/MET08RESIMAPCDE.cs | 4 +- .../_Tests/Extract/Staging/v2.49.3/CDE4.cs | 55 ++++++ .../Extract/Staging/v2.49.3/CDE5-EQPT.cs | 29 +++ .../_Tests/Extract/Staging/v2.49.3/CDE5.cs | 82 ++++++++ .../Extract/Staging/v2.49.3/CDE6-EQPT.cs | 45 +++++ .../_Tests/Extract/Staging/v2.49.3/CDE6.cs | 56 ++++++ .../Staging/v2.49.3/MET08RESIMAPCDE.cs | 179 +++++++++++++++++ .../_Tests/Extract/Staging/v2.52.0/CDE4.cs | 55 ++++++ .../Extract/Staging/v2.52.0/CDE5-EQPT.cs | 29 +++ .../_Tests/Extract/Staging/v2.52.0/CDE5.cs | 82 ++++++++ .../Extract/Staging/v2.52.0/CDE6-EQPT.cs | 47 +++++ .../_Tests/Extract/Staging/v2.52.0/CDE6.cs | 56 ++++++ .../Staging/v2.52.0/MET08RESIMAPCDE.cs | 179 +++++++++++++++++ .../_Tests/Extract/Staging/v2.56.0/CDE4.cs | 55 ++++++ .../Extract/Staging/v2.56.0/CDE5-EQPT.cs | 29 +++ .../_Tests/Extract/Staging/v2.56.0/CDE5.cs | 82 ++++++++ .../Extract/Staging/v2.56.0/CDE6-EQPT.cs | 45 +++++ .../_Tests/Extract/Staging/v2.56.0/CDE6.cs | 56 ++++++ .../Staging/v2.56.0/MET08RESIMAPCDE.cs | 179 +++++++++++++++++ Adaptation/_Tests/Shared/AdaptationTesting.cs | 86 +++++---- Adaptation/_Tests/Shared/UnitTesting.cs | 3 +- Adaptation/_Tests/Static/MET08RESIMAPCDE.cs | 38 +++- Adaptation/_Tests/Static/RsM.cs | 45 ++++- Adaptation/_Tests/Static/txt.cs | 31 ++- Adaptation/appsettings.Development.json | 6 +- Adaptation/appsettings.json | 6 +- MET08RESIMAPCDE.csproj | 14 +- Properties/AssemblyInfo.cs | 4 +- 158 files changed, 4162 insertions(+), 612 deletions(-) create mode 100644 Adaptation/.vscode/mklink.md create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE4.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIMAPCDE.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE4.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIMAPCDE.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE4.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6.cs create mode 100644 Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIMAPCDE.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/CDE4.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIMAPCDE.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/CDE4.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIMAPCDE.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/CDE4.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6-EQPT.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6.cs create mode 100644 Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIMAPCDE.cs diff --git a/.gitignore b/.gitignore index e85055c..56d8c06 100644 --- a/.gitignore +++ b/.gitignore @@ -337,5 +337,9 @@ ASALocalRun/ !**/.vscode/launch.json !**/.vscode/settings.json !**/.vscode/tasks.json +!**/.vscode/mklink.md *.lnk + +.kanbn +Adaptation/.kanbn diff --git a/.vscode/settings.json b/.vscode/settings.json index d907fc2..71cf24f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,55 @@ { - "[markdown]": { - "editor.wordWrap": "off" - }, - "cSpell.words": [ - "Epuipment", - "Idrv", - "Irng", - "Rcpe", - "RESIMAPCDE", - "Rsens", - "Smpl", - "Vrng" - ] + "files.eol": "\n", + "[markdown]": { + "editor.wordWrap": "off" + }, + "cSpell.words": [ + "PDSF", + "Syncthing" + ], + "files.exclude": { + "**/node_modules": true + }, + "files.watcherExclude": { + "**/node_modules": true + }, + "foam.files.ignore": [ + ".foam/**/*", + ".stfolder/**/*", + "**/_layouts/**/*", + "**/_site/**/*", + "**/.vscode/**/*", + "**/node_modules/**/*" + ], + "kanbn.showBurndownButton": false, + "kanbn.showSprintButton": false, + "foam.links.hover.enable": false, + "foam.placeholders.exclude": [ + ".kanbn/Archive/**/*" + ], + "foam.orphans.exclude": [ + ".journal/**/*" + ], + "foam.graph.style": { + "background": "#202020", + "node": { + "wired": "green", + "wireless": "orange", + "person": "white", + "topic": "#bc2a3c", + "kanbn": "#ff7b00", + "basic-note": "#773b93", + "daily-note": "#ff9d00", + "note": "#f2cb1d", + "placeholder": "#ff9d00", + "tag": "#0494c1", + "bug": "#bc2a3c", + "epic": "#ff7b00", + "feature": "#773b93", + "issue": "#ff9d00", + "task": "#f2cb1d", + "test-case": "#ff9d00", + "user-story": "#0494c1" + } + } } \ No newline at end of file diff --git a/Adaptation/.editorconfig b/Adaptation/.editorconfig index b45701e..69ecc38 100644 --- a/Adaptation/.editorconfig +++ b/Adaptation/.editorconfig @@ -1,3 +1,19 @@ +[*.md] +end_of_line = crlf +file_header_template = unset +indent_size = 2 +indent_style = space +insert_final_newline = false +root = true +tab_width = 2 +[*.csproj] +end_of_line = crlf +file_header_template = unset +indent_size = 2 +indent_style = space +insert_final_newline = false +root = true +tab_width = 2 [*.cs] csharp_indent_block_contents = true csharp_indent_braces = false @@ -82,13 +98,30 @@ dotnet_diagnostic.CA1829.severity = warning # CA1829: Use Length/Count property dotnet_diagnostic.CA1834.severity = warning # CA1834: Consider using 'StringBuilder.Append(char)' when applicable dotnet_diagnostic.CA1846.severity = none # CA1846: Prefer AsSpan over Substring dotnet_diagnostic.CA1847.severity = none # CA1847: Use string.Contains(char) instead of string.Contains(string) with single characters +dotnet_diagnostic.CA1854.severity = warning # CA1854: Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup +dotnet_diagnostic.CA1860.severity = error # CA1860: Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance +dotnet_diagnostic.CA1861.severity = none # CA1861: Prefer 'static readonly' fields over constant array arguments +dotnet_diagnostic.CA1862.severity = none # CA1862: Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' +dotnet_diagnostic.CA1864.severity = none # CA1864: To avoid double lookup, call 'TryAdd' instead of calling 'Add' with a 'ContainsKey' guard +dotnet_diagnostic.CA1866.severity = none # CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char +dotnet_diagnostic.CA1869.severity = none # CA1869: Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. +dotnet_diagnostic.CA2254.severity = none # CA2254: The logging message template should not vary between calls to 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' dotnet_diagnostic.IDE0001.severity = warning # IDE0001: Simplify name dotnet_diagnostic.IDE0002.severity = warning # Simplify (member access) - System.Version.Equals("1", "2"); Version.Equals("1", "2"); dotnet_diagnostic.IDE0004.severity = warning # IDE0004: Cast is redundant. dotnet_diagnostic.IDE0005.severity = warning # Using directive is unnecessary +dotnet_diagnostic.IDE0028.severity = none # IDE0028: Collection initialization can be simplified +dotnet_diagnostic.IDE0031.severity = warning # Use null propagation (IDE0031) dotnet_diagnostic.IDE0047.severity = warning # IDE0047: Parentheses can be removed dotnet_diagnostic.IDE0049.severity = warning # Use language keywords instead of framework type names for type references (IDE0049) dotnet_diagnostic.IDE0060.severity = warning # IDE0060: Remove unused parameter +dotnet_diagnostic.IDE0200.severity = warning # IDE0200: Lambda expression can be removed +dotnet_diagnostic.IDE0270.severity = none # IDE0270: Null check can be simplified +dotnet_diagnostic.IDE0290.severity = none # Use primary constructor [Distance]csharp(IDE0290) +dotnet_diagnostic.IDE0300.severity = none # IDE0300: Collection initialization can be simplified +dotnet_diagnostic.IDE0301.severity = none #IDE0301: Collection initialization can be simplified +dotnet_diagnostic.IDE0305.severity = none # IDE0305: Collection initialization can be simplified +dotnet_diagnostic.SYSLIB1045.severity = none # SYSLIB1045: diagnostics for regex source generation dotnet_naming_rule.abstract_method_should_be_pascal_case.severity = warning dotnet_naming_rule.abstract_method_should_be_pascal_case.style = pascal_case dotnet_naming_rule.abstract_method_should_be_pascal_case.symbols = abstract_method diff --git a/Adaptation/.kanbn/index.md b/Adaptation/.kanbn/index.md index 349a00b..08221ae 100644 --- a/Adaptation/.kanbn/index.md +++ b/Adaptation/.kanbn/index.md @@ -1,13 +1,13 @@ --- -type: "kanbn" -created: 2023-07-07T15:37:56.040Z -updated: 2023-07-18T19:52:59.668Z +type: "Kanban" startedColumns: - 'In Progress' completedColumns: - Done dateFormat: mm/dd taskTemplate: '^+^_${overdue ? ''^R'' : ''''}${name}^: ${relations ? (''\n^-^/^g'' + relations.reduce((accumulator, currentValue) => accumulator.task + currentValue.task + '' '', '''')) : ''''}' +created: "2024-01-14T02:18:19.123Z" +updated: "2024-04-11T16:09:57.765Z" --- # MET08RESIMAPCDE diff --git a/Adaptation/.vscode/launch.json b/Adaptation/.vscode/launch.json index 09d1310..640e5da 100644 --- a/Adaptation/.vscode/launch.json +++ b/Adaptation/.vscode/launch.json @@ -4,7 +4,7 @@ "name": ".NET Core Attach", "type": "coreclr", "request": "attach", - "processId": 19112 + "processId": 6456 } ] } diff --git a/Adaptation/.vscode/mklink.md b/Adaptation/.vscode/mklink.md new file mode 100644 index 0000000..cfa054c --- /dev/null +++ b/Adaptation/.vscode/mklink.md @@ -0,0 +1,5 @@ +# mklink + +```bash +mklink /J "T:\MET08RESISRP2100\06_SourceCode\MET08RESISRP2100\Adaptation\.kanbn" "D:\5-Other-Small\Kanban\MET08RESISRP2100" +``` diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index f09b6bf..754a210 100644 --- a/Adaptation/.vscode/tasks.json +++ b/Adaptation/.vscode/tasks.json @@ -12,6 +12,28 @@ ], "problemMatcher": "$msCompile" }, + { + "label": "Test-Debug", + "command": "dotnet", + "type": "process", + "args": [ + "test", + "-c", + "Debug" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "Test-Release", + "command": "dotnet", + "type": "process", + "args": [ + "test", + "-c", + "Release" + ], + "problemMatcher": "$msCompile" + }, { "label": "Format", "command": "dotnet", @@ -46,7 +68,7 @@ "args": [ "/target:Build", "/restore:True", - "/p:RestoreSources=https://api.nuget.org/v3/index.json%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json%3Bhttps://localhost/v3/index.json", + "/p:RestoreSources=https://artifactory.intra.infineon.com/artifactory/api/nuget/ngt-fi-package-main-vir/%3Bhttps://packagemanagement.eu.infineon.com:4430/api/v2/%3Bhttps://tfs.intra.infineon.com/tfs/ManufacturingIT/_packaging/eaf/nuget/v3/index.json%3Bhttps://tfs.intra.infineon.com/tfs/FactoryIntegration/_packaging/EAF%40Local/nuget/v3/index.json%3Bhttps://api.nuget.org/v3/index.json", "/detailedsummary", "/consoleloggerparameters:PerformanceSummary;ErrorsOnly;", "/property:Configuration=Debug;TargetFrameworkVersion=v4.8", @@ -57,7 +79,7 @@ { "label": "File-Folder-Helper AOT s M .Kanbn Tasks", "type": "shell", - "command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation -s T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation/.kanbn/tasks", + "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation -s T:/MET08RESIMAPCDE/06_SourceCode/MET08RESIMAPCDE/Adaptation/.kanbn/tasks", "problemMatcher": [] }, { diff --git a/Adaptation/FileHandlers/Archive/FileRead.cs b/Adaptation/FileHandlers/Archive/FileRead.cs index 3cc4d71..0e79541 100644 --- a/Adaptation/FileHandlers/Archive/FileRead.cs +++ b/Adaptation/FileHandlers/Archive/FileRead.cs @@ -128,7 +128,7 @@ public class FileRead : Shared.FileRead, IFileRead string jobIdDirectory = Path.Combine(_JobIdParentDirectory, _Logistics.JobID); if (!Directory.Exists(jobIdDirectory)) _ = Directory.CreateDirectory(jobIdDirectory); - if (!Directory.GetDirectories(jobIdDirectory).Any()) + if (Directory.GetDirectories(jobIdDirectory).Length == 0) File.Copy(reportFullPath, Path.Combine(destinationArchiveDirectory, Path.GetFileName(reportFullPath))); else { diff --git a/Adaptation/FileHandlers/DownloadRsMFile/FileRead.cs b/Adaptation/FileHandlers/DownloadRsMFile/FileRead.cs index dc9b3d6..1aa2b1f 100644 --- a/Adaptation/FileHandlers/DownloadRsMFile/FileRead.cs +++ b/Adaptation/FileHandlers/DownloadRsMFile/FileRead.cs @@ -216,13 +216,13 @@ public class FileRead : Shared.FileRead, IFileRead possibleDownload.Add(new(matchNginxFileSystemDateTime, targetFileInfo, alternateFileInfo, targetFileName)); break; } - if (possibleDownload.Any()) + if (possibleDownload.Count != 0) break; } - if (possibleDownload.Any()) + if (possibleDownload.Count != 0) break; } - if (possibleDownload.Any()) + if (possibleDownload.Count != 0) { possibleDownload = (from l in possibleDownload orderby l.Item1 select l).ToList(); alternateFileInfo = possibleDownload[0].Item3; diff --git a/Adaptation/FileHandlers/Dummy/FileRead.cs b/Adaptation/FileHandlers/Dummy/FileRead.cs index 79eda27..916f5d7 100644 --- a/Adaptation/FileHandlers/Dummy/FileRead.cs +++ b/Adaptation/FileHandlers/Dummy/FileRead.cs @@ -157,7 +157,7 @@ public class FileRead : Shared.FileRead, IFileRead if (!Directory.Exists(inProcessDirectory)) _ = Directory.CreateDirectory(inProcessDirectory); files = Directory.GetFiles(inProcessDirectory, "*", SearchOption.AllDirectories); - if (files.Any()) + if (files.Length != 0) { if (files.Length > 250) throw new Exception("Safety net!"); diff --git a/Adaptation/FileHandlers/MoveMatchingFiles/FileRead.cs b/Adaptation/FileHandlers/MoveMatchingFiles/FileRead.cs index 39f8d62..2d8a495 100644 --- a/Adaptation/FileHandlers/MoveMatchingFiles/FileRead.cs +++ b/Adaptation/FileHandlers/MoveMatchingFiles/FileRead.cs @@ -6,7 +6,6 @@ using Adaptation.Shared.Methods; using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text; using System.Text.Json; using System.Threading; @@ -129,7 +128,7 @@ public class FileRead : Shared.FileRead, IFileRead for (int i = 0; i < int.MaxValue; i++) { found = Directory.GetFiles(searchDirectory, fileName, SearchOption.AllDirectories); - if (found.Any()) + if (found.Length != 0) { results.AddRange(found); break; @@ -205,7 +204,7 @@ public class FileRead : Shared.FileRead, IFileRead Thread.Sleep(500); } } - if (postCollection.Any()) + if (postCollection.Count != 0) { Thread.Sleep(500); StringBuilder stringBuilder = new(); diff --git a/Adaptation/FileHandlers/OpenInsight/FileRead.cs b/Adaptation/FileHandlers/OpenInsight/FileRead.cs index 9bb1495..4326fde 100644 --- a/Adaptation/FileHandlers/OpenInsight/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsight/FileRead.cs @@ -20,24 +20,22 @@ public class FileRead : Shared.FileRead, IFileRead private readonly string _IqsConnectionString; private readonly string _OpenInsightFilePattern; private readonly string _OpenInsightApiECDirectory; - private readonly string _OpenInsightApiIFXDirectory; public FileRead(ISMTP smtp, Dictionary fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList modelObjectParameters, string equipmentDictionaryName, Dictionary> dummyRuns, Dictionary> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) : base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null) { _MinFileLength = 10; - _NullData = string.Empty; _Logistics = new(this); + _NullData = string.Empty; if (_FileParameter is null) throw new Exception(cellInstanceConnectionName); if (_ModelObjectParameterDefinitions is null) throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _OpenInsightApiIFXDirectory = @"\\messdv002.na.infineon.com\Candela\Archive\API"; - _OpenInsightApiECDirectory = @"\\messv02ecc1.ec.local\EC_Metrology_Si\Archive\API"; _IqsConnectionString = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "IQS.ConnectionString"); _OpenInsightFilePattern = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.FilePattern"); + _OpenInsightApiECDirectory = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.Api.EC.Directory"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -169,7 +167,7 @@ public class FileRead : Shared.FileRead, IFileRead _ = Directory.CreateDirectory(duplicateDirectory); } string duplicateFile = Path.Combine(duplicateDirectory, Path.GetFileName(reportFullPath)); - if (descriptions.Any() && tests.Any()) + if (descriptions.Count != 0 && tests.Length != 0) { string lines = GetLines(_Logistics, descriptions); if (!string.IsNullOrEmpty(lines)) @@ -185,8 +183,14 @@ public class FileRead : Shared.FileRead, IFileRead collection.Add(new(new ScopeInfo(tests[0], _OpenInsightFilePattern), lines)); else collection.Add(new(new ScopeInfo(tests[0], $"{subGroupId.Value} {_OpenInsightFilePattern}"), lines)); + if (_StaticRuns.TryGetValue(_Logistics.Sequence, out List values)) + { + if (values.Count != 1) + throw new Exception($"{nameof(_StaticRuns)} {values.Count} != 1 {_Logistics.Sequence}!"); + values[0] = $"{values[0]}|{subGroupId}"; + } string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); - FromIQS.Save(_OpenInsightApiECDirectory, _OpenInsightApiIFXDirectory, _Logistics, reportFullPath, logistics, descriptions.First(), lines, subGroupId, weekOfYear); + FromIQS.Save(_OpenInsightApiECDirectory, _Logistics, reportFullPath, logistics, descriptions.First(), lines, subGroupId, weekOfYear); } } if (_IsEAFHosted && _FileConnectorConfiguration.FileScanningIntervalInSeconds > 0) diff --git a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs index 428aaa0..d2a506a 100644 --- a/Adaptation/FileHandlers/OpenInsight/FromIQS.cs +++ b/Adaptation/FileHandlers/OpenInsight/FromIQS.cs @@ -17,7 +17,7 @@ public class FromIQS #nullable enable private static string GetCommandText(Logistics logistics, txt.Description description, string dateTime, long? subGroupId) - { + { // cSpell:disable StringBuilder result = new(); _ = result .AppendLine(" select iq.ev_count, iq.cl_count, iq.sl_count, iq.se_sgrp, iq.se_sgtm, iq.se_tsno, iq.td_test, iq.pr_name, iq.jd_name, iq.pl_name, iq.pd_name, iq.td_name, iq.se_val ") @@ -58,7 +58,7 @@ public class FromIQS .AppendLine(" on se.f_lot = pl.f_lot ") .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd ") .AppendLine(" on se.f_part = pd.f_part ") - .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") .AppendLine(" on se.f_test = td.f_test ") .AppendLine(" where se.f_flag = 0 "); if (subGroupId is not null) @@ -75,7 +75,7 @@ public class FromIQS .AppendLine(" order by iq.ev_count desc, iq.cl_count desc, iq.sl_count desc, iq.se_sgrp, iq.se_tsno, iq.td_test ") .AppendLine(" for json path "); return result.ToString(); - } + } // cSpell:restore private static StringBuilder GetForJsonPath(string connectionString, string commandText) { @@ -135,17 +135,17 @@ public class FromIQS else { JsonElement[]? jsonElements = JsonSerializer.Deserialize(stringBuilder.ToString()); - if (jsonElements is null || !jsonElements.Any() || jsonElements[0].ValueKind != JsonValueKind.Object) + if (jsonElements is null || jsonElements.Length == 0 || jsonElements[0].ValueKind != JsonValueKind.Object) commandText = stringBuilder.ToString(); else { JsonProperty[] jsonProperties = jsonElements[0].EnumerateObject().ToArray(); - if (!jsonProperties.Any() || jsonProperties[3].Name != "se_sgrp" || !long.TryParse(jsonProperties[3].Value.ToString(), out long subGroupId)) + if (jsonProperties.Length == 0 || jsonProperties[3].Name != "se_sgrp" || !long.TryParse(jsonProperties[3].Value.ToString(), out long subGroupId)) commandText = stringBuilder.ToString(); else { result = subGroupId; - if (jsonProperties.Any() && jsonProperties[0].Name == "ev_count" && int.TryParse(jsonProperties[0].Value.ToString(), out int evCount)) + if (jsonProperties.Length != 0 && jsonProperties[0].Name == "ev_count" && int.TryParse(jsonProperties[0].Value.ToString(), out int evCount)) count = evCount; } } @@ -204,40 +204,119 @@ public class FromIQS return result; } - internal static void Save(string openInsightApiECDirectory, string openInsightApiIFXDirectory, Logistics logistics, string reportFullPath, string logisticLines, txt.Description description, string lines, long? subGroupId, string weekOfYear) + internal static void Save(string openInsightApiECDirectory, Logistics logistics, string reportFullPath, string logisticLines, txt.Description description, string lines, long? subGroupId, string weekOfYear) { string checkFile; string fileName = Path.GetFileName(reportFullPath); string json = GetJson(logistics, logisticLines, description); string? ecPathRoot = Path.GetPathRoot(openInsightApiECDirectory); - string? ifxPathRoot = Path.GetPathRoot(openInsightApiIFXDirectory); bool ecExists = ecPathRoot is not null && Directory.Exists(ecPathRoot); - bool ifxExists = ifxPathRoot is not null && Directory.Exists(ifxPathRoot); string weekYear = $"{logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}"; string ecDirectory = Path.Combine(openInsightApiECDirectory, weekYear, $"-{description.PSN}", $"-{description.Reactor}", $"-{description.RDS}", $"-{subGroupId}"); - string ifxDirectory = Path.Combine(openInsightApiIFXDirectory, weekYear, $"-{description.PSN}", $"-{description.Reactor}", $"-{description.RDS}", $"-{subGroupId}"); if (ecExists && !Directory.Exists(ecDirectory)) _ = Directory.CreateDirectory(ecDirectory); - if (ifxExists && !Directory.Exists(ifxDirectory)) - _ = Directory.CreateDirectory(ifxDirectory); checkFile = Path.Combine(ecDirectory, fileName); if (ecExists && !File.Exists(checkFile)) File.Copy(reportFullPath, checkFile); - checkFile = Path.Combine(ifxDirectory, fileName); - if (ifxExists && !File.Exists(checkFile)) - File.Copy(reportFullPath, checkFile); checkFile = Path.Combine(ecDirectory, $"{logistics.DateTimeFromSequence.Ticks}.txt"); if (ecExists && !File.Exists(checkFile)) File.WriteAllText(checkFile, lines); - checkFile = Path.Combine(ifxDirectory, $"{logistics.DateTimeFromSequence.Ticks}.txt"); - if (ifxExists && !File.Exists(checkFile)) - File.WriteAllText(checkFile, lines); checkFile = Path.Combine(ecDirectory, $"{logistics.DateTimeFromSequence.Ticks}.json"); if (ecExists && !File.Exists(checkFile)) File.WriteAllText(checkFile, json); - checkFile = Path.Combine(ifxDirectory, $"{logistics.DateTimeFromSequence.Ticks}.json"); - if (ifxExists && !File.Exists(checkFile)) - File.WriteAllText(checkFile, json); + } + + private static string GetCommandText(string[] iqsCopyValues) + { // cSpell:disable + StringBuilder result = new(); + if (iqsCopyValues.Length != 4) + throw new NotSupportedException(); + string find = iqsCopyValues[1]; + string replace = iqsCopyValues[3]; + _ = result + .AppendLine(" select pd.f_name [Part Name], ") + .AppendLine(" null [Part Revision], ") + .Append(" '").Append(replace).AppendLine("' [Test Name], ") + .AppendLine(" null [Description], ") + .AppendLine(" null [Lot Number], ") + .AppendLine(" null [Job Name], ") + .AppendLine(" null [Process Name], ") + .AppendLine(" case when sl.f_url = 0 then null else sl.f_url end [Reasonable Limit (Upper)], ") + .AppendLine(" case when sl.f_url = 0 then 0 else 1 end [Alarm Reasonable Limit (Upper)], ") + .AppendLine(" case when sl.f_usl = 0 then null else sl.f_usl end [Specification Limit (Upper)], ") + .AppendLine(" case when sl.f_usl = 0 then 0 else 1 end [Alarm Specification Limit (Upper)], ") + .AppendLine(" case when sl.f_ugb = 0 then null else sl.f_ugb end [Warning Limit (Upper)], ") + .AppendLine(" case when sl.f_ugb = 0 then 0 else 1 end [Alarm Warning Limit (Upper)], ") + .AppendLine(" case when sl.f_tar = 0 then null else sl.f_tar end [Specification Limit (Target)], ") + .AppendLine(" case when sl.f_lgb = 0 then null else sl.f_lgb end [Warning Limit (Lower)], ") + .AppendLine(" case when sl.f_lgb = 0 then 0 else 1 end [Alarm Warning Limit (Lower)], ") + .AppendLine(" case when sl.f_lsl = 0 then null else sl.f_lsl end [Specification Limit (Lower)], ") + .AppendLine(" case when sl.f_lsl = 0 then 0 else 1 end [Alarm Specification Limit (Lower)], ") + .AppendLine(" case when sl.f_lrl = 0 then null else sl.f_lrl end [Reasonable Limit (Lower)], ") + .AppendLine(" case when sl.f_lrl = 0 then 0 else 1 end [Alarm Reasonable Limit (Lower)], ") + .AppendLine(" td.f_name [Original Test Name], ") + .AppendLine(" td.f_test [Test Id], ") + .AppendLine(" ( ") + .AppendLine(" select count(sl_b.f_spec) ") + .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl_b ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd_b ") + .AppendLine(" on sl_b.f_part = pd_b.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td_b ") + .AppendLine(" on sl_b.f_test = td_b.f_test ") + .AppendLine(" where sl_b.f_prcs = 0 ") + .Append(" and td_b.f_name = '").Append(replace).AppendLine("' ") + .AppendLine(" and pd_b.f_name = pd.f_name ") + .AppendLine(" and sl_b.f_url = sl.f_url ") + .AppendLine(" and sl_b.f_usl = sl.f_usl ") + .AppendLine(" and sl_b.f_ugb = sl.f_ugb ") + .AppendLine(" and sl_b.f_tar = sl.f_tar ") + .AppendLine(" and sl_b.f_lgb = sl.f_lgb ") + .AppendLine(" and sl_b.f_lsl = sl.f_lsl ") + .AppendLine(" and sl_b.f_lrl = sl.f_lrl ") + .AppendLine(" group by sl_b.f_spec ") + .AppendLine(" ) count ") + .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd ") + .AppendLine(" on sl.f_part = pd.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td ") + .AppendLine(" on sl.f_test = td.f_test ") + .AppendLine(" where sl.f_prcs = 0 ") + .Append(" and td.f_name = '").Append(find).AppendLine("' ") + .AppendLine(" and isnull(( ") + .AppendLine(" select count(sl_b.f_spec) ") + .AppendLine(" from [spcepiworld].[dbo].[spec_lim] sl_b ") + .AppendLine(" join [spcepiworld].[dbo].[part_dat] pd_b ") + .AppendLine(" on sl_b.f_part = pd_b.f_part ") + .AppendLine(" join [spcepiworld].[dbo].[test_dat] td_b ") + .AppendLine(" on sl_b.f_test = td_b.f_test ") + .AppendLine(" where sl_b.f_prcs = 0 ") + .Append(" and td_b.f_name = '").Append(replace).AppendLine("' ") + .AppendLine(" and pd_b.f_name = pd.f_name ") + .AppendLine(" and sl_b.f_url = sl.f_url ") + .AppendLine(" and sl_b.f_usl = sl.f_usl ") + .AppendLine(" and sl_b.f_ugb = sl.f_ugb ") + .AppendLine(" and sl_b.f_tar = sl.f_tar ") + .AppendLine(" and sl_b.f_lgb = sl.f_lgb ") + .AppendLine(" and sl_b.f_lsl = sl.f_lsl ") + .AppendLine(" and sl_b.f_lrl = sl.f_lrl ") + .AppendLine(" group by sl_b.f_spec ") + .AppendLine(" ), 0) = 0 ") + .AppendLine(" for json path "); + return result.ToString(); + } // cSpell:restore + + internal static void SaveCopy(string fileConnectorConfigurationSourceFileLocation, string connectionString, string name, string[] iqsCopyValues) + { + string checkFile = Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.json"); + if (!File.Exists(checkFile)) + { + string commandText = GetCommandText(iqsCopyValues); + StringBuilder stringBuilder = GetForJsonPath(connectionString, commandText); + if (stringBuilder.Length != 0) + File.WriteAllText(checkFile, stringBuilder.ToString()); + else + File.WriteAllText(Path.Combine(fileConnectorConfigurationSourceFileLocation, $"{name}.sql"), commandText); + } } #nullable disable diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs index 4739dc1..efbfdde 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/FileRead.cs @@ -31,8 +31,8 @@ public class FileRead : Shared.FileRead, IFileRead throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _OpenInsightMetrologyViewerFileShare = @"\\messv02ecc1.ec.local\EC_Metrology_Si\MetrologyAttachments\CDERunHeader_"; _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); + _OpenInsightMetrologyViewerFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerFileShare"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -112,14 +112,15 @@ public class FileRead : Shared.FileRead, IFileRead private void SendData(string reportFullPath, DateTime dateTime, List descriptions) { + string checkDirectory; + WSRequest wsRequest = new(this, _Logistics, descriptions); int weekOfYear = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); - string directory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekOfYear:00}", _Logistics.Sequence.ToString()); - if (!Directory.Exists(directory)) - _ = Directory.CreateDirectory(directory); - string fullPath = Path.Combine(directory, Path.GetFileName(reportFullPath)); - File.Copy(reportFullPath, fullPath); - WSRequest wsRequest = new(this, _Logistics, descriptions, fullPath); - (string json, WS.Results wsResults) = WS.SendData(_OpenInsightMetrologyViewerAPI, wsRequest); + string directory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekOfYear:00}"); + checkDirectory = Path.Combine(directory, _Logistics.Sequence.ToString()); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.Copy(reportFullPath, Path.Combine(checkDirectory, Path.GetFileName(reportFullPath)), overwrite: true); + (string jsonResults, WS.Results wsResults) = WS.SendData(_OpenInsightMetrologyViewerAPI, _Logistics.Sequence, directory, wsRequest); if (!wsResults.Success) throw new Exception(wsResults.ToString()); _Log.Debug(wsResults.HeaderID); @@ -127,8 +128,12 @@ public class FileRead : Shared.FileRead, IFileRead { if (!_StaticRuns.ContainsKey(_Logistics.Sequence)) _StaticRuns.Add(_Logistics.Sequence, new()); - _StaticRuns[_Logistics.Sequence].Add(json); + _StaticRuns[_Logistics.Sequence].Add(jsonResults); } + checkDirectory = Path.Combine(directory, $"-{wsResults.HeaderID}"); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.Copy(reportFullPath, Path.Combine(checkDirectory, Path.GetFileName(reportFullPath)), overwrite: true); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs index acaa764..f2ea188 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewer/WSRequest.cs @@ -4,7 +4,6 @@ using Adaptation.Shared.Properties; using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text.Json; namespace Adaptation.FileHandlers.OpenInsightMetrologyViewer; @@ -43,7 +42,6 @@ public class WSRequest public string UniqueId { get; set; } public string Zone { get; set; } public List Details { get; protected set; } - public string ProcessDataStandardFormat { get; set; } [Obsolete("For json")] public WSRequest() { } @@ -51,7 +49,6 @@ public class WSRequest internal WSRequest(IFileRead fileRead, Logistics logistics, List descriptions, string processDataStandardFormat = null) #pragma warning restore IDE0060 { - ProcessDataStandardFormat = processDataStandardFormat; Id = -1; CellName = logistics.MesEntity; Details = new List(); @@ -99,28 +96,35 @@ public class WSRequest Details.Add(detail); } Date ??= logistics.DateTimeFromSequence.ToString(); - if (UniqueId is null && Details.Any()) + if (UniqueId is null && Details.Count != 0) UniqueId = Details[0].HeaderUniqueId; string onlyWSRequest = string.Empty; FilePath = onlyWSRequest; } -#pragma warning disable IDE0060 - internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, DateTime dateTime, string json, List descriptions, string matchDirectory) -#pragma warning restore IDE0060 + internal static long GetHeaderId(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, DateTime dateTime, int weekOfYear, string json, List descriptions) { + long result; if (string.IsNullOrEmpty(json)) { - WSRequest wsRequest = new(fileRead, logistics, descriptions, string.Empty); - (json, WS.Results wsResults) = WS.SendData(openInsightMetrologyViewerAPI, wsRequest); + WSRequest wsRequest = new(fileRead, logistics, descriptions); + string directory = Path.Combine(openInsightMetrologyViewerAPI, dateTime.Year.ToString(), $"WW{weekOfYear:00}"); + (json, WS.Results wsResults) = WS.SendData(openInsightMetrologyViewerAPI, logistics.Sequence, directory, wsRequest); if (!wsResults.Success) throw new Exception(wsResults.ToString()); } WS.Results metrologyWSRequest = JsonSerializer.Deserialize(json, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); - long wsResultsHeaderID = metrologyWSRequest.HeaderID; + result = metrologyWSRequest.HeaderID; + return result; + } + +#pragma warning disable IDE0060 + internal static void PostOpenInsightMetrologyViewerAttachments(IFileRead fileRead, Logistics logistics, string openInsightMetrologyViewerAPI, List descriptions, string matchDirectory, string subGroupId, long headerId, string headerIdDirectory) +#pragma warning restore IDE0060 + { string[] txtFiles = Directory.GetFiles(matchDirectory, "*.txt", SearchOption.TopDirectoryOnly); if (txtFiles.Length != 1) - throw new Exception($"Invalid source file count for <{wsResultsHeaderID}>!{Environment.NewLine}{json}"); + throw new Exception($"Invalid source file count for <{headerId}>!"); List pdfFiles = new(); pdfFiles.AddRange(Directory.GetFiles(matchDirectory, "*.pdf_old", SearchOption.TopDirectoryOnly)); foreach (string pdfFile in pdfFiles) @@ -130,12 +134,13 @@ public class WSRequest foreach (string pdfFile in pdfFiles) File.Move(pdfFile, Path.ChangeExtension(pdfFile, ".pdf_old")); pdfFiles.Clear(); - if (pdfFiles.Count == 0) throw new Exception("Invalid *.pdf file count!"); List headerAttachments = new() - { new WS.Attachment(descriptions[0].HeaderUniqueId, "Data.pdf", pdfFiles[0]) }; - WS.AttachFiles(openInsightMetrologyViewerAPI, wsResultsHeaderID, headerAttachments, dataAttachments: null); + { + new WS.Attachment(subGroupId, headerId, headerIdDirectory, descriptions[0].HeaderUniqueId, "Data.pdf", pdfFiles[0]) + }; + WS.AttachFiles(openInsightMetrologyViewerAPI, headerAttachments, dataAttachments: null); } } \ No newline at end of file diff --git a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs index a30f86d..fd1ee0d 100644 --- a/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs +++ b/Adaptation/FileHandlers/OpenInsightMetrologyViewerAttachments/FileRead.cs @@ -5,6 +5,7 @@ using Adaptation.Shared.Duplicator; using Adaptation.Shared.Methods; using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Text.Json; @@ -14,8 +15,8 @@ namespace Adaptation.FileHandlers.OpenInsightMetrologyViewerAttachments; public class FileRead : Shared.FileRead, IFileRead { - private readonly string _JobIdParentDirectory; private readonly string _OpenInsightMetrologyViewerAPI; + private readonly string _OpenInsightMetrologyViewerFileShare; public FileRead(ISMTP smtp, Dictionary fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList modelObjectParameters, string equipmentDictionaryName, Dictionary> dummyRuns, Dictionary> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) : base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null) @@ -29,8 +30,8 @@ public class FileRead : Shared.FileRead, IFileRead throw new Exception(cellInstanceConnectionName); if (!_IsDuplicator) throw new Exception(cellInstanceConnectionName); - _JobIdParentDirectory = GetJobIdParentDirectory(_FileConnectorConfiguration.SourceFileLocation); _OpenInsightMetrologyViewerAPI = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerAPI"); + _OpenInsightMetrologyViewerFileShare = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, "OpenInsight.MetrologyViewerFileShare"); } void IFileRead.Move(Tuple> extractResults, Exception exception) @@ -108,26 +109,58 @@ public class FileRead : Shared.FileRead, IFileRead return results; } -#pragma warning disable IDE0060 - private void PostOpenInsightMetrologyViewerAttachments(string reportFullPath, DateTime dateTime, List descriptions) -#pragma warning restore IDE0060 +#nullable enable + + private string? GetHeaderIdDirectory(DateTime[] dateTimes, long headerId) { - string jobIdDirectory = Path.Combine(_JobIdParentDirectory, _Logistics.JobID); + string? result = null; + int weekNum; + string year; + string weekDirectory; + string checkDirectory; + foreach (DateTime dateTime in dateTimes) + { + year = dateTime.Year.ToString(); + weekNum = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); + weekDirectory = Path.Combine(_OpenInsightMetrologyViewerFileShare, dateTime.Year.ToString(), $"WW{weekNum:00}"); + if (!Directory.Exists(weekDirectory)) + _ = Directory.CreateDirectory(weekDirectory); + checkDirectory = Path.Combine(weekDirectory, $"-{headerId}"); + if (!Directory.Exists(checkDirectory)) + continue; + result = checkDirectory; + break; + } + return result; + } + + private void PostOpenInsightMetrologyViewerAttachments(DateTime dateTime, List descriptions) + { + string? json; + string? subGroupId; + string jobIdDirectory = Path.Combine(Path.GetDirectoryName(_FileConnectorConfiguration.AlternateTargetFolder) ?? throw new Exception(), _Logistics.JobID); if (!Directory.Exists(jobIdDirectory)) _ = Directory.CreateDirectory(jobIdDirectory); - string json; string[] matchDirectories = GetInProcessDirectory(jobIdDirectory); - if (!_StaticRuns.ContainsKey(_Logistics.Sequence)) - json = string.Empty; + if (!_StaticRuns.TryGetValue(_Logistics.Sequence, out List? values)) + (json, subGroupId) = (null, null); else { - if (_StaticRuns[_Logistics.Sequence].Count != 1) - throw new Exception($"{nameof(_StaticRuns)} has too many values for {_Logistics.Sequence}!"); - json = _StaticRuns[_Logistics.Sequence][0]; + if (values.Count != 1) + throw new Exception($"{nameof(_StaticRuns)} {values.Count} != 1 {_Logistics.Sequence}!"); + string[] segments = values[0].Split(new string[] { "|" }, StringSplitOptions.None); + json = segments[0]; + subGroupId = segments.Length > 1 ? segments[1] : null; lock (_StaticRuns) _ = _StaticRuns.Remove(_Logistics.Sequence); } - OpenInsightMetrologyViewer.WSRequest.PostOpenInsightMetrologyViewerAttachments(this, _Logistics, _OpenInsightMetrologyViewerAPI, dateTime, json, descriptions, matchDirectories[0]); + DateTime[] dateTimes = new DateTime[] { dateTime, dateTime.AddDays(-6.66) }; + int weekOfYear = _Calendar.GetWeekOfYear(dateTime, CalendarWeekRule.FirstDay, DayOfWeek.Sunday); + long headerId = OpenInsightMetrologyViewer.WSRequest.GetHeaderId(this, _Logistics, _OpenInsightMetrologyViewerAPI, dateTime, weekOfYear, json, descriptions); + string? headerIdDirectory = GetHeaderIdDirectory(dateTimes, headerId); + if (string.IsNullOrEmpty(headerIdDirectory)) + throw new Exception($"Didn't find header id directory <{headerId}>"); + OpenInsightMetrologyViewer.WSRequest.PostOpenInsightMetrologyViewerAttachments(this, _Logistics, _OpenInsightMetrologyViewerAPI, descriptions, matchDirectories[0], subGroupId, headerId, headerIdDirectory); } private Tuple> GetExtractResult(string reportFullPath, DateTime dateTime) @@ -140,7 +173,7 @@ public class FileRead : Shared.FileRead, IFileRead List descriptions = txt.ProcessData.GetDescriptions(jsonElements); Test[] tests = (from l in descriptions select (Test)l.Test).ToArray(); if (_IsEAFHosted && _FileConnectorConfiguration.FileScanningIntervalInSeconds > 0) - PostOpenInsightMetrologyViewerAttachments(reportFullPath, dateTime, descriptions); + PostOpenInsightMetrologyViewerAttachments(dateTime, descriptions); results = new Tuple>(pdsf.Item1, tests, jsonElements, new List()); return results; } diff --git a/Adaptation/FileHandlers/RsM/Description.cs b/Adaptation/FileHandlers/RsM/Description.cs index 6a87776..ddcf5c3 100644 --- a/Adaptation/FileHandlers/RsM/Description.cs +++ b/Adaptation/FileHandlers/RsM/Description.cs @@ -181,7 +181,7 @@ public class Description : IDescription, Shared.Properties.IDescription List IDescription.GetDescriptions(IFileRead fileRead, Logistics logistics, List tests, IProcessData iProcessData) { List results = new(); - if (iProcessData is null || !iProcessData.Details.Any() || iProcessData is not ProcessData processData) + if (iProcessData is null || iProcessData.Details.Count == 0 || iProcessData is not ProcessData processData) results.Add(GetDefault(fileRead, logistics)); else { diff --git a/Adaptation/FileHandlers/RsM/FileRead.cs b/Adaptation/FileHandlers/RsM/FileRead.cs index 994bb5b..9eca916 100644 --- a/Adaptation/FileHandlers/RsM/FileRead.cs +++ b/Adaptation/FileHandlers/RsM/FileRead.cs @@ -5,7 +5,6 @@ using Adaptation.Shared.Methods; using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text.Json; using System.Text.RegularExpressions; @@ -121,7 +120,7 @@ public class FileRead : Shared.FileRead, IFileRead SetFileParameterLotID(mid); _Logistics.Update(mid, processData.Reactor); string logBody = processData.LogBody; - if (!iProcessData.Details.Any()) + if (iProcessData.Details.Count == 0) throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks)); results = iProcessData.GetResults(this, _Logistics, results.Item4); if (!_IsEAFHosted) diff --git a/Adaptation/FileHandlers/txt/Description.cs b/Adaptation/FileHandlers/txt/Description.cs index a68567c..64ff304 100644 --- a/Adaptation/FileHandlers/txt/Description.cs +++ b/Adaptation/FileHandlers/txt/Description.cs @@ -181,7 +181,7 @@ public class Description : IDescription, Shared.Properties.IDescription List IDescription.GetDescriptions(IFileRead fileRead, Logistics logistics, List tests, IProcessData iProcessData) { List results = new(); - if (iProcessData is null || !iProcessData.Details.Any() || iProcessData is not ProcessData processData) + if (iProcessData is null || iProcessData.Details.Count == 0 || iProcessData is not ProcessData processData) results.Add(GetDefault(fileRead, logistics)); else { diff --git a/Adaptation/FileHandlers/txt/FileRead.cs b/Adaptation/FileHandlers/txt/FileRead.cs index 70a6ea4..68c88b6 100644 --- a/Adaptation/FileHandlers/txt/FileRead.cs +++ b/Adaptation/FileHandlers/txt/FileRead.cs @@ -5,7 +5,6 @@ using Adaptation.Shared.Methods; using System; using System.Collections.Generic; using System.IO; -using System.Linq; using System.Text.Json; using System.Text.RegularExpressions; @@ -120,7 +119,7 @@ public class FileRead : Shared.FileRead, IFileRead } SetFileParameterLotID(mid); _Logistics.Update(mid, processData.Reactor); - if (!iProcessData.Details.Any()) + if (iProcessData.Details.Count == 0) throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks)); results = iProcessData.GetResults(this, _Logistics, results.Item4); } diff --git a/Adaptation/Infineon/Monitoring/MonA/MonIn.cs b/Adaptation/Infineon/Monitoring/MonA/MonIn.cs index e9ffce8..7a8a711 100644 --- a/Adaptation/Infineon/Monitoring/MonA/MonIn.cs +++ b/Adaptation/Infineon/Monitoring/MonA/MonIn.cs @@ -18,21 +18,12 @@ public class MonIn : IMonIn, IDisposable public static MonIn GetInstance(string url = "http://moninhttp.{0}.infineon.com/input/text") { MonIn instance; - if (_Instances.ContainsKey(url)) + lock (_Instances) { - instance = _Instances[url]; - } - else - { - lock (_Instances) + if (_Instances.TryGetValue(url, out instance)) { - if (!_Instances.ContainsKey(url)) - { - instance = new MonIn(url); - _Instances.Add(url, instance); - } - else - instance = _Instances[url]; + instance = new MonIn(url); + _Instances.Add(url, instance); } } return instance; diff --git a/Adaptation/MET08RESIMAPCDE-Development.yml b/Adaptation/MET08RESIMAPCDE-Development.yml index ec01134..4149b5d 100644 --- a/Adaptation/MET08RESIMAPCDE-Development.yml +++ b/Adaptation/MET08RESIMAPCDE-Development.yml @@ -7,7 +7,7 @@ trigger: - "Adaptation/*" pool: - name: Mesa-Windows-Service + name: eaf demands: MET08RESIMAPCDE-Development steps: @@ -68,7 +68,8 @@ steps: - task: CopyFiles@2 displayName: "Copy Files to: - GhostPCL" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\GhostPCL\gpcl6win64' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\GhostPCL\gpcl6win64' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true enabled: false @@ -76,7 +77,8 @@ steps: - task: CopyFiles@2 displayName: "Copy Files to: - LincPDFC" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\LincPDFC\v2.6.6.21' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\LincPDFC\v2.6.6.21' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true enabled: false @@ -84,7 +86,8 @@ steps: - task: CopyFiles@2 displayName: "Copy Files to: - PDF-Text-Stripper" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\PDF-Text-Stripper\v4.8.0.1' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\PDF-Text-Stripper\v4.8.0.1' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true enabled: false @@ -157,18 +160,18 @@ steps: - task: CopyFiles@2 displayName: 'Copy Files to: D:\Framework4.8' inputs: - SourceFolder: 'bin\$(Configuration)' Contents: "*$(Build.Repository.Name)*" + SourceFolder: 'bin\$(Configuration)' TargetFolder: 'D:\Framework4.8\$(GitCommitSeven)-$(Build.BuildId)-$(Build.Repository.Name)-$(Configuration)' OverWrite: true enabled: false - task: CopyFiles@2 - displayName: 'Copy Files to: \\messv02ecc1.ec.local\EC_EAFRepository' + displayName: 'Copy Files to: \\mesfs.infineon.com\EC_EAFRepository' inputs: - SourceFolder: 'bin\$(Configuration)' Contents: "*$(Build.Repository.Name)*" - TargetFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' + SourceFolder: 'bin\$(Configuration)' + TargetFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' OverWrite: true enabled: false diff --git a/Adaptation/MET08RESIMAPCDE.Tests.csproj b/Adaptation/MET08RESIMAPCDE.Tests.csproj index a607d3c..6d43d24 100644 --- a/Adaptation/MET08RESIMAPCDE.Tests.csproj +++ b/Adaptation/MET08RESIMAPCDE.Tests.csproj @@ -8,10 +8,9 @@ disable false - 10.0 disable win-x64 - net7.0 + net8.0 trx @@ -33,7 +32,10 @@ Linux - + + + + NU1701 NU1701 @@ -43,27 +45,27 @@ NU1701 NU1701 - - - - - - - - - - - - - - + + + + + + + + + + + + + + NU1701 - - - - - - + + + + + + diff --git a/Adaptation/MET08RESIMAPCDE.yml b/Adaptation/MET08RESIMAPCDE.yml index 488e4dd..d95da54 100644 --- a/Adaptation/MET08RESIMAPCDE.yml +++ b/Adaptation/MET08RESIMAPCDE.yml @@ -7,7 +7,7 @@ trigger: - "Adaptation/*" pool: - name: Mesa-Windows-Service + name: eaf demands: MET08RESIMAPCDE steps: @@ -68,21 +68,24 @@ steps: - task: CopyFiles@2 displayName: "Copy Files to: - GhostPCL" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\GhostPCL\gpcl6win64' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\GhostPCL\gpcl6win64' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true - task: CopyFiles@2 displayName: "Copy Files to: - LincPDFC" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\LincPDFC\v2.6.6.21' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\LincPDFC\v2.6.6.21' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true - task: CopyFiles@2 displayName: "Copy Files to: - PDF-Text-Stripper" inputs: - SourceFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\PDF-Text-Stripper\v4.8.0.1' + Contents: '*' + SourceFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\PDF-Text-Stripper\v4.8.0.1' TargetFolder: 'Adaptation\bin\$(Configuration)\net6.0\win-x64' OverWrite: true @@ -154,17 +157,17 @@ steps: - task: CopyFiles@2 displayName: 'Copy Files to: D:\Framework4.8' inputs: - SourceFolder: 'bin\$(Configuration)' Contents: "*$(Build.Repository.Name)*" + SourceFolder: 'bin\$(Configuration)' TargetFolder: 'D:\Framework4.8\$(GitCommitSeven)-$(Build.BuildId)-$(Build.Repository.Name)-$(Configuration)' OverWrite: true - task: CopyFiles@2 - displayName: 'Copy Files to: \\messv02ecc1.ec.local\EC_EAFRepository' + displayName: 'Copy Files to: \\mesfs.infineon.com\EC_EAFRepository' inputs: - SourceFolder: 'bin\$(Configuration)' Contents: "*$(Build.Repository.Name)*" - TargetFolder: '\\messv02ecc1.ec.local\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' + SourceFolder: 'bin\$(Configuration)' + TargetFolder: '\\mesfs.infineon.com\EC_EAFRepository\Staging\DeploymentStorage\Adaptation_$(Build.Repository.Name)' OverWrite: true - script: | diff --git a/Adaptation/Shared/Duplicator/Description.cs b/Adaptation/Shared/Duplicator/Description.cs index ee6eb49..964612e 100644 --- a/Adaptation/Shared/Duplicator/Description.cs +++ b/Adaptation/Shared/Duplicator/Description.cs @@ -110,7 +110,7 @@ public class Description : IDescription, Properties.IDescription List IDescription.GetDescriptions(IFileRead fileRead, Logistics logistics, List tests, IProcessData iProcessData) { List results = new(); - if (iProcessData is null || !iProcessData.Details.Any()) + if (iProcessData is null || iProcessData.Details.Count == 0) results.Add(GetDefault(fileRead, logistics)); else { diff --git a/Adaptation/Shared/FileRead.cs b/Adaptation/Shared/FileRead.cs index f66b29b..16fcf8a 100644 --- a/Adaptation/Shared/FileRead.cs +++ b/Adaptation/Shared/FileRead.cs @@ -163,7 +163,7 @@ public class FileRead : Properties.IFileRead protected static ModelObjectParameterDefinition[] GetProperties(string cellInstanceConnectionName, IList modelObjectParameters, string propertyNamePrefix) { ModelObjectParameterDefinition[] results = (from l in modelObjectParameters where l.Name.StartsWith(propertyNamePrefix) select l).ToArray(); - if (!results.Any()) + if (results.Length == 0) throw new Exception(cellInstanceConnectionName); return results; } @@ -171,7 +171,7 @@ public class FileRead : Properties.IFileRead protected static ModelObjectParameterDefinition[] GetProperties(string cellInstanceConnectionName, IList modelObjectParameters, string propertyNamePrefix, string propertyNameSuffix) { ModelObjectParameterDefinition[] results = (from l in modelObjectParameters where l.Name.StartsWith(propertyNamePrefix) && l.Name.EndsWith(propertyNameSuffix) select l).ToArray(); - if (!results.Any()) + if (results.Length == 0) throw new Exception(cellInstanceConnectionName); return results; } @@ -203,7 +203,7 @@ public class FileRead : Properties.IFileRead } lock (threadExceptions) { - if (threadExceptions.Any()) + if (threadExceptions.Count != 0) { foreach (Exception item in threadExceptions) _Log.Error(string.Concat(item.Message, Environment.NewLine, Environment.NewLine, item.StackTrace)); @@ -241,7 +241,7 @@ public class FileRead : Properties.IFileRead if (!_IsDuplicator) WriteAllLines(to, results); } - if (extractResults is not null && extractResults.Item4 is not null && extractResults.Item4.Any()) + if (extractResults is not null && extractResults.Item4 is not null && extractResults.Item4.Count != 0) { string itemFile; List directories = new(); @@ -268,7 +268,7 @@ public class FileRead : Properties.IFileRead string dateValue; string rdsPlaceholder = "%RDS%"; string mesEntityPlaceholder = "%MesEntity%"; - if (!descriptions.Any() || string.IsNullOrEmpty(descriptions[0].RDS)) + if (descriptions.Count == 0 || string.IsNullOrEmpty(descriptions[0].RDS)) rds = logistics.MID; else rds = descriptions[0].RDS; @@ -312,7 +312,7 @@ public class FileRead : Properties.IFileRead preWait = dateTime.AddMilliseconds(1234).Ticks; else preWait = dateTime.AddMilliseconds(_FileConnectorConfiguration.FileHandleWaitTime.Value).Ticks; - if (!collection.Any()) + if (collection.Count == 0) duplicateFiles.Add(duplicateFile); string fileName = Path.GetFileNameWithoutExtension(logistics.ReportFullPath); string successFile = string.Concat(successDirectory, @"\", Path.GetFileName(logistics.ReportFullPath)); @@ -422,10 +422,12 @@ public class FileRead : Properties.IFileRead protected void WritePDSF(IFileRead fileRead, JsonElement[] jsonElements) { string directory; + string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); + string weekDirectory = $"{_Logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}{@"\"}{_Logistics.DateTimeFromSequence:yyyy-MM-dd}"; if (!_CellInstanceConnectionName.StartsWith(_CellInstanceName) && _CellInstanceConnectionNameBase == _EquipmentType) - directory = Path.Combine(_TracePath, _EquipmentType, "Target", _CellInstanceName, _CellInstanceConnectionName); + directory = Path.Combine(_TracePath, _EquipmentType, "Target", weekDirectory, _CellInstanceName, _CellInstanceConnectionName); else - directory = Path.Combine(_TracePath, _EquipmentType, "Source", _CellInstanceName, _CellInstanceConnectionName); + directory = Path.Combine(_TracePath, _EquipmentType, "Source", weekDirectory, _CellInstanceName, _CellInstanceConnectionName); if (!Directory.Exists(directory)) _ = Directory.CreateDirectory(directory); string file = Path.Combine(directory, string.Concat(_Logistics.MesEntity, "_", _Logistics.Sequence, ".ipdsf")); @@ -460,6 +462,7 @@ public class FileRead : Properties.IFileRead protected void TriggerEvents(Tuple> extractResults, List headerNames, Dictionary keyValuePairs) { object value; + string segments; string description; List list; for (int i = 0; i < extractResults.Item3.Length; i++) @@ -467,10 +470,10 @@ public class FileRead : Properties.IFileRead _Log.Debug(string.Concat("TriggerEvent - {", _Logistics.ReportFullPath, "} ", i, " of ", extractResults.Item3.Length)); foreach (JsonProperty jsonProperty in extractResults.Item3[i].EnumerateObject()) { - if (jsonProperty.Value.ValueKind != JsonValueKind.String || !keyValuePairs.ContainsKey(jsonProperty.Name)) + if (jsonProperty.Value.ValueKind != JsonValueKind.String || !keyValuePairs.TryGetValue(jsonProperty.Name, out segments)) description = string.Empty; else - description = keyValuePairs[jsonProperty.Name].Split('|')[0]; + description = segments.Split('|')[0]; if (!_UseCyclicalForDescription || headerNames.Contains(jsonProperty.Name)) value = jsonProperty.Value.ToString(); else @@ -502,10 +505,10 @@ public class FileRead : Properties.IFileRead matches = Directory.GetFiles(_FileConnectorConfiguration.SourceFileLocation, segments.Last(), SearchOption.AllDirectories); else matches = Directory.GetFiles(_FileConnectorConfiguration.SourceFileLocation, segments.Last(), SearchOption.TopDirectoryOnly); - if (matches.Any()) + if (matches.Length != 0) break; } - if (matches is null || !matches.Any()) + if (matches is null || matches.Length == 0) results = null; else { @@ -568,16 +571,99 @@ public class FileRead : Properties.IFileRead } } + internal static List GetDirectoryNames(string directory) + { +#nullable enable + List results = new(); + string? fileName; + string? checkDirectory = directory; + string? pathRoot = Path.GetPathRoot(directory); + string extension = Path.GetExtension(directory); + if (string.IsNullOrEmpty(pathRoot)) + throw new NullReferenceException(nameof(pathRoot)); + if (Directory.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + else if ((string.IsNullOrEmpty(extension) || extension.Length > 3) && !File.Exists(directory)) + { + fileName = Path.GetFileName(directory); + if (!string.IsNullOrEmpty(fileName)) + results.Add(fileName); + } + for (int i = 0; i < int.MaxValue; i++) + { + checkDirectory = Path.GetDirectoryName(checkDirectory); + if (string.IsNullOrEmpty(checkDirectory) || checkDirectory == pathRoot) + break; + fileName = Path.GetFileName(checkDirectory); + if (string.IsNullOrEmpty(fileName)) + continue; + results.Add(fileName); + } + results.Add(pathRoot); + results.Reverse(); + return results; +#nullable disable + } + + private string GetJobIdDirectory(string path) + { + string result; + List directoryNames = GetDirectoryNames(path); + if (!directoryNames.Contains(_Logistics.JobID)) + result = Path.GetDirectoryName(path); + else + { + result = string.Empty; + foreach (string directoryName in directoryNames) + { + result = Path.Combine(result, directoryName); + if (directoryName == _Logistics.JobID) + break; + } + } + return result; + } + + private static void DeleteEmptyTopDirectories(string rootDirectory) + { + if (Directory.Exists(rootDirectory)) + { + string[] files; + string[] directories; + string[] subDirectories = Directory.GetDirectories(rootDirectory, "*", SearchOption.TopDirectoryOnly); + foreach (string subDirectory in subDirectories) + { + files = Directory.GetFiles(subDirectory, "*", SearchOption.AllDirectories); + if (files.Length > 0) + continue; + directories = Directory.GetDirectories(subDirectory, "*", SearchOption.TopDirectoryOnly); + if (directories.Length > 0) + continue; + try + { Directory.Delete(subDirectory); } + catch (UnauthorizedAccessException) + { + new DirectoryInfo(subDirectory).Attributes = FileAttributes.Normal; + Directory.Delete(subDirectory); + } + } + } + } + private void Shared1811(string to, FileInfo sourceFile) { if (!_IsDuplicator && _FileConnectorConfiguration.SourceFileFilter != "*" && sourceFile.Exists && sourceFile.Length < _MinFileLength) { string directoryName = Path.GetFileName(to); - string jobIdDirectory = Path.GetDirectoryName(to); + string jobIdDirectory = GetJobIdDirectory(to); DateTime dateTime = DateTime.Now.AddMinutes(-15); string weekOfYear = _Calendar.GetWeekOfYear(_Logistics.DateTimeFromSequence, CalendarWeekRule.FirstDay, DayOfWeek.Sunday).ToString("00"); string weekDirectory = $"{_Logistics.DateTimeFromSequence:yyyy}_Week_{weekOfYear}{@"\"}{_Logistics.DateTimeFromSequence:yyyy-MM-dd}"; - string destinationDirectory = string.Concat(jobIdDirectory, @"\_ Ignore 100 bytes\", weekDirectory, @"\", directoryName); + string destinationDirectory = Path.Combine(jobIdDirectory, "_ Ignore 100 bytes", weekDirectory, directoryName); if (!Directory.Exists(destinationDirectory)) _ = Directory.CreateDirectory(destinationDirectory); File.Move(sourceFile.FullName, string.Concat(destinationDirectory, @"\", sourceFile.Name)); @@ -588,13 +674,13 @@ public class FileRead : Properties.IFileRead { if (!checkDirectory.Contains('_')) continue; - if (Directory.GetDirectories(checkDirectory, "*", SearchOption.TopDirectoryOnly).Any()) + if (Directory.GetDirectories(checkDirectory, "*", SearchOption.TopDirectoryOnly).Length != 0) continue; - if (Directory.GetFiles(checkDirectory, "*", SearchOption.TopDirectoryOnly).Any()) + if (Directory.GetFiles(checkDirectory, "*", SearchOption.TopDirectoryOnly).Length != 0) continue; - if (Directory.GetDirectories(checkDirectory, "*", SearchOption.AllDirectories).Any()) + if (Directory.GetDirectories(checkDirectory, "*", SearchOption.AllDirectories).Length != 0) continue; - if (Directory.GetFiles(checkDirectory, "*", SearchOption.AllDirectories).Any()) + if (Directory.GetFiles(checkDirectory, "*", SearchOption.AllDirectories).Length != 0) continue; if (new DirectoryInfo(checkDirectory).CreationTime > dateTime) continue; @@ -602,6 +688,7 @@ public class FileRead : Properties.IFileRead } } catch (Exception) { throw; } + DeleteEmptyTopDirectories(jobIdDirectory); } } @@ -611,7 +698,7 @@ public class FileRead : Properties.IFileRead { foreach (string directory in (from l in directories orderby l.Split('\\').Length descending select l).Distinct()) { - if (Directory.Exists(directory) && !Directory.GetFiles(directory).Any()) + if (Directory.Exists(directory) && Directory.GetFiles(directory).Length == 0) Directory.Delete(directory); } } diff --git a/Adaptation/Shared/Logistics.cs b/Adaptation/Shared/Logistics.cs index a6ca882..cb1f805 100644 --- a/Adaptation/Shared/Logistics.cs +++ b/Adaptation/Shared/Logistics.cs @@ -91,7 +91,7 @@ public class Logistics : ILogistics string[] segments; _FileInfo = new(reportFullPath); _Logistics1 = logistics.Split(new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries).ToList(); - if (!Logistics1.Any() || !Logistics1[0].StartsWith("LOGISTICS_1")) + if (Logistics1.Count == 0 || !Logistics1[0].StartsWith("LOGISTICS_1")) { _NullData = null; _JobID = "null"; diff --git a/Adaptation/Shared/Metrology/WS.Attachment.cs b/Adaptation/Shared/Metrology/WS.Attachment.cs index ea105ed..8edb116 100644 --- a/Adaptation/Shared/Metrology/WS.Attachment.cs +++ b/Adaptation/Shared/Metrology/WS.Attachment.cs @@ -2,18 +2,27 @@ public partial class WS { + public class Attachment { + public string SubGroupId { get; set; } + public long HeaderId { get; set; } + public string HeaderIdDirectory { get; set; } public string UniqueId { get; set; } public string DestinationFileName { get; set; } public string SourceFileName { get; set; } + public string AttachmentId { get; set; } - public Attachment(string uniqueId, string destinationFileName, string sourceFileName) + public Attachment(string subGroupId, long headerId, string headerIdDirectory, string uniqueId, string destinationFileName, string sourceFileName) { + SubGroupId = subGroupId; + HeaderId = headerId; + HeaderIdDirectory = headerIdDirectory; UniqueId = uniqueId; DestinationFileName = destinationFileName; SourceFileName = sourceFileName; + AttachmentId = System.Guid.NewGuid().ToString(); } } diff --git a/Adaptation/Shared/Metrology/WS.cs b/Adaptation/Shared/Metrology/WS.cs index 844efea..4e43fa3 100644 --- a/Adaptation/Shared/Metrology/WS.cs +++ b/Adaptation/Shared/Metrology/WS.cs @@ -10,7 +10,7 @@ namespace Adaptation.Shared.Metrology; public partial class WS { - public static (string, Results) SendData(string url, object payload, int timeoutSeconds = 120) + public static (string, Results) SendData(string url, long sequence, string directory, object payload, int timeoutSeconds = 120) { Results results = new(); string resultsJson = string.Empty; @@ -31,6 +31,10 @@ public partial class WS HttpResponseMessage httpResponseMessage = httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseContentRead).Result; resultsJson = httpResponseMessage.Content.ReadAsStringAsync().Result; results = JsonSerializer.Deserialize(resultsJson, new JsonSerializerOptions { PropertyNameCaseInsensitive = true }); + string checkDirectory = Path.Combine(directory, $"-{results.HeaderID}"); + if (!Directory.Exists(checkDirectory)) + _ = Directory.CreateDirectory(checkDirectory); + File.WriteAllText(Path.Combine(checkDirectory, $"{sequence}.json"), json); } if (!results.Success) results.Errors.Add(results.ToString()); @@ -51,58 +55,42 @@ public partial class WS return new(resultsJson, results); } - // this method is a wrapper for attaching a file to either a header or data record - // URL is the same URL used for SendData, ex: http://localhost/api/inbound/CDE - // attachToHeaderId is the ID returned by SendData - // attachToDataUniqueId is the string unique ID for the data record, aka the Title of the Sharepoint list entry - // fileContents is a byte array with the contents of the file - // fileName is which attachment this is, image.pdf, data.pdf, data.txt, header.pdf, etc - // timeoutSeconds is configured as the request timeout - // this method will either succeed or throw an exception - // also, this has been made synchronous - public static void AttachFile(string url, long attachToHeaderId, string attachToDataUniqueId, byte[] fileContents, string fileName, int timeoutSeconds = 60) + public static void AttachFile(string url, Attachment attachment, int timeoutSeconds = 60) { using HttpClient httpClient = new(); - string requestUrl = url + "/attachment?headerid=" + attachToHeaderId.ToString(); - if (!string.IsNullOrWhiteSpace(attachToDataUniqueId)) - { - requestUrl += "&datauniqueid="; - requestUrl += System.Net.WebUtility.UrlEncode(attachToDataUniqueId); - } - requestUrl += "&filename="; // this is just so the web server log shows the filename - requestUrl += System.Net.WebUtility.UrlEncode(fileName); - + string json = JsonSerializer.Serialize(attachment); httpClient.Timeout = new TimeSpan(0, 0, 0, timeoutSeconds, 0); - - MultipartFormDataContent multipartFormDataContent = new(); - ByteArrayContent byteArrayContent = new(fileContents); - byteArrayContent.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/octet-stream"); - - multipartFormDataContent.Add(byteArrayContent, "attachment", fileName); - - HttpResponseMessage httpResponseMessage = httpClient.PostAsync(requestUrl, multipartFormDataContent).Result; - - if (httpResponseMessage.IsSuccessStatusCode) - return; - - string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; - - throw new Exception("Attachment failed: " + resultBody); + StringContent httpContent = new(json, Encoding.UTF8, "application/json"); + HttpResponseMessage httpResponseMessage = httpClient.PostAsync($"{url}/attachment", httpContent).Result; + if (!httpResponseMessage.IsSuccessStatusCode) + { + string resultBody = httpResponseMessage.Content.ReadAsStringAsync().Result; + throw new Exception($"Attachment failed: {resultBody}"); + } } - public static void AttachFiles(string url, long headerID, List headerAttachments = null, List dataAttachments = null) + public static void AttachFiles(string url, List headerAttachments = null, List dataAttachments = null) { + string directory; try { if (headerAttachments is not null) { foreach (Attachment attachment in headerAttachments) - AttachFile(url, headerID, "", File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } if (dataAttachments is not null) { foreach (Attachment attachment in dataAttachments) - AttachFile(url, headerID, attachment.UniqueId, File.ReadAllBytes(attachment.SourceFileName), attachment.DestinationFileName); + { + directory = Path.GetDirectoryName(attachment.HeaderIdDirectory) ?? throw new Exception(); + File.Copy(attachment.SourceFileName, Path.Combine(directory, attachment.AttachmentId, attachment.DestinationFileName), overwrite: true); + AttachFile(url, attachment); + } } //MessageBox.Show(r.ToString()); } diff --git a/Adaptation/Shared/ProcessDataStandardFormat.cs b/Adaptation/Shared/ProcessDataStandardFormat.cs index b256f0f..136ccae 100644 --- a/Adaptation/Shared/ProcessDataStandardFormat.cs +++ b/Adaptation/Shared/ProcessDataStandardFormat.cs @@ -23,7 +23,7 @@ public class ProcessDataStandardFormat public static string GetPDSFText(IFileRead fileRead, Logistics logistics, JsonElement[] jsonElements, string logisticsText) { string result; - if (!jsonElements.Any()) + if (jsonElements.Length == 0) result = string.Empty; else { @@ -146,7 +146,7 @@ public class ProcessDataStandardFormat string logistics = pdsf.Item1; string[] columns = pdsf.Item2; string[] bodyLines = pdsf.Item3; - if (!bodyLines.Any() || !bodyLines[0].Contains('\t')) + if (bodyLines.Length == 0 || !bodyLines[0].Contains('\t')) results = JsonSerializer.Deserialize("[]"); else { @@ -211,9 +211,10 @@ public class ProcessDataStandardFormat public static Tuple>>> GetTestDictionary(Tuple pdsf) { Dictionary>> results = new(); + List collection; string testColumn = nameof(Test); Dictionary> keyValuePairs = GetDictionary(pdsf); - if (!keyValuePairs.ContainsKey(testColumn)) + if (!keyValuePairs.TryGetValue(testColumn, out collection)) throw new Exception(); int min; int max; @@ -221,9 +222,9 @@ public class ProcessDataStandardFormat List vs; string columnKey; Dictionary> tests = new(); - for (int i = 0; i < keyValuePairs[testColumn].Count; i++) + for (int i = 0; i < collection.Count; i++) { - if (Enum.TryParse(keyValuePairs[testColumn][i], out Test test)) + if (Enum.TryParse(collection[i], out Test test)) { if (!results.ContainsKey(test)) { @@ -325,7 +326,7 @@ public class ProcessDataStandardFormat _ = line.Append(';'); } } - if (!pairedParameterNames.Any()) + if (pairedParameterNames.Count == 0) { _ = line.Remove(line.Length - 1, 1); _ = result.AppendLine(line.ToString()); diff --git a/Adaptation/Shared/Test.cs b/Adaptation/Shared/Test.cs index 3aa3552..169f05b 100644 --- a/Adaptation/Shared/Test.cs +++ b/Adaptation/Shared/Test.cs @@ -14,6 +14,7 @@ public enum Test CandelaPSL = 38, CandelaVerify = 37, CDE = 24, + Climatec = 54, //Largest CV = 3, DailyRPMAverage = 19, DailyRPMPLRatio = 20, @@ -38,7 +39,7 @@ public enum Test RPMPLRatio = 17, RPMXY = 15, SP1 = 8, - SRP2100 = 53, //Largest + SRP2100 = 53, Tencor = 7, UV = 35, VerificationLehighton = 14, diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE2.cs index 22894d3..6289487 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE2 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3-EQPT.cs index 9df5b33..7812a6a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE3_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3.cs index 9da1bf5..b113589 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE5.cs index 12a54ce..2af3765 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE5 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/MET08RESIMAPCDE.cs index 31137d7..5f984e6 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.36.1/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,4 +165,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE2.cs index a9b4018..f98631f 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE2 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3-EQPT.cs index 93ab0d1..ec65b57 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE3_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3.cs index 59af67a..fc6fe72 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE5.cs index cd023ad..f7e4f0a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE5 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIMAPCDE.cs index e80b4c4..47e616e 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.39.0/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,4 +165,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE2.cs index 9054da8..27d78d1 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE2 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3-EQPT.cs index 6a10138..7f41f3a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE3_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3.cs index e65ff91..45f03a8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE5.cs index b97aa4d..2fa4d62 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -17,7 +18,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -46,7 +47,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -54,4 +55,5 @@ public class CDE5 : EAFLoggingUnitTesting { } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/MET08RESIMAPCDE.cs index 52c915a..d8a670d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5-EQPT.cs index b16dd44..eed1317 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_43_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE5_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE5_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE5_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5.cs index d2696ff..100b655 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.3/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_43_3 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE2.cs index fd5ed81..1ce9b67 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE5.cs index a1b3f73..ddb7ce9 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIMAPCDE.cs index 16acffa..93c9b0c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.43.4/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE2.cs index e57c93b..3a6f85a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE5.cs index 4468e88..74bbb4a 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.0/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIMAPCDE.cs index ac2da4b..70fead1 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.1/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE2.cs index d6a7b55..5cff20b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE5.cs index a8f7be7..a9d4dd5 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6-EQPT.cs index 5aa908b..3447360 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE6_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6.cs index d4ef8d8..8ce8564 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6 EAFLoggingUnitTesting { get; private set; } - static CDE6() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/MET08RESIMAPCDE.cs index 6ae4223..068f142 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,7 +61,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -73,7 +74,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -86,7 +87,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -99,7 +100,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -112,7 +113,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -125,7 +126,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -138,7 +139,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -151,7 +152,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -164,7 +165,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -177,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE2.cs index 4a48428..dead5af 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE2__txt() { @@ -58,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE3.cs index d9d5573..6cd3c1c 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE5.cs index a5ac472..7b18662 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE5__RsM() { @@ -58,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE6.cs index 1d749ee..8405a5e 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE6.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6 EAFLoggingUnitTesting { get; private set; } - static CDE6() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIMAPCDE.cs index e317e86..400e719 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.47.5/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__APC() { @@ -113,7 +126,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE2.cs index 3d2619e..16a7fd8 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE2__txt() { @@ -58,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE3.cs index 01e54ff..0aef9de 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE3__RsM() { @@ -58,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE5.cs index 6b9f2fb..b9d10c1 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE5__RsM() { @@ -58,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6-EQPT.cs index ad4a8e5..ed2841b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE6_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE6_EQPT__DownloadRsMFile() { @@ -58,4 +61,5 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6.cs index a285314..98e6567 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6 EAFLoggingUnitTesting { get; private set; } - static CDE6() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE6__RsM() { @@ -58,4 +61,5 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIMAPCDE.cs index aaff735..f5d34df 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.0/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__MoveMatchingFiles() { @@ -58,7 +61,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() { @@ -69,7 +74,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__IQSSi() { @@ -80,7 +87,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight() { @@ -91,7 +100,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() { @@ -102,7 +113,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__APC() { @@ -113,7 +126,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__SPaCe() { @@ -124,7 +139,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Processed() { @@ -135,7 +152,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Archive() { @@ -146,7 +165,9 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Dummy() { @@ -157,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE2.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE2.cs index 1e51a8d..72fe19d 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE2.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE2 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE2 EAFLoggingUnitTesting { get; private set; } - static CDE2() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE2() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE2() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -60,4 +61,5 @@ public class CDE2 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE3.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE3.cs index 8db424b..a344d08 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE3.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE3 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE3 EAFLoggingUnitTesting { get; private set; } - static CDE3() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE3() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE3() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE3 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE5.cs index 0e47400..bd09424 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE5.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE5 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE5 EAFLoggingUnitTesting { get; private set; } - static CDE5() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -60,4 +61,5 @@ public class CDE5 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6-EQPT.cs index 8e520dc..8bf3140 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6-EQPT.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6_EQPT : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } - static CDE6_EQPT() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE6_EQPT : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6.cs index e28c14d..8cc125b 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class CDE6 : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static CDE6 EAFLoggingUnitTesting { get; private set; } - static CDE6() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -47,7 +48,7 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting?.Dispose(); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -60,4 +61,5 @@ public class CDE6 : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIMAPCDE.cs index 9f83925..12d06e3 100644 --- a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -18,7 +19,7 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting internal static string DummyRoot { get; private set; } internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } - static MET08RESIMAPCDE() => DummyRoot = @"\\messv02ecc1.ec.local\EC_Characterization_Si\Dummy"; + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) { @@ -177,4 +178,5 @@ public class MET08RESIMAPCDE : EAFLoggingUnitTesting EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE4.cs new file mode 100644 index 0000000..59b579f --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE4.cs @@ -0,0 +1,65 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class CDE4 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE4 EAFLoggingUnitTesting { get; private set; } + + static CDE4() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE4(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE4__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5-EQPT.cs new file mode 100644 index 0000000..bb3a308 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5-EQPT.cs @@ -0,0 +1,65 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class CDE5_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE5_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5.cs new file mode 100644 index 0000000..03c5a60 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE5.cs @@ -0,0 +1,65 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class CDE5 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5 EAFLoggingUnitTesting { get; private set; } + + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6-EQPT.cs new file mode 100644 index 0000000..fa85784 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6-EQPT.cs @@ -0,0 +1,65 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class CDE6_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE6_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6.cs new file mode 100644 index 0000000..2f8fa1f --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/CDE6.cs @@ -0,0 +1,65 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class CDE6 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6 EAFLoggingUnitTesting { get; private set; } + + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE6__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..6b32a8b --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.49.3/MET08RESIMAPCDE.cs @@ -0,0 +1,182 @@ +#if v2_49_3 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_49_3; + +[TestClass] +public class MET08RESIMAPCDE : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } + + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESIMAPCDE(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESIMAPCDE(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__MoveMatchingFiles() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__IQSSi() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__APC() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__SPaCe() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Processed() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Archive() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Dummy() + { + string check = "637400762024374000.zip"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE4.cs new file mode 100644 index 0000000..6e827c4 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE4.cs @@ -0,0 +1,65 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class CDE4 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE4 EAFLoggingUnitTesting { get; private set; } + + static CDE4() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE4(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE4__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5-EQPT.cs new file mode 100644 index 0000000..9a1b226 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5-EQPT.cs @@ -0,0 +1,65 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class CDE5_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE5_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5.cs new file mode 100644 index 0000000..4b4a774 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE5.cs @@ -0,0 +1,65 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class CDE5 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5 EAFLoggingUnitTesting { get; private set; } + + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6-EQPT.cs new file mode 100644 index 0000000..a5bd289 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6-EQPT.cs @@ -0,0 +1,65 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class CDE6_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6.cs new file mode 100644 index 0000000..a9a12ae --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/CDE6.cs @@ -0,0 +1,65 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class CDE6 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6 EAFLoggingUnitTesting { get; private set; } + + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..61b9b5b --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.52.0/MET08RESIMAPCDE.cs @@ -0,0 +1,182 @@ +#if v2_52_0 +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_52_0; + +[TestClass] +public class MET08RESIMAPCDE : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } + + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESIMAPCDE(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESIMAPCDE(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__MoveMatchingFiles() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__IQSSi() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__APC() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__SPaCe() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Processed() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Archive() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Dummy() + { + string check = "637400762024374000.zip"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE4.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE4.cs new file mode 100644 index 0000000..bf7c017 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE4.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class CDE4 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE4 EAFLoggingUnitTesting { get; private set; } + + static CDE4() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE4() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE4(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE4(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE4__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5-EQPT.cs new file mode 100644 index 0000000..38c1f2c --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5-EQPT.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class CDE5_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE5_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5.cs new file mode 100644 index 0000000..272420e --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE5.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class CDE5 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE5 EAFLoggingUnitTesting { get; private set; } + + static CDE5() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE5() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE5(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE5(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6-EQPT.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6-EQPT.cs new file mode 100644 index 0000000..ec0c67c --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6-EQPT.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class CDE6_EQPT : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6_EQPT EAFLoggingUnitTesting { get; private set; } + + static CDE6_EQPT() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6_EQPT() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6_EQPT(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6_EQPT(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE6_EQPT__DownloadRsMFile() + { + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6.cs new file mode 100644 index 0000000..c5c3d17 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/CDE6.cs @@ -0,0 +1,65 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class CDE6 : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static CDE6 EAFLoggingUnitTesting { get; private set; } + + static CDE6() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public CDE6() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public CDE6(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new CDE6(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE6__RsM() + { + string check = "*.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..5aa9165 --- /dev/null +++ b/Adaptation/_Tests/CreateSelfDescription/Staging/v2.56.0/MET08RESIMAPCDE.cs @@ -0,0 +1,182 @@ +#if true +using Adaptation._Tests.Shared; +using Microsoft.Extensions.Logging; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.IO; +using System.Reflection; + +namespace Adaptation._Tests.CreateSelfDescription.Staging.v2_56_0; + +[TestClass] +public class MET08RESIMAPCDE : EAFLoggingUnitTesting +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + internal static string DummyRoot { get; private set; } + internal static MET08RESIMAPCDE EAFLoggingUnitTesting { get; private set; } + + static MET08RESIMAPCDE() => DummyRoot = @"\\mesfs.infineon.com\EC_Characterization_Si\Dummy"; + + public MET08RESIMAPCDE() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false) + { + if (EAFLoggingUnitTesting is null) + throw new Exception(); + } + + public MET08RESIMAPCDE(TestContext testContext) : base(DummyRoot, testContext, new StackFrame().GetMethod().DeclaringType, skipEquipmentDictionary: false) + { + } + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + EAFLoggingUnitTesting ??= new MET08RESIMAPCDE(testContext); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(testContext.TestName, " - ClassInitialize")); + string[] fileNameAndText = EAFLoggingUnitTesting.AdaptationTesting.GetCSharpText(testContext.TestName); + File.WriteAllText(fileNameAndText[0], fileNameAndText[1]); + File.WriteAllText(fileNameAndText[2], fileNameAndText[3]); + } + + [ClassCleanup()] + public static void ClassCleanup() + { + EAFLoggingUnitTesting?.Logger?.LogInformation("Cleanup"); + EAFLoggingUnitTesting?.Dispose(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__MoveMatchingFiles() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__IQSSi() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__APC() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__SPaCe() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Processed() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Archive() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Dummy() + { + string check = "637400762024374000.zip"; + MethodBase methodBase = new StackFrame().GetMethod(); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); + _ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting); + EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3-EQPT.cs index eb1f9d3..e87f7d5 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_36_1; @@ -18,10 +19,11 @@ public class CDE3_EQPT _CDE3_EQPT = CreateSelfDescription.Staging.v2_36_1.CDE3_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__CDE3_EQPT__DownloadRsMFile() => _CDE3_EQPT.Staging__v2_36_1__CDE3_EQPT__DownloadRsMFile(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3.cs index b3d3f60..03b7770 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.1/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_36_1.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__CDE3__RsM() => _CDE3.Staging__v2_36_1__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -74,4 +75,5 @@ Avg = 577.2195 0.58% SEMI Radial= 0.81% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.36.1/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.36.1/MET08RESIMAPCDE.cs index 4dbbb97..0ffc61a 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.36.1/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.36.1/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_36_1 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_36_1.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,52 +44,53 @@ public class MET08RESIMAPCDE _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE__() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE___() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE____() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_____() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE______() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_______() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE________() => _MET08RESIMAPCDE.Staging__v2_36_1__MET08RESIMAPCDE__MET08RESIMAPCDE________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3-EQPT.cs index f7fad39..4a56b79 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_39_0; @@ -18,10 +19,11 @@ public class CDE3_EQPT _CDE3_EQPT = CreateSelfDescription.Staging.v2_39_0.CDE3_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__CDE3_EQPT__DownloadRsMFile() => _CDE3_EQPT.Staging__v2_39_0__CDE3_EQPT__DownloadRsMFile(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3.cs index d9c5e33..0919d8c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_39_0.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__CDE3__RsM() => _CDE3.Staging__v2_39_0__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -74,4 +75,5 @@ Avg = 577.2195 0.58% SEMI Radial= 0.81% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIMAPCDE.cs index aaaffe3..0762fb8 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.39.0/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_39_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -22,13 +23,13 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_39_0.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -43,52 +44,53 @@ public class MET08RESIMAPCDE _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE__() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE__(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE___() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE___(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE____() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_____() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_____(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE______() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_______() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE_______(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE________() => _MET08RESIMAPCDE.Staging__v2_39_0__MET08RESIMAPCDE__MET08RESIMAPCDE________(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3-EQPT.cs index a3239c5..edd3d83 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_43_2; @@ -18,10 +19,11 @@ public class CDE3_EQPT _CDE3_EQPT = CreateSelfDescription.Staging.v2_43_2.CDE3_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__CDE3_EQPT__DownloadRsMFile() => _CDE3_EQPT.Staging__v2_43_2__CDE3_EQPT__DownloadRsMFile(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3.cs index 4e75725..5517904 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.2/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_43_2.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__CDE3__RsM() => _CDE3.Staging__v2_43_2__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,4 +76,5 @@ Avg = 577.219 0.58% SEMI Radial= #.##% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.43.2/MET08RESIMAPCDE.cs index 74eb12e..fbc8e04 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_43_2 using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Adaptation._Tests.Extract.Staging.v2_43_2; @@ -18,64 +19,65 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_43_2.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_2__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_43_2__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5-EQPT.cs index df822c5..3c708e7 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_43_3 using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Reflection; @@ -21,15 +22,13 @@ public class CDE5_EQPT _CDE5_EQPT = CreateSelfDescription.Staging.v2_43_3.CDE5_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_3__CDE5_EQPT__DownloadRsMFile() => _CDE5_EQPT.Staging__v2_43_3__CDE5_EQPT__DownloadRsMFile(); -#if true [Ignore] -#endif [TestMethod] public void Staging__v2_43_3__CDE5_EQPT__DownloadRsMFile6420637710931421087642__Normal() { @@ -41,4 +40,5 @@ public class CDE5_EQPT Thread.Sleep(500); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5.cs index b511d2c..4982ace 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.3/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_43_3 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE5 _CDE5 = CreateSelfDescription.Staging.v2_43_3.CDE5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_3__CDE5__RsM() => _CDE5.Staging__v2_43_3__CDE5__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,4 +76,5 @@ Avg = 577.219 0.58% SEMI Radial= #.##% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE2.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE2.cs index cf9dbae..7866f0f 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE2 _CDE2 = CreateSelfDescription.Staging.v2_43_4.CDE2.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__CDE2__txt() => _CDE2.Staging__v2_43_4__CDE2__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE2 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE5.cs index c69a982..a8d882f 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE5 _CDE5 = CreateSelfDescription.Staging.v2_43_4.CDE5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__CDE5__RsM() => _CDE5.Staging__v2_43_4__CDE5__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIMAPCDE.cs index 9b90fd5..30f2cd7 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.43.4/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_43_4 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -24,13 +25,13 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_43_4.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -52,58 +53,59 @@ public class MET08RESIMAPCDE Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_43_4__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_43_4__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE2.cs index 51a8bb0..796d0d6 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE2 _CDE2 = CreateSelfDescription.Staging.v2_47_0.CDE2.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_0__CDE2__txt() => _CDE2.Staging__v2_47_0__CDE2__txt(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE2 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE5.cs index 0ecd7d0..7318ded 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.0/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_47_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE5 _CDE5 = CreateSelfDescription.Staging.v2_47_0.CDE5.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_0__CDE5__RsM() => _CDE5.Staging__v2_47_0__CDE5__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIMAPCDE.cs index 0ab1256..db51fc9 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.1/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_1 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -24,13 +25,13 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_47_1.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -52,25 +53,25 @@ public class MET08RESIMAPCDE Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -85,7 +86,7 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -100,40 +101,41 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_1__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_47_1__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6-EQPT.cs index 1d17953..ced96b2 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Reflection; @@ -21,15 +22,13 @@ public class CDE6_EQPT _CDE6_EQPT = CreateSelfDescription.Staging.v2_47_2.CDE6_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_47_2__CDE6_EQPT__DownloadRsMFile(); -#if true [Ignore] -#endif [TestMethod] public void Staging__v2_47_2__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() { @@ -42,4 +41,5 @@ public class CDE6_EQPT Thread.Sleep(500); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6.cs index b2aa252..f20f71b 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.2/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE6 _CDE6 = CreateSelfDescription.Staging.v2_47_2.CDE6.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__CDE6__RsM() => _CDE6.Staging__v2_47_2__CDE6__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE6 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.47.2/MET08RESIMAPCDE.cs index 3a1ad7c..47e9d79 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_2 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -24,13 +25,13 @@ public class MET08RESIMAPCDE _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_47_2.MET08RESIMAPCDE.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__MoveMatchingFiles(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -52,25 +53,25 @@ public class MET08RESIMAPCDE Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__IQSSi(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__OpenInsight(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -85,7 +86,7 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -100,40 +101,41 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__APC(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__SPaCe(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__Processed(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__Archive(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_2__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_47_2__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE2.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE2.cs index 0d970bc..02a837f 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class CDE2 _CDE2 = CreateSelfDescription.Staging.v2_47_5.CDE2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE2__txt() => _CDE2.Staging__v2_47_5__CDE2__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE2__txt637953079123289252__Normal() { @@ -47,4 +52,5 @@ public class CDE2 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE3.cs index 1de7160..2a3946c 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_47_5.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_5__CDE3__RsM() => _CDE3.Staging__v2_47_5__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,4 +76,5 @@ Avg = 577.219 0.58% SEMI Radial= #.##% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE5.cs index a67d3b9..4bd9f65 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class CDE5 _CDE5 = CreateSelfDescription.Staging.v2_47_5.CDE5.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE5__RsM() => _CDE5.Staging__v2_47_5__CDE5__RsM(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__CDE5__RsM637952212190000000__Normal() { @@ -47,4 +52,5 @@ public class CDE5 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE6.cs index 6cc4195..cdbec83 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE6.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE6 _CDE6 = CreateSelfDescription.Staging.v2_47_5.CDE6.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_47_5__CDE6__RsM() => _CDE6.Staging__v2_47_5__CDE6__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE6 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIMAPCDE.cs index 8340592..33088c0 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.47.5/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_47_5 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -31,11 +32,15 @@ public class MET08RESIMAPCDE catch (Exception) { } } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal() { @@ -55,11 +60,15 @@ public class MET08RESIMAPCDE Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn() { @@ -72,15 +81,21 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql() { @@ -93,7 +108,9 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql() { @@ -106,7 +123,9 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit() { @@ -120,28 +139,41 @@ public class MET08RESIMAPCDE NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_47_5__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_47_5__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE2.cs index dc286a7..d05b5ec 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,11 +24,15 @@ public class CDE2 _CDE2 = CreateSelfDescription.Staging.v2_49_0.CDE2.EAFLoggingUnitTesting; } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE2__txt() => _CDE2.Staging__v2_49_0__CDE2__txt(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE2__txt637953079123289252__Normal() { @@ -47,4 +52,5 @@ public class CDE2 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE3.cs index 22cae4f..88a1009 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_49_0.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_0__CDE3__RsM() => _CDE3.Staging__v2_49_0__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,4 +76,5 @@ Avg = 577.219 0.58% SEMI Radial= #.##% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE5.cs index af0660b..c7329b4 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -30,11 +31,15 @@ public class CDE5 catch (Exception) { } } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE5__RsM() => _CDE5.Staging__v2_49_0__CDE5__RsM(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE5__RsM637952212190000000__Normal() { @@ -55,7 +60,9 @@ public class CDE5 NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__CDE5__RsM638181148290431160__WMO() { @@ -71,4 +78,5 @@ public class CDE5 NonThrowTryCatch(); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6-EQPT.cs index 07d382b..2327b9f 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Reflection; @@ -21,15 +22,13 @@ public class CDE6_EQPT _CDE6_EQPT = CreateSelfDescription.Staging.v2_49_0.CDE6_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_0__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_49_0__CDE6_EQPT__DownloadRsMFile(); -#if true [Ignore] -#endif [TestMethod] public void Staging__v2_49_0__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() { @@ -42,4 +41,5 @@ public class CDE6_EQPT Thread.Sleep(500); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6.cs index ba21b4e..47d5925 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE6 _CDE6 = CreateSelfDescription.Staging.v2_49_0.CDE6.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_0__CDE6__RsM() => _CDE6.Staging__v2_49_0__CDE6__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE6 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIMAPCDE.cs index f815271..7682526 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.0/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_49_0 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -31,11 +32,15 @@ public class MET08RESIMAPCDE catch (Exception) { } } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__MoveMatchingFiles(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal() { @@ -55,11 +60,15 @@ public class MET08RESIMAPCDE Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn() { @@ -72,15 +81,21 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__IQSSi(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql() { @@ -93,7 +108,9 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql() { @@ -106,7 +123,9 @@ public class MET08RESIMAPCDE _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit() { @@ -120,28 +139,41 @@ public class MET08RESIMAPCDE NonThrowTryCatch(); } +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__APC(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__SPaCe(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__Processed(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__Archive(); +#if DEBUG [Ignore] +#endif [TestMethod] public void Staging__v2_49_0__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_49_0__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE2.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE2.cs index e742dab..d3b78e3 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE2.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE2.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -51,4 +52,5 @@ public class CDE2 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE3.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE3.cs index b17f485..473f7ce 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE3.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE3.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -24,13 +25,13 @@ public class CDE3 _CDE3 = CreateSelfDescription.Staging.v2_49_2.CDE3.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_2__CDE3__RsM() => _CDE3.Staging__v2_49_2__CDE3__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -75,4 +76,5 @@ Avg = 577.219 0.58% SEMI Radial= #.##% Assert.IsTrue(logBodyCheck, "Log Body doesn't match!"); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE5.cs index f321f4f..c5d3cca 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE5.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE5.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -77,4 +78,5 @@ public class CDE5 NonThrowTryCatch(); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6-EQPT.cs index 1161741..69e561b 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6-EQPT.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6-EQPT.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Reflection; @@ -21,15 +22,13 @@ public class CDE6_EQPT _CDE6_EQPT = CreateSelfDescription.Staging.v2_49_2.CDE6_EQPT.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_2__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_49_2__CDE6_EQPT__DownloadRsMFile(); -#if true [Ignore] -#endif [TestMethod] public void Staging__v2_49_2__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() { @@ -42,4 +41,5 @@ public class CDE6_EQPT Thread.Sleep(500); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6.cs index 4bc8483..2faafde 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/CDE6.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation.Shared; using Adaptation.Shared.Methods; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -23,13 +24,13 @@ public class CDE6 _CDE6 = CreateSelfDescription.Staging.v2_49_2.CDE6.EAFLoggingUnitTesting; } -#if true +#if DEBUG [Ignore] #endif [TestMethod] public void Staging__v2_49_2__CDE6__RsM() => _CDE6.Staging__v2_49_2__CDE6__RsM(); -#if true +#if DEBUG [Ignore] #endif [TestMethod] @@ -51,4 +52,5 @@ public class CDE6 Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIMAPCDE.cs index 34701d8..d5a901d 100644 --- a/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Extract/Staging/v2.49.2/MET08RESIMAPCDE.cs @@ -1,3 +1,4 @@ +#if v2_49_2 using Adaptation._Tests.Shared; using Adaptation.Shared; using Adaptation.Shared.Methods; @@ -174,4 +175,5 @@ public class MET08RESIMAPCDE [TestMethod] public void Staging__v2_49_2__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_49_2__MET08RESIMAPCDE__Dummy(); -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE4.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE4.cs new file mode 100644 index 0000000..f7aa630 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE4.cs @@ -0,0 +1,55 @@ +#if v2_49_3 +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_49_3; + +[TestClass] +public class CDE4 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.CDE4 _CDE4; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.CDE4.ClassInitialize(testContext); + _CDE4 = CreateSelfDescription.Staging.v2_49_3.CDE4.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE4__RsM() => _CDE4.Staging__v2_49_3__CDE4__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE4__RsM637919422210000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + _CDE4.Staging__v2_49_3__CDE4__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _CDE4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _CDE4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF: false); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5-EQPT.cs new file mode 100644 index 0000000..c778e76 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5-EQPT.cs @@ -0,0 +1,29 @@ +#if v2_49_3 +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace Adaptation._Tests.Extract.Staging.v2_49_3; + +[TestClass] +public class CDE5_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.CDE5_EQPT _CDE5_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.CDE5_EQPT.ClassInitialize(testContext); + _CDE5_EQPT = CreateSelfDescription.Staging.v2_49_3.CDE5_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5_EQPT__DownloadRsMFile() => _CDE5_EQPT.Staging__v2_49_3__CDE5_EQPT__DownloadRsMFile(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5.cs new file mode 100644 index 0000000..65c2ff3 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE5.cs @@ -0,0 +1,82 @@ +#if v2_49_3 +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_49_3; + +[TestClass] +public class CDE5 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.CDE5 _CDE5; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.CDE5.ClassInitialize(testContext); + _CDE5 = CreateSelfDescription.Staging.v2_49_3.CDE5.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5__RsM() => _CDE5.Staging__v2_49_3__CDE5__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5__RsM637952212190000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_49_3__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE5__RsM638181148290431160__WMO() + { + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_49_3__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6-EQPT.cs new file mode 100644 index 0000000..166ca51 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6-EQPT.cs @@ -0,0 +1,45 @@ +#if v2_49_3 +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Diagnostics; +using System.Reflection; +using System.Threading; + +namespace Adaptation._Tests.Extract.Staging.v2_49_3; + +[TestClass] +public class CDE6_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.CDE6_EQPT _CDE6_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.CDE6_EQPT.ClassInitialize(testContext); + _CDE6_EQPT = CreateSelfDescription.Staging.v2_49_3.CDE6_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_49_3__CDE6_EQPT__DownloadRsMFile(); + + [Ignore] + [TestMethod] + public void Staging__v2_49_3__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() + { + bool validatePDSF = false; + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + _CDE6_EQPT.Staging__v2_49_3__CDE6_EQPT__DownloadRsMFile(); + _ = _CDE6_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + for (int i = 0; i < int.MaxValue; i++) + Thread.Sleep(500); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6.cs new file mode 100644 index 0000000..e9f5d87 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/CDE6.cs @@ -0,0 +1,56 @@ +#if v2_49_3 +using Adaptation.Shared; +using Adaptation.Shared.Methods; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System; +using System.Diagnostics; +using System.Reflection; + +namespace Adaptation._Tests.Extract.Staging.v2_49_3; + +[TestClass] +public class CDE6 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.CDE6 _CDE6; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.CDE6.ClassInitialize(testContext); + _CDE6 = CreateSelfDescription.Staging.v2_49_3.CDE6.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE6__RsM() => _CDE6.Staging__v2_49_3__CDE6__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__CDE6__RsM638065099250000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE6.Staging__v2_49_3__CDE6__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE6.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE6.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE6.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..cabecf7 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.49.3/MET08RESIMAPCDE.cs @@ -0,0 +1,179 @@ +#if v2_49_3 +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.Staging.v2_49_3; + +[TestClass] +public class MET08RESIMAPCDE +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_49_3.MET08RESIMAPCDE _MET08RESIMAPCDE; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_49_3.MET08RESIMAPCDE.ClassInitialize(testContext); + _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_49_3.MET08RESIMAPCDE.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal() + { + DateTime dateTime; + string check = "*"; + bool validatePDSF = false; + _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__MoveMatchingFiles(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MET08RESIMAPCDE.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.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 Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_49_3__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_49_3__MET08RESIMAPCDE__Dummy(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE4.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE4.cs new file mode 100644 index 0000000..0550a05 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE4.cs @@ -0,0 +1,55 @@ +#if v2_52_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.Staging.v2_52_0; + +[TestClass] +public class CDE4 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.CDE4 _CDE4; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.CDE4.ClassInitialize(testContext); + _CDE4 = CreateSelfDescription.Staging.v2_52_0.CDE4.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE4__RsM() => _CDE4.Staging__v2_52_0__CDE4__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE4__RsM637919422210000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + _CDE4.Staging__v2_52_0__CDE4__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _CDE4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _CDE4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF: false); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5-EQPT.cs new file mode 100644 index 0000000..79b1e05 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5-EQPT.cs @@ -0,0 +1,29 @@ +#if v2_52_0 +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace Adaptation._Tests.Extract.Staging.v2_52_0; + +[TestClass] +public class CDE5_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.CDE5_EQPT _CDE5_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.CDE5_EQPT.ClassInitialize(testContext); + _CDE5_EQPT = CreateSelfDescription.Staging.v2_52_0.CDE5_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5_EQPT__DownloadRsMFile() => _CDE5_EQPT.Staging__v2_52_0__CDE5_EQPT__DownloadRsMFile(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5.cs new file mode 100644 index 0000000..70a07cc --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE5.cs @@ -0,0 +1,82 @@ +#if v2_52_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.Staging.v2_52_0; + +[TestClass] +public class CDE5 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.CDE5 _CDE5; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.CDE5.ClassInitialize(testContext); + _CDE5 = CreateSelfDescription.Staging.v2_52_0.CDE5.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5__RsM() => _CDE5.Staging__v2_52_0__CDE5__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5__RsM637952212190000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_52_0__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE5__RsM638181148290431160__WMO() + { + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_52_0__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6-EQPT.cs new file mode 100644 index 0000000..c06a85c --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6-EQPT.cs @@ -0,0 +1,47 @@ +#if v2_52_0 +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Diagnostics; +using System.Reflection; +using System.Threading; + +namespace Adaptation._Tests.Extract.Staging.v2_52_0; + +[TestClass] +public class CDE6_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.CDE6_EQPT _CDE6_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.CDE6_EQPT.ClassInitialize(testContext); + _CDE6_EQPT = CreateSelfDescription.Staging.v2_52_0.CDE6_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_52_0__CDE6_EQPT__DownloadRsMFile(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() + { + bool validatePDSF = false; + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + _CDE6_EQPT.Staging__v2_52_0__CDE6_EQPT__DownloadRsMFile(); + _ = _CDE6_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + for (int i = 0; i < int.MaxValue; i++) + Thread.Sleep(500); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6.cs new file mode 100644 index 0000000..7065181 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/CDE6.cs @@ -0,0 +1,56 @@ +#if v2_52_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.Staging.v2_52_0; + +[TestClass] +public class CDE6 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.CDE6 _CDE6; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.CDE6.ClassInitialize(testContext); + _CDE6 = CreateSelfDescription.Staging.v2_52_0.CDE6.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6__RsM() => _CDE6.Staging__v2_52_0__CDE6__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__CDE6__RsM638065099250000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE6.Staging__v2_52_0__CDE6__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE6.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE6.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE6.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..ae5d465 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.52.0/MET08RESIMAPCDE.cs @@ -0,0 +1,179 @@ +#if v2_52_0 +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.Staging.v2_52_0; + +[TestClass] +public class MET08RESIMAPCDE +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_52_0.MET08RESIMAPCDE _MET08RESIMAPCDE; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_52_0.MET08RESIMAPCDE.ClassInitialize(testContext); + _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_52_0.MET08RESIMAPCDE.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal() + { + DateTime dateTime; + string check = "*"; + bool validatePDSF = false; + _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__MoveMatchingFiles(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MET08RESIMAPCDE.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.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 Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_52_0__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_52_0__MET08RESIMAPCDE__Dummy(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE4.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE4.cs new file mode 100644 index 0000000..fd15f9c --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE4.cs @@ -0,0 +1,55 @@ +#if v2_56_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.Staging.v2_56_0; + +[TestClass] +public class CDE4 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.CDE4 _CDE4; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.CDE4.ClassInitialize(testContext); + _CDE4 = CreateSelfDescription.Staging.v2_56_0.CDE4.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE4__RsM() => _CDE4.Staging__v2_56_0__CDE4__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE4__RsM637919422210000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + _CDE4.Staging__v2_56_0__CDE4__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + string[] variables = _CDE4.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _CDE4.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF: false); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5-EQPT.cs new file mode 100644 index 0000000..102b97b --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5-EQPT.cs @@ -0,0 +1,29 @@ +#if v2_56_0 +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class CDE5_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.CDE5_EQPT _CDE5_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.CDE5_EQPT.ClassInitialize(testContext); + _CDE5_EQPT = CreateSelfDescription.Staging.v2_56_0.CDE5_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5_EQPT__DownloadRsMFile() => _CDE5_EQPT.Staging__v2_56_0__CDE5_EQPT__DownloadRsMFile(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5.cs new file mode 100644 index 0000000..a8f0aa1 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE5.cs @@ -0,0 +1,82 @@ +#if v2_56_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.Staging.v2_56_0; + +[TestClass] +public class CDE5 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.CDE5 _CDE5; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.CDE5.ClassInitialize(testContext); + _CDE5 = CreateSelfDescription.Staging.v2_56_0.CDE5.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5__RsM() => _CDE5.Staging__v2_56_0__CDE5__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5__RsM637952212190000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_56_0__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + NonThrowTryCatch(); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE5__RsM638181148290431160__WMO() + { + string check = "*.RsM"; + bool validatePDSF = false; + _CDE5.Staging__v2_56_0__CDE5__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE5.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE5.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE5.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + NonThrowTryCatch(); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6-EQPT.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6-EQPT.cs new file mode 100644 index 0000000..61e1140 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6-EQPT.cs @@ -0,0 +1,45 @@ +#if v2_56_0 +using Microsoft.VisualStudio.TestTools.UnitTesting; +using System.Diagnostics; +using System.Reflection; +using System.Threading; + +namespace Adaptation._Tests.Extract.Staging.v2_56_0; + +[TestClass] +public class CDE6_EQPT +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.CDE6_EQPT _CDE6_EQPT; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.CDE6_EQPT.ClassInitialize(testContext); + _CDE6_EQPT = CreateSelfDescription.Staging.v2_56_0.CDE6_EQPT.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE6_EQPT__DownloadRsMFile() => _CDE6_EQPT.Staging__v2_56_0__CDE6_EQPT__DownloadRsMFile(); + + [Ignore] + [TestMethod] + public void Staging__v2_56_0__CDE6_EQPT__DownloadRsMFile638065099250000000__Normal() + { + bool validatePDSF = false; + string check = "CDE_Logs|WaferMeasurementData.log|.RsM"; + MethodBase methodBase = new StackFrame().GetMethod(); + _CDE6_EQPT.Staging__v2_56_0__CDE6_EQPT__DownloadRsMFile(); + _ = _CDE6_EQPT.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + for (int i = 0; i < int.MaxValue; i++) + Thread.Sleep(500); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6.cs new file mode 100644 index 0000000..eaa436f --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/CDE6.cs @@ -0,0 +1,56 @@ +#if v2_56_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.Staging.v2_56_0; + +[TestClass] +public class CDE6 +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.CDE6 _CDE6; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.CDE6.ClassInitialize(testContext); + _CDE6 = CreateSelfDescription.Staging.v2_56_0.CDE6.EAFLoggingUnitTesting; + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE6__RsM() => _CDE6.Staging__v2_56_0__CDE6__RsM(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__CDE6__RsM638065099250000000__Normal() + { + DateTime dateTime; + string check = "*.RsM"; + bool validatePDSF = false; + _CDE6.Staging__v2_56_0__CDE6__RsM(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_CDE6.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _CDE6.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _CDE6.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = Shared.AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIMAPCDE.cs new file mode 100644 index 0000000..5894985 --- /dev/null +++ b/Adaptation/_Tests/Extract/Staging/v2.56.0/MET08RESIMAPCDE.cs @@ -0,0 +1,179 @@ +#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.Staging.v2_56_0; + +[TestClass] +public class MET08RESIMAPCDE +{ + +#pragma warning disable CA2254 +#pragma warning disable IDE0060 + + private static CreateSelfDescription.Staging.v2_56_0.MET08RESIMAPCDE _MET08RESIMAPCDE; + + [ClassInitialize] + public static void ClassInitialize(TestContext testContext) + { + CreateSelfDescription.Staging.v2_56_0.MET08RESIMAPCDE.ClassInitialize(testContext); + _MET08RESIMAPCDE = CreateSelfDescription.Staging.v2_56_0.MET08RESIMAPCDE.EAFLoggingUnitTesting; + } + + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__MoveMatchingFiles() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__MoveMatchingFiles(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__MoveMatchingFiles637953064190000000__Normal() + { + DateTime dateTime; + string check = "*"; + bool validatePDSF = false; + _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__MoveMatchingFiles(); + MethodBase methodBase = new StackFrame().GetMethod(); + Assert.IsFalse(string.IsNullOrEmpty(_MET08RESIMAPCDE.AdaptationTesting.TestContext.FullyQualifiedTestClassName)); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics, validatePDSF); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, string.Empty); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + dateTime = FileHandlers.RsM.ProcessData.GetDateTime(logistics, "00:13 09/27/38"); + Assert.IsTrue(dateTime == logistics.DateTimeFromSequence); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer638127615724700306__NewColumn() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewer(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__IQSSi() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__IQSSi(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight638054501710000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight638116271690000000__IqsSql() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.AdaptationTesting.Get(methodBase, sourceFileLocation: variables[2], sourceFileFilter: variables[3], useCyclicalForDescription: false); + Logistics logistics = new(fileRead); + _ = AdaptationTesting.ReExtractCompareUpdatePassDirectory(variables, fileRead, logistics); + } + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight638159693274771954__IqsSqlButSplit() + { + string check = "*.pdsf"; + MethodBase methodBase = new StackFrame().GetMethod(); + _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsight(); + string[] variables = _MET08RESIMAPCDE.AdaptationTesting.GetVariables(methodBase, check, validatePDSF: false); + IFileRead fileRead = _MET08RESIMAPCDE.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 Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__OpenInsightMetrologyViewerAttachments(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__APC() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__APC(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__SPaCe() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__SPaCe(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Processed() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__Processed(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Archive() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__Archive(); + +#if DEBUG + [Ignore] +#endif + [TestMethod] + public void Staging__v2_56_0__MET08RESIMAPCDE__Dummy() => _MET08RESIMAPCDE.Staging__v2_56_0__MET08RESIMAPCDE__Dummy(); + +} +#endif \ No newline at end of file diff --git a/Adaptation/_Tests/Shared/AdaptationTesting.cs b/Adaptation/_Tests/Shared/AdaptationTesting.cs index e55beee..dad8ffe 100644 --- a/Adaptation/_Tests/Shared/AdaptationTesting.cs +++ b/Adaptation/_Tests/Shared/AdaptationTesting.cs @@ -305,7 +305,7 @@ public class AdaptationTesting : ISMTP else { results = Directory.GetFiles(mbn.TextFileDirectory, "*.txt", SearchOption.TopDirectoryOnly); - if (!string.IsNullOrEmpty(mbn.Ticks) && _HasWaitForProperty && !results.Any()) + if (!string.IsNullOrEmpty(mbn.Ticks) && _HasWaitForProperty && results.Length == 0) { _ = Process.Start("explorer.exe", mbn.TextFileDirectory); File.WriteAllText(Path.Combine(mbn.TextFileDirectory, "_ Why.why"), string.Empty); @@ -373,9 +373,7 @@ public class AdaptationTesting : ISMTP Tuple result; CellInstanceVersion cellInstanceVersion; string cellInstanceServiceV2 = string.Concat("http://", _HostNameAndPort, "/CellInstanceServiceV2/", cellInstanceName, "/", cellInstanceVersionName, "/configuration"); - if (_CellInstanceVersions.ContainsKey(cellInstanceServiceV2)) - cellInstanceVersion = _CellInstanceVersions[cellInstanceServiceV2]; - else + if (!_CellInstanceVersions.TryGetValue(cellInstanceServiceV2, out cellInstanceVersion)) { cellInstanceVersion = GetCellInstanceVersion(cellInstanceServiceV2); _CellInstanceVersions.Add(cellInstanceServiceV2, cellInstanceVersion); @@ -401,7 +399,7 @@ public class AdaptationTesting : ISMTP } } } - if (!results.Any() || (!string.IsNullOrEmpty(cellInstanceConnectionName) && !results.ContainsKey(cellInstanceConnectionName))) + if (results.Count == 0 || (!string.IsNullOrEmpty(cellInstanceConnectionName) && !results.ContainsKey(cellInstanceConnectionName))) throw new Exception("Match not found (check test method name matches Mango)!"); return results; } @@ -413,9 +411,8 @@ public class AdaptationTesting : ISMTP result = componentModelComponentsIndexes.ElementAt(0).Value; else { - if (componentModelComponentsIndexes is null || !componentModelComponentsIndexes.ContainsKey(cellInstanceConnectionName)) + if (componentModelComponentsIndexes is null || !componentModelComponentsIndexes.TryGetValue(cellInstanceConnectionName, out result)) throw new Exception(); - result = componentModelComponentsIndexes[cellInstanceConnectionName]; } return result; } @@ -487,7 +484,7 @@ public class AdaptationTesting : ISMTP else if (i == 1) _ = stringBuilder. AppendLine(). - Append("static ").Append(cellInstanceNameWithoutHyphen).AppendLine("() => DummyRoot = @\"\\\\messv02ecc1.ec.local\\EC_Characterization_Si\\Dummy\";"). + Append("static ").Append(cellInstanceNameWithoutHyphen).AppendLine("() => DummyRoot = @\"\\\\mesfs.infineon.com\\EC_Characterization_Si\\Dummy\";"). AppendLine(). Append("public ").Append(cellInstanceNameWithoutHyphen).AppendLine("() : base(DummyRoot, testContext: null, declaringType: null, skipEquipmentDictionary: false)"). AppendLine("{"). @@ -565,7 +562,7 @@ public class AdaptationTesting : ISMTP else if (i == 1) { if (componentsCellComponentCellComponent.Equipment.EquipmentType.Version != cellInstanceVersionName) - throw new Exception("Versions should match!"); + throw new Exception($"Versions should match! {componentsCellComponentCellComponent.Equipment.EquipmentType.Version} != {cellInstanceVersionName}"); equipmentTypeName = componentsCellComponentCellComponent.Equipment.EquipmentType.Name; _ = stringBuilder. AppendLine("#if true"). @@ -596,7 +593,7 @@ public class AdaptationTesting : ISMTP throw new Exception(); _ = stringBuilder.Clear(); } - if (componentsCellComponentCellComponentEquipmentDictionaryNames.Any() && string.IsNullOrEmpty(cellInstanceVersion.FrozenBy)) + if (componentsCellComponentCellComponentEquipmentDictionaryNames.Count != 0 && string.IsNullOrEmpty(cellInstanceVersion.FrozenBy)) { if (!cellInstanceVersion.CellCommunicatingRule.EndsWith(".Communicating") || !(from l in componentsCellComponentCellComponentEquipmentNames where l == cellInstanceVersion.CellCommunicatingRule.Split('.')[0] select true).Any()) throw new Exception($"{methodName} - CellCommunicatingRule not correct in Mango!"); @@ -648,9 +645,7 @@ public class AdaptationTesting : ISMTP Tuple result; FileConnectorConfiguration fileConnectorConfiguration; string cellInstanceServiceV2With = string.Concat(cellInstanceVersionTuple.Item1, '/', cellInstanceConnectionName); - if (_FileConnectorConfigurations.ContainsKey(cellInstanceServiceV2With)) - fileConnectorConfiguration = _FileConnectorConfigurations[cellInstanceServiceV2With]; - else + if (!_FileConnectorConfigurations.TryGetValue(cellInstanceServiceV2With, out fileConnectorConfiguration)) { Dictionary componentModelComponentsIndexes = GetComponentModelComponentsIndexes(cellInstanceVersionTuple.Item2, cellInstanceConnectionName); int[] cellInstanceConnectionNameIndexes = GetCellInstanceConnectionNameIndexes(cellInstanceConnectionName, componentModelComponentsIndexes); @@ -696,9 +691,7 @@ public class AdaptationTesting : ISMTP int[] cellInstanceConnectionNameIndexes = GetCellInstanceConnectionNameIndexes(cellInstanceConnectionName, componentModelComponentsIndexes); ComponentsCellComponentCellComponent componentsCellComponentCellComponent = cellInstanceVersion.ComponentModel.Components[cellInstanceConnectionNameIndexes[0]].Children[cellInstanceConnectionNameIndexes[1]]; string equipmentTypeServiceV2 = string.Concat("http://", _HostNameAndPort, "/EquipmentTypeServiceV2/", componentsCellComponentCellComponent.Equipment.EquipmentType.Name, "/", componentsCellComponentCellComponent.Equipment.EquipmentType.Version, "/configuration"); - if (_EquipmentTypeVersions.ContainsKey(equipmentTypeServiceV2)) - equipmentTypeVersion = _EquipmentTypeVersions[equipmentTypeServiceV2]; - else + if (!_EquipmentTypeVersions.TryGetValue(equipmentTypeServiceV2, out equipmentTypeVersion)) { equipmentTypeVersion = GetEquipmentTypeVersion(equipmentTypeServiceV2); _EquipmentTypeVersions.Add(equipmentTypeServiceV2, equipmentTypeVersion); @@ -763,7 +756,7 @@ public class AdaptationTesting : ISMTP string[] results; string equipmentDictionaryName; string equipmentDictionaryVersionName; - if (_SkipEquipmentDictionary || equipmentTypeVersion?.EventActionSequences is null || !equipmentTypeVersion.EventActionSequences.Any() || !(from l in equipmentTypeVersion.EventActionSequences where l.HandledEvent.StartsWith("Equipment.FileRead") select 1).Any()) + if (_SkipEquipmentDictionary || equipmentTypeVersion?.EventActionSequences is null || equipmentTypeVersion.EventActionSequences.Length == 0 || !(from l in equipmentTypeVersion.EventActionSequences where l.HandledEvent.StartsWith("Equipment.FileRead") select 1).Any()) { equipmentDictionaryName = string.Empty; equipmentDictionaryVersionName = string.Empty; @@ -834,9 +827,7 @@ public class AdaptationTesting : ISMTP equipmentDictionaryVersion = null; else { - if (_EquipmentDictionaryVersions.ContainsKey(equipmentDictionaryServiceV2)) - equipmentDictionaryVersion = _EquipmentDictionaryVersions[equipmentDictionaryServiceV2]; - else + if (!_EquipmentDictionaryVersions.TryGetValue(equipmentDictionaryServiceV2, out equipmentDictionaryVersion)) { equipmentDictionaryVersion = GetEquipmentDictionaryVersion(equipmentDictionaryServiceV2); _EquipmentDictionaryVersions.Add(equipmentDictionaryServiceV2, equipmentDictionaryVersion); @@ -850,14 +841,15 @@ public class AdaptationTesting : ISMTP { Tuple>> result; List> results; + List> collection; if (_SkipEquipmentDictionary) results = new List>(); else if (string.IsNullOrEmpty(equipmentDictionaryVersionTuple.Item1)) throw new Exception(); else if (equipmentDictionaryVersionTuple?.Item4?.Events?.Event is null) results = new List>(); - else if (_EquipmentDictionaryEventDescriptions.ContainsKey(equipmentDictionaryVersionTuple.Item1)) - results = _EquipmentDictionaryEventDescriptions[equipmentDictionaryVersionTuple.Item1]; + else if (_EquipmentDictionaryEventDescriptions.TryGetValue(equipmentDictionaryVersionTuple.Item1, out collection)) + results = collection; else { results = new List>(); @@ -963,25 +955,33 @@ public class AdaptationTesting : ISMTP } if (_TestContext.FullyQualifiedTestClassName.Contains(nameof(Extract))) { - if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation)) + try { - if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation)) - _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation); + if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation)) + { + if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation)) + _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.ErrorTargetFileLocation); + } + if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.SourceFileLocation)) + { + if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.SourceFileLocation)) + _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.SourceFileLocation); + } + if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.TargetFileLocation)) + { + if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.TargetFileLocation)) + _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.TargetFileLocation); + } + if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder)) + { + if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder)) + _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder); + } } - if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.SourceFileLocation)) + catch (IOException ex) { - if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.SourceFileLocation)) - _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.SourceFileLocation); - } - if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.TargetFileLocation)) - { - if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.TargetFileLocation)) - _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.TargetFileLocation); - } - if (!string.IsNullOrEmpty(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder)) - { - if (!Directory.Exists(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder)) - _ = Directory.CreateDirectory(fileConnectorConfigurationTuple.Item2.AlternateTargetFolder); + if (!ex.Message.Contains("SMB1")) + throw; } } result = FileHandlers.CellInstanceConnectionName.Get(this, fileParameter, mbn.CellInstanceName, mbn.CellInstanceConnectionName, fileConnectorConfigurationTuple.Item2, equipmentTypeVersionTuple.Item2, parameterizedModelObjectDefinitionTypeTuple.Item2, modelObjectParametersTuple.Item2, equipmentDictionaryVersionTuple.Item2, dummyRuns, staticRuns, useCyclicalForDescription, connectionCount: cellInstanceVersionTuple.Item2.EquipmentConnections.Length); @@ -1001,7 +1001,7 @@ public class AdaptationTesting : ISMTP string sourceFileLocation = string.Empty; MethodBaseName mbn = GetMethodBaseName(methodBase); string[] textFiles = GetTextFiles(mbn); - if (!textFiles.Any()) + if (textFiles.Length == 0) { if (_HasWaitForProperty) throw new Exception("Set text file!"); @@ -1065,7 +1065,7 @@ public class AdaptationTesting : ISMTP else { string[] files = Directory.GetFiles(ipdsfDirectory, searchPattern, SearchOption.TopDirectoryOnly); - if (files.Any()) + if (files.Length != 0) ipdsfFile = files[0]; else ipdsfFile = searchPattern; @@ -1109,9 +1109,9 @@ public class AdaptationTesting : ISMTP { string[] pdsfFiles; pdsfFiles = Directory.GetFiles(searchDirectory, searchPattern, SearchOption.TopDirectoryOnly); - if (!pdsfFiles.Any()) + if (pdsfFiles.Length == 0) _ = Process.Start("explorer.exe", searchDirectory); - Assert.IsTrue(pdsfFiles.Any(), "GetFiles check"); + Assert.IsTrue(pdsfFiles.Length != 0, "GetFiles check"); results = GetLogisticsColumnsAndBody(pdsfFiles[0]); } Assert.IsFalse(string.IsNullOrEmpty(results.Item1)); @@ -1244,6 +1244,8 @@ public class AdaptationTesting : ISMTP { string result; Tuple> extractResult = fileRead.ReExtract(); + if (extractResult is null) + throw new Exception($"Using pattern {variables[4]} no file was found <{variables[2]}>"); if (!fileRead.IsDuplicator) { Assert.IsFalse(string.IsNullOrEmpty(extractResult?.Item1)); diff --git a/Adaptation/_Tests/Shared/UnitTesting.cs b/Adaptation/_Tests/Shared/UnitTesting.cs index 1833834..e4ef794 100644 --- a/Adaptation/_Tests/Shared/UnitTesting.cs +++ b/Adaptation/_Tests/Shared/UnitTesting.cs @@ -2,7 +2,6 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Diagnostics; using System.IO; -using System.Linq; using System.Reflection; using System.Text; using System.Text.Json; @@ -74,7 +73,7 @@ public class UnitTesting if (string.IsNullOrEmpty(result)) break; checkFiles = Directory.GetFiles(result, "*.Tests.*proj", SearchOption.TopDirectoryOnly); - if (checkFiles.Any()) + if (checkFiles.Length != 0) break; result = Path.GetDirectoryName(result); } diff --git a/Adaptation/_Tests/Static/MET08RESIMAPCDE.cs b/Adaptation/_Tests/Static/MET08RESIMAPCDE.cs index fe656d4..e15de09 100644 --- a/Adaptation/_Tests/Static/MET08RESIMAPCDE.cs +++ b/Adaptation/_Tests/Static/MET08RESIMAPCDE.cs @@ -2,8 +2,10 @@ using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Reflection; using System.Text; @@ -38,6 +40,13 @@ public class MET08RESIMAPCDE : LoggingUnitTesting, IDisposable LoggingUnitTesting?.Dispose(); } + private static void NonThrowTryCatch() + { + try + { throw new Exception(); } + catch (Exception) { } + } + [TestMethod] public void TestDateTime() { @@ -55,9 +64,9 @@ public class MET08RESIMAPCDE : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("MET08RESIMAPCDE", "v2.49.2"), + new("MET08RESIMAPCDE", "v2.56.0"), }; - string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; + string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); foreach ((string cellInstanceName, string cellInstanceVersionName) in collection) @@ -65,8 +74,31 @@ public class MET08RESIMAPCDE : LoggingUnitTesting, IDisposable cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration"); _ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}"); } - File.WriteAllText($"D:/Tmp/{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv", results.ToString()); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (!Directory.Exists(sourceDirectory)) + _ = Directory.CreateDirectory(sourceDirectory); + File.WriteAllText(Path.Combine(sourceDirectory, $"{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv"), results.ToString()); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [TestMethod] + public void CellInstanceVersionEdaConnectionPortNumber() + { + MethodBase methodBase = new StackFrame().GetMethod(); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (Directory.Exists(sourceDirectory)) + { + string destinationDirectory = Path.Combine(sourceDirectory, "All"); + if (!Directory.Exists(destinationDirectory)) + _ = Directory.CreateDirectory(destinationDirectory); + List lines = new(); + string[] files = Directory.GetFiles(sourceDirectory, "*.tsv", SearchOption.TopDirectoryOnly); + foreach (string file in files) + lines.AddRange(File.ReadAllLines(file)); + File.WriteAllLines(Path.Combine(destinationDirectory, $"{DateTime.Now.Ticks}.tsv"), lines.Distinct().OrderBy(l => l)); + } + LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/Adaptation/_Tests/Static/RsM.cs b/Adaptation/_Tests/Static/RsM.cs index c11e377..eb70e83 100644 --- a/Adaptation/_Tests/Static/RsM.cs +++ b/Adaptation/_Tests/Static/RsM.cs @@ -2,8 +2,10 @@ using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Reflection; using System.Text; @@ -181,16 +183,16 @@ public class RsM : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("CDE3", "v2.49.2"), - new("CDE4", "v2.49.2"), - new("CDE5", "v2.49.2"), - new("CDE6", "v2.49.2"), - new("CDE3-EQPT", "v2.49.2"), - new("CDE4-EQPT", "v2.49.2"), - new("CDE5-EQPT", "v2.49.2"), - new("CDE6-EQPT", "v2.49.2"), + new("CDE3", "v2.56.0"), + new("CDE4", "v2.56.0"), + new("CDE5", "v2.56.0"), + new("CDE6", "v2.56.0"), + new("CDE3-EQPT", "v2.56.0"), + new("CDE4-EQPT", "v2.56.0"), + new("CDE5-EQPT", "v2.56.0"), + new("CDE6-EQPT", "v2.56.0"), }; - string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; + string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); foreach ((string cellInstanceName, string cellInstanceVersionName) in collection) @@ -198,8 +200,31 @@ public class RsM : LoggingUnitTesting, IDisposable cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration"); _ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}"); } - File.WriteAllText($"D:/Tmp/{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv", results.ToString()); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (!Directory.Exists(sourceDirectory)) + _ = Directory.CreateDirectory(sourceDirectory); + File.WriteAllText(Path.Combine(sourceDirectory, $"{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv"), results.ToString()); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [TestMethod] + public void CellInstanceVersionEdaConnectionPortNumber() + { + MethodBase methodBase = new StackFrame().GetMethod(); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (Directory.Exists(sourceDirectory)) + { + string destinationDirectory = Path.Combine(sourceDirectory, "All"); + if (!Directory.Exists(destinationDirectory)) + _ = Directory.CreateDirectory(destinationDirectory); + List lines = new(); + string[] files = Directory.GetFiles(sourceDirectory, "*.tsv", SearchOption.TopDirectoryOnly); + foreach (string file in files) + lines.AddRange(File.ReadAllLines(file)); + File.WriteAllLines(Path.Combine(destinationDirectory, $"{DateTime.Now.Ticks}.tsv"), lines.Distinct().OrderBy(l => l)); + } + LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/Adaptation/_Tests/Static/txt.cs b/Adaptation/_Tests/Static/txt.cs index 82cecfe..34e2bc6 100644 --- a/Adaptation/_Tests/Static/txt.cs +++ b/Adaptation/_Tests/Static/txt.cs @@ -2,8 +2,10 @@ using Adaptation._Tests.Shared; using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; +using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Reflection; using System.Text; @@ -202,9 +204,9 @@ public class TXT : LoggingUnitTesting, IDisposable StringBuilder results = new(); (string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[] { - new("CDE2", "v2.49.2"), + new("CDE2", "v2.56.0"), }; - string staging = "http://mestsa07ec.ec.local:9003/CellInstanceServiceV2"; + string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2"; Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion; LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration")); foreach ((string cellInstanceName, string cellInstanceVersionName) in collection) @@ -212,8 +214,31 @@ public class TXT : LoggingUnitTesting, IDisposable cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration"); _ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}"); } - File.WriteAllText($"D:/Tmp/{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv", results.ToString()); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (!Directory.Exists(sourceDirectory)) + _ = Directory.CreateDirectory(sourceDirectory); + File.WriteAllText(Path.Combine(sourceDirectory, $"{methodBase.Module.Name}-{methodBase.ReflectedType.Name}-{methodBase.Name}.tsv"), results.ToString()); LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); } + [TestMethod] + public void CellInstanceVersionEdaConnectionPortNumber() + { + MethodBase methodBase = new StackFrame().GetMethod(); + string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber"; + if (Directory.Exists(sourceDirectory)) + { + string destinationDirectory = Path.Combine(sourceDirectory, "All"); + if (!Directory.Exists(destinationDirectory)) + _ = Directory.CreateDirectory(destinationDirectory); + List lines = new(); + string[] files = Directory.GetFiles(sourceDirectory, "*.tsv", SearchOption.TopDirectoryOnly); + foreach (string file in files) + lines.AddRange(File.ReadAllLines(file)); + File.WriteAllLines(Path.Combine(destinationDirectory, $"{DateTime.Now.Ticks}.tsv"), lines.Distinct().OrderBy(l => l)); + } + LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit")); + NonThrowTryCatch(); + } + } \ No newline at end of file diff --git a/Adaptation/appsettings.Development.json b/Adaptation/appsettings.Development.json index f7e0b36..8630239 100644 --- a/Adaptation/appsettings.Development.json +++ b/Adaptation/appsettings.Development.json @@ -45,7 +45,7 @@ "Password": "tVyC7uPHtScZR8NLInSaxQ==" }, { - "Use": true, + "Use": false, "Letter": "i", "Share": "\\\\messdv002.na.infineon.com\\Candela", "User": "INFINEON\\MESGaNEAF", @@ -115,14 +115,14 @@ "Password": "rzXkXdHKetDfsukhZKW0yA==" }, { - "Use": true, + "Use": false, "Letter": "s", "Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository", "User": "EC\\ECMESEAF", "Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00=" }, { - "Use": true, + "Use": false, "Letter": "t", "Share": "\\\\messv02ecc1.ec.local\\EC_EDA", "User": "EC\\ECEDASvc", diff --git a/Adaptation/appsettings.json b/Adaptation/appsettings.json index d15d437..842b156 100644 --- a/Adaptation/appsettings.json +++ b/Adaptation/appsettings.json @@ -45,7 +45,7 @@ "Password": "tVyC7uPHtScZR8NLInSaxQ==" }, { - "Use": true, + "Use": false, "Letter": "i", "Share": "\\\\messdv002.na.infineon.com\\Candela", "User": "INFINEON\\MESGaNEAF", @@ -115,14 +115,14 @@ "Password": "rzXkXdHKetDfsukhZKW0yA==" }, { - "Use": true, + "Use": false, "Letter": "s", "Share": "\\\\messv02ecc1.ec.local\\EC_EAFRepository", "User": "EC\\ECMESEAF", "Password": "CUGygiPwahy4U3j+6KqqoMZ08STyVDR1rKm6MwPpt00=" }, { - "Use": true, + "Use": false, "Letter": "t", "Share": "\\\\messv02ecc1.ec.local\\EC_EDA", "User": "EC\\ECEDASvc", diff --git a/MET08RESIMAPCDE.csproj b/MET08RESIMAPCDE.csproj index 6b9105c..855c5da 100644 --- a/MET08RESIMAPCDE.csproj +++ b/MET08RESIMAPCDE.csproj @@ -48,6 +48,12 @@ prompt MinimumRecommendedRules.ruleset + + NETFRAMEWORK;NET20;NET35;NET40;NET45;NET451;NET452;NET46;NET461;NET462;NET47;NET471;NET472;NET48;$(DefineConstants) + + + + @@ -105,11 +111,11 @@ - - - + + + @@ -169,7 +175,7 @@ - 2.49.2 + 2.56.0 6.0.3 diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 4334dce..0653833 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.49.2.0")] -[assembly: AssemblyFileVersion("2.49.2.0")] +[assembly: AssemblyVersion("2.52.0.0")] +[assembly: AssemblyFileVersion("2.52.0.0")]