Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
743fcdd4
Commit
743fcdd4
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
6105764b
b36faa46
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!109
Integration test
,
!90
Develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nucleus/cli-handling_test.go
+1
-11
1 addition, 11 deletions
nucleus/cli-handling_test.go
with
1 addition
and
11 deletions
nucleus/cli-handling_test.go
+
1
−
11
View file @
743fcdd4
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment