Unit tests for communication/base package (#312)

* Added tests

* Added tests communications base

* Removed unnecessary field

* Review corrections: linter

* Review corrections: typo
This commit is contained in:
Shogin Michael
2019-05-30 05:35:22 +02:00
committed by Adrian Gallagher
parent e8bc3b5e76
commit 416fbbd5ae
2 changed files with 144 additions and 4 deletions

View File

@@ -54,6 +54,7 @@ func (c IComm) PushEvent(event Event) {
// GetEnabledCommunicationMediums prints out enabled and connected communication
// packages
// (#debug output only)
func (c IComm) GetEnabledCommunicationMediums() {
var count int
for i := range c {