Skip to content

Commit 9b8e607

Browse files
committed
Testdetails enhanced. Confirmation dialog on close when tests still running.
1 parent b95039d commit 9b8e607

File tree

4 files changed

+318
-140
lines changed

4 files changed

+318
-140
lines changed

PlsqlDeveloperUtPlsqlPlugin/PlsqlDeveloperUtPlsqlPlugin/PlsqlDeveloperUtPlsqlPlugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ public class PlsqlDeveloperUtPlsqlPlugin
4545
internal static string database;
4646

4747
private static RealTimeTestRunner testRunner;
48-
private static RealTimeTestResultWindow testResultWindow;
4948

5049
private PlsqlDeveloperUtPlsqlPlugin()
5150
{
5251
testRunner = new RealTimeTestRunner();
53-
testResultWindow = new RealTimeTestResultWindow(testRunner);
5452
}
5553

5654
#region DLL exported API
@@ -144,6 +142,7 @@ public static void OnMenuClick(int index)
144142
{
145143
if (PlsqlDeveloperUtPlsqlPlugin.connected())
146144
{
145+
var testResultWindow = new RealTimeTestResultWindow(testRunner);
147146
testResultWindow.RunTests("_ALL", username, null, null);
148147
}
149148
}
@@ -157,6 +156,7 @@ public static void OnMenuClick(int index)
157156
IntPtr subType;
158157
PlsqlDeveloperUtPlsqlPlugin.getPopupObject(out type, out owner, out name, out subType);
159158

159+
var testResultWindow = new RealTimeTestResultWindow(testRunner);
160160
testResultWindow.RunTests(Marshal.PtrToStringAnsi(type), Marshal.PtrToStringAnsi(owner), Marshal.PtrToStringAnsi(name), Marshal.PtrToStringAnsi(subType));
161161
}
162162
}

0 commit comments

Comments
 (0)