diff options
author | k.kazak <k.kazak@samsung.com> | 2019-02-15 17:27:08 +0100 |
---|---|---|
committer | k.kazak <k.kazak@samsung.com> | 2019-02-15 17:27:08 +0100 |
commit | c9a28a8316cf3a19fcaa2f78cf92798a99139781 (patch) | |
tree | 8bcc15b809538cae7244a551e0cfa55c64906af6 /bpmn/so-bpmn-infrastructure-flows/src | |
parent | b7f55f47a964351e7dc46d05af7f53f7da1c9eba (diff) |
fix sonar critical bug
MsoHeatUtils: remove unnecessary heatClient check for null
1. sonar assumes that heatClient is nullable and NullPointer may be thrown in line 309
2. heatClient is never null: method creates a new object or throws Exception
MsoHeatUtilsTest: added tests for getHeatClient and createStack methods
BaseTest: made CloudIdentity and CloudSite getters protected for other tests to use them
StubOpenStack: added stubs for getStack and unsuccessful authorization
removed unused imports
Change-Id: Ie62c89f55d1894df48d9cc4d14760d36e96c4cb2
Issue-ID: SO-1516
Signed-off-by: k.kazak <k.kazak@samsung.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-flows/src')
0 files changed, 0 insertions, 0 deletions