"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"
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
}
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) })