Navigation


Changeset 1438:7c60cb0ac8c8 in freeDiameter


Ignore:
Timestamp:
Feb 21, 2020, 12:30:16 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
committer:
Luke Mewburn <luke@mewburn.net> 1582584400 -39600
Message:

testmesg: improve comments and msg cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testmesg.c

    r1425 r1438  
    165165                /* Create the instance, using the templates */
    166166                CHECK( 0, fd_msg_new ( acr_model, 0, &acr ) );
     167
     168/* TODO: Do we need this recreated? acr is not used again . */
    167169        }
    168170       
     
    701703                        struct avp_hdr     * avpdata = NULL;
    702704                       
    703                         /* Now find the ACR dictionary object */
     705                        /* Now find the Test f32 AVP dictionary object */
    704706                        CHECK( 0, fd_dict_search ( fd_g_config->cnf_dict, DICT_AVP, AVP_BY_NAME, "AVP Test - no vendor - f32", &avp_model, ENOENT ) );
    705707                       
     
    11161118                               
    11171119                                TODO("Check the Failed-AVP is as expected");
     1120
     1121                                CHECK( 0, fd_msg_free( msg ) );
    11181122                        }
    11191123                       
     
    15101514
    15111515                        /* Add a session id */
    1512                         CHECK( 0, fd_msg_new_session( msg, (os0_t)"tm2", strlen("tm2") ) );
     1516                        CHECK( 0, fd_msg_new_session( msg, (os0_t)"testmsg", strlen("testmsg") ) );
    15131517
    15141518                        /* Find the DICT_TYPE Enumerated(Result-Code) */
     
    15541558
    15551559                        /* Add a session id */
    1556                         CHECK( 0, fd_msg_new_session( msg, (os0_t)"tm2", strlen("tm2") ) );
     1560                        CHECK( 0, fd_msg_new_session( msg, (os0_t)"testmsg", strlen("testmsg") ) );
    15571561
    15581562                        /* Find the DICT_TYPE Enumerated(73565/Experimental-Result-Code) */
Note: See TracChangeset for help on using the changeset viewer.