WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+
+
+ This source code is part of the near-RT RIC (RAN Intelligent Controller)
+ platform project (RICP).
+
==================================================================================
*/
/*
"net"
"net/http"
"net/http/httptest"
- "routing-manager/pkg/rtmgr"
"testing"
)
var (
XMURL = "http://127.0.0.1:3000/ric/v1/xapps"
+ E2MURL = "http://127.0.0.1:8080/ric/v1/e2t/list"
)
func TestFetchXappListInvalidData(t *testing.T) {
func TestFetchXappListWithInvalidData(t *testing.T) {
var expected = 0
- rtmgr.SetLogLevel("debug")
b := []byte(`{"ID":"deadbeef1234567890", "Version":0, "EventType":"all"}`)
l, err := net.Listen("tcp", "127.0.0.1:3000")
if err != nil {