Reduce cyclomatic complexity 44/104144/3
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 18 Mar 2020 15:32:45 +0000 (16:32 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 25 Mar 2020 13:08:24 +0000 (13:08 +0000)
commitd688c4c4e37526e276690b5b51d1044b7e220aff
treef25d3fd001ee32401a1430fa3ca8486bef937054
parent328bcfbce8d97a66b975ee45cd69b30cdb727aef
Reduce cyclomatic complexity

Moving CSV data conversion and "expected failure" filtering away from
main function made testing these features easier. Utility behaviour
remained unchanged.

Issue-ID: SECCOM-261
Change-Id: I4cabfc7b352434c84a613c02f44af3c9630be970
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/sslendpoints/main.go
test/security/sslendpoints/ports/ports.go
test/security/sslendpoints/ports/ports_test.go