mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-03-28 14:56:28 +01:00
Bug 543353 - CDT TestModelManager setTestingTime requires null check
- add check for null in TestModelManager.setTestingTime() Change-Id: Ideac81dcc4a1584f6be4088bbe410436f1c010db
This commit is contained in:
parent
99938437f4
commit
fb5f9ca93b
2 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.testsrunner;singleton:=true
|
||||
Bundle-Version: 8.1.1.qualifier
|
||||
Bundle-Version: 8.1.2.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.testsrunner.internal.TestsRunnerPlugin
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -416,7 +416,9 @@ public class TestModelManager implements ITestModelUpdater, ITestModelAccessor {
|
|||
|
||||
@Override
|
||||
public void setTestingTime(int testingTime) {
|
||||
currentTestCase.setTestingTime(testingTime);
|
||||
if (currentTestCase != null) {
|
||||
currentTestCase.setTestingTime(testingTime);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue