Skip to content
Snippets Groups Projects
device_test.go 683 B
Newer Older
  • Learn to ignore specific revisions
  • Manuel Kieweg's avatar
    Manuel Kieweg committed
    package nucleus
    
    import (
    	"github.com/openconfig/ygot/ygot"
    	log "github.com/sirupsen/logrus"
    	"testing"
    )
    
    func TestDevice_Add(t *testing.T) {
    	type fields struct {
    		Device    ygot.GoStruct
    		SBI       SouthboundInterface
    		Config    DeviceConfig
    		Transport Transport
    	}
    	type args struct {
    		resp interface{}
    	}
    	tests := []struct {
    		name   string
    		fields fields
    		args   args
    	}{
    		// TODO: Add test cases.
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			d := Device{
    				Device:    tt.fields.Device,
    				SBI:       tt.fields.SBI,
    				Config:    tt.fields.Config,
    				Transport: tt.fields.Transport,
    			}
    			log.Debug(d.SBI.SbiIdentifier())
    		})
    	}