From b544d5cccd76735e034c8055918a50927b437474 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期二, 10 十一月 2026 08:29:04 +0800
Subject: [PATCH] fix: 维护模式重复进入失败与按钮灰死 + Broker 并发验证用例
---
Plugin.TsSupport/TeststandWrapper.cs | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/Plugin.TsSupport/TeststandWrapper.cs b/Plugin.TsSupport/TeststandWrapper.cs
index ea15087..1b7bfec 100644
--- a/Plugin.TsSupport/TeststandWrapper.cs
+++ b/Plugin.TsSupport/TeststandWrapper.cs
@@ -82,12 +82,17 @@
return this.AxApplicationMgr;
}
+ private SequenceFile GetFile(string path)
+ {
+ return null;
+ }
+
public object StartSequence(string filePath, string modelPath)
{
this.testSeqFile = filePath;
this.modeSeq = this.engine.GetSequenceFileEx(modelPath);
- this.testSeq = this.engine.GetSequenceFileEx(this.testSeqFile, 2, TypeConflictHandlerTypes.ConflictHandler_UseGlobalType);
+ this.testSeq = this.engine.GetSequenceFileEx(this.testSeqFile, 107, TypeConflictHandlerTypes.ConflictHandler_UseGlobalType);
this.execution = this.engine.NewExecution(this.testSeq, "Test UUTs", this.modeSeq, false, 0, null, null, null);
return execution;
}
@@ -232,5 +237,12 @@
{
this.context = (SequenceContext)context;
}
+
+ public void Dispose()
+ {
+ AxApplicationMgr = null;
+ engine = null;
+ TestAppManager.Dispose();
+ }
}
}
--
Gitblit v1.9.1