Changeset 974:2091bf698fb1 in freeDiameter for tests
- Timestamp:
- Mar 15, 2013, 2:14:35 AM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/testcnx.c
r859 r974 714 714 #if 0 715 715 /* For debug: dump the object */ 716 fd_log_debug("Dumping CER \n");716 fd_log_debug("Dumping CER"); 717 717 fd_msg_dump_walk(0, cer); 718 718 #endif -
tests/testmesg.c
r931 r974 61 61 #if 0 62 62 /* For debug: dump the object */ 63 fd_log_debug("Dumping Accounting-Request empty message \n");63 fd_log_debug("Dumping Accounting-Request empty message"); 64 64 fd_msg_dump_walk( 0, acr ); 65 65 #endif … … 78 78 #if 0 79 79 /* For debug: dump the object */ 80 fd_log_debug("Dumping Proxy-Info AVP \n");80 fd_log_debug("Dumping Proxy-Info AVP"); 81 81 fd_msg_dump_walk(0, pi); 82 fd_log_debug("Dumping dictionary model \n");82 fd_log_debug("Dumping dictionary model"); 83 83 fd_dict_dump_object(pi_model); 84 84 #endif … … 106 106 #if 0 107 107 /* For debug: dump the object */ 108 fd_log_debug("Dumping Accounting-Request with Proxy-Info AVP at the end \n");108 fd_log_debug("Dumping Accounting-Request with Proxy-Info AVP at the end"); 109 109 fd_msg_dump_walk(0, acr); 110 110 #endif … … 364 364 CHECK( 0, fd_msg_update_length ( avpi ) ); 365 365 #if 0 366 fd_log_debug("AVP no vendor, value 3.1415: \n");366 fd_log_debug("AVP no vendor, value 3.1415:"); 367 367 fd_msg_dump_one(0, avpi); 368 368 #endif … … 381 381 CHECK( 0, fd_msg_update_length ( avpi ) ); 382 382 #if 0 383 fd_log_debug("AVP vendor, value 0x123456789abcdeL: \n");383 fd_log_debug("AVP vendor, value 0x123456789abcdeL:"); 384 384 fd_msg_dump_one(0, avpi); 385 385 #endif … … 407 407 CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) ); 408 408 #if 0 409 fd_log_debug("AVP enum i32, value 2 (from const): \n");409 fd_log_debug("AVP enum i32, value 2 (from const):"); 410 410 fd_msg_dump_one(0, avpi); 411 411 #endif … … 428 428 CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) ); 429 429 #if 0 430 fd_log_debug("AVP enum i32, value -5 (from const): \n");430 fd_log_debug("AVP enum i32, value -5 (from const):"); 431 431 fd_msg_dump_one(0, avpi); 432 432 #endif … … 443 443 CHECK( 0, fd_msg_update_length ( avpi ) ); 444 444 #if 0 445 fd_log_debug("AVP vendor enum i32, value -10 (not const): \n");445 fd_log_debug("AVP vendor enum i32, value -10 (not const):"); 446 446 fd_msg_dump_one(0, avpi); 447 447 #endif … … 458 458 CHECK( 0, fd_msg_update_length ( avpi ) ); 459 459 #if 0 460 fd_log_debug("AVP octet string, 'This\\0 is a b...' \n");460 fd_log_debug("AVP octet string, 'This\\0 is a b...'"); 461 461 fd_msg_dump_one(0, avpi); 462 462 #endif … … 487 487 CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) ); 488 488 #if 0 489 fd_log_debug("AVP Enumuerated OctetString (from const): \n");489 fd_log_debug("AVP Enumuerated OctetString (from const):"); 490 490 fd_msg_dump_one(0, avpi); 491 491 #endif … … 512 512 CHECK( 0, fd_msg_avp_setvalue ( avpi, &request.search.enum_value ) ); 513 513 #if 0 514 fd_log_debug("AVP Enumuerated OctetString (from const): \n");514 fd_log_debug("AVP Enumuerated OctetString (from const):"); 515 515 fd_msg_dump_one(0, avpi); 516 516 #endif … … 534 534 CHECK( 0, fd_msg_avp_setvalue ( avpch, &value ) ); 535 535 #if 0 536 fd_log_debug("AVP octet string, '1234678' \n");536 fd_log_debug("AVP octet string, '1234678'"); 537 537 fd_msg_dump_one(0, avpch); 538 538 #endif … … 547 547 CHECK( 0, fd_msg_avp_setvalue ( avpch, &value ) ); 548 548 #if 0 549 fd_log_debug("AVP octet string, '12346789' \n");549 fd_log_debug("AVP octet string, '12346789'"); 550 550 fd_msg_dump_one(0, avpch); 551 551 #endif
Note: See TracChangeset
for help on using the changeset viewer.