X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Fpkg%2Fe2ap%2Fe2ap_tests%2Fmsg.go;h=7f23b96422bb232874b53ad3670807caaf82d13f;hb=a9bf76cb8dec6e52e7699edf1631c214647f8beb;hp=7502cf1200f5edf66f53eeb1f770ff99e6e8f3f7;hpb=7e9c5e52615fef7cbc23de28505e1a7292cdf14f;p=ric-plt%2Fsubmgr.git diff --git a/e2ap/pkg/e2ap/e2ap_tests/msg.go b/e2ap/pkg/e2ap/e2ap_tests/msg.go index 7502cf1..7f23b96 100644 --- a/e2ap/pkg/e2ap/e2ap_tests/msg.go +++ b/e2ap/pkg/e2ap/e2ap_tests/msg.go @@ -23,7 +23,6 @@ import ( "encoding/hex" "fmt" "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" - "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/packer" "github.com/google/go-cmp/cmp" "log" "os" @@ -78,13 +77,13 @@ type E2ApTests struct { packerif e2ap.E2APPackerIf } -func (testCtxt *E2ApTests) toPackedData(t *testing.T, buffer string) *packer.PackedData { +func (testCtxt *E2ApTests) toPackedData(t *testing.T, buffer string) *e2ap.PackedData { msg, err := hex.DecodeString(buffer) if err != nil { testCtxt.testError(t, "Hex DecodeString Failed: %s [%s]", err.Error(), buffer) return nil } - packedData := &packer.PackedData{} + packedData := &e2ap.PackedData{} packedData.Buf = msg return packedData } @@ -113,8 +112,6 @@ func RunTests(t *testing.T, e2aptestctxt *E2ApTests) { t.Run(e2aptestctxt.Name(), func(t *testing.T) { e2aptestctxt.E2ApTestMsgSubscriptionDeleteFailure(t) }) - t.Run(e2aptestctxt.Name(), func(t *testing.T) { e2aptestctxt.E2ApTestMsgIndication(t) }) - t.Run(e2aptestctxt.Name(), func(t *testing.T) { e2aptestctxt.E2ApTestMsgSubscriptionRequestBuffers(t) }) t.Run(e2aptestctxt.Name(), func(t *testing.T) { e2aptestctxt.E2ApTestMsgSubscriptionResponseBuffers(t) }) t.Run(e2aptestctxt.Name(), func(t *testing.T) { e2aptestctxt.E2ApTestMsgSubscriptionFailureBuffers(t) })