- Include root in valid directories

- AppSetting bug fix

- Updated testes with base test class and editor configuration changes

- Created new server and wafer counter tasks json files and pipelines to match
This commit is contained in:
2025-07-29 16:56:09 -07:00
parent 6f52566fc2
commit a427c5648a
49 changed files with 1680 additions and 822 deletions

21
Tests/BaseTestClass.cs Normal file
View File

@ -0,0 +1,21 @@
using System.Diagnostics;
namespace OI.Metrology.Tests;
public class BaseTestClass
{
private static int _FailedTests;
private readonly int _Threshold = 5;
protected void IncrementFailedTests()
{
if (++_FailedTests >= _Threshold)
{
for (int i = 0; i < 10; i++)
Thread.Sleep(500);
Process.GetCurrentProcess().Kill();
}
}
}