X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Frmr_nng_test.c;h=08758ad04a2252d25d4d6b3497c9ec5cd60cacda;hb=refs%2Ftags%2F3.3.0;hp=fb12ec22f41a377ecf5d91b14221812066c48fef;hpb=6511ac74cdc367a94bffeb3743624775acd52c5b;p=ric-plt%2Flib%2Frmr.git diff --git a/test/rmr_nng_test.c b/test/rmr_nng_test.c index fb12ec2..08758ad 100644 --- a/test/rmr_nng_test.c +++ b/test/rmr_nng_test.c @@ -62,16 +62,18 @@ #include #include +#define NNG_UNDER_TEST 1 #define EMULATE_NNG #include "test_nng_em.c" // nng/nn emulation (before including things under test) #include "rmr.h" // things the users see #include "rmr_symtab.h" +#include "rmr_logging.h" #include "rmr_agnostic.h" // transport agnostic header -#include "rmr_nng_private.h" // transport specific #include "symtab.c" +#include "logging.c" #include "rmr_nng.c" #include "mbuf_api.c" @@ -79,6 +81,8 @@ static void gen_rt( uta_ctx_t* ctx ); // defined in sr_nng_static_test, but use // specific test tools in this directory #include "test_support.c" // things like fail_if() +#include "test_ctx_support.c" // specifically geared to creating dummy contex structs +#include "test_gen_rt.c" // and finally.... #include "tools_static_test.c" // local test functions pulled directly because of static nature of things #include "symtab_static_test.c"