We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea932c commit d9a8002Copy full SHA for d9a8002
1 file changed
PlsqlDeveloperUtPlsqlPlugin/utPLSQL.UI/TestRunnerWindow.cs
@@ -66,8 +66,12 @@ public void RunTestsAsync(string type, string owner, string name, string procedu
66
67
Show();
68
69
- CollectResults(true);
70
- CollectReport();
+ CollectResults(totalNumberOfTests > 0);
+
71
+ if (totalNumberOfTests > 0)
72
+ {
73
+ CollectReport();
74
+ }
75
}
76
77
else
@@ -119,6 +123,7 @@ private void CollectResults(bool coverage)
119
123
progressBar.Minimum = 0;
120
124
progressBar.Maximum = totalNumberOfTests * Steps;
121
125
progressBar.Step = Steps;
126
122
127
CreateTestResults(@event);
128
129
if (gridResults.Rows.Count > 0)
@@ -133,9 +138,8 @@ private void CollectResults(bool coverage)
133
138
{
134
139
completedTests++;
135
140
136
- txtTests.Text =
137
- (completedTests > totalNumberOfTests ? totalNumberOfTests : completedTests) + "/" +
- totalNumberOfTests;
141
+ txtTests.Text = (completedTests > totalNumberOfTests ? totalNumberOfTests : completedTests) + "/" + totalNumberOfTests;
142
143
UpdateProgressBar(completedTests);
144
145
UpdateTestResult(@event);
@@ -161,9 +165,16 @@ private void CollectResults(bool coverage)
161
165
progressBar.ForeColor = Color.DarkRed;
162
166
163
167
164
- if (!coverage || gridResults.Rows.Count == 0)
168
+ if (!coverage)
169
- txtStatus.Text = "Finished";
170
171
172
+ txtStatus.Text = "Finished";
173
174
+ else
175
176
+ txtStatus.Text = "No tests found";
177
178
Running = false;
179
180
});
0 commit comments