Skip to content
Snippets Groups Projects
Commit 743fcdd4 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Merge remote-tracking branch 'origin/develop' into develop

parents 6105764b b36faa46
Branches
Tags
2 merge requests!109Integration test,!90Develop
...@@ -3,7 +3,6 @@ package nucleus ...@@ -3,7 +3,6 @@ package nucleus
import ( import (
pb "code.fbi.h-da.de/cocsn/gosdn/api/proto" pb "code.fbi.h-da.de/cocsn/gosdn/api/proto"
"context" "context"
"github.com/google/uuid"
"google.golang.org/protobuf/types/known/emptypb" "google.golang.org/protobuf/types/known/emptypb"
"reflect" "reflect"
"testing" "testing"
...@@ -57,7 +56,6 @@ func Test_server_AddDevice(t *testing.T) { ...@@ -57,7 +56,6 @@ func Test_server_AddDevice(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -96,7 +94,6 @@ func Test_server_BroadcastLog(t *testing.T) { ...@@ -96,7 +94,6 @@ func Test_server_BroadcastLog(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
log *pb.LogReply log *pb.LogReply
...@@ -124,7 +121,6 @@ func Test_server_CreateLogStream(t *testing.T) { ...@@ -124,7 +121,6 @@ func Test_server_CreateLogStream(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
req *emptypb.Empty req *emptypb.Empty
...@@ -157,7 +153,6 @@ func Test_server_CreatePND(t *testing.T) { ...@@ -157,7 +153,6 @@ func Test_server_CreatePND(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -196,7 +191,6 @@ func Test_server_GetAllPNDs(t *testing.T) { ...@@ -196,7 +191,6 @@ func Test_server_GetAllPNDs(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -235,7 +229,6 @@ func Test_server_GetAllSBINames(t *testing.T) { ...@@ -235,7 +229,6 @@ func Test_server_GetAllSBINames(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -274,7 +267,6 @@ func Test_server_HandleDeviceGetRequest(t *testing.T) { ...@@ -274,7 +267,6 @@ func Test_server_HandleDeviceGetRequest(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -313,7 +305,6 @@ func Test_server_SayHello(t *testing.T) { ...@@ -313,7 +305,6 @@ func Test_server_SayHello(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -352,7 +343,6 @@ func Test_server_Shutdown(t *testing.T) { ...@@ -352,7 +343,6 @@ func Test_server_Shutdown(t *testing.T) {
UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer UnimplementedGrpcCliServer pb.UnimplementedGrpcCliServer
core *Core core *Core
logConnections []*logConnection logConnections []*logConnection
devices map[uuid.UUID]Device
} }
type args struct { type args struct {
ctx context.Context ctx context.Context
...@@ -384,4 +374,4 @@ func Test_server_Shutdown(t *testing.T) { ...@@ -384,4 +374,4 @@ func Test_server_Shutdown(t *testing.T) {
} }
}) })
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment