Changeset 2d88d25a for tests


Ignore:
Timestamp:
2008-02-16T19:38:17Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2ecfe39, add23a2
Parents:
a73e91a
Message:

Added help_free() test, and fixed compiler warning in SASL test.

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/check_help.c

    ra73e91a r2d88d25a  
    77#include "help.h"
    88
    9 START_TEST(test_help_none)
     9START_TEST(test_help_initfree)
    1010        help_t *h, *r;
    1111        r = help_init(&h, "/dev/null");
    1212        fail_if(r == NULL);
    1313        fail_if(r != h);
     14       
     15        help_free(&h);
     16        fail_if(h != NULL);
    1417END_TEST
    1518
     
    2528        TCase *tc_core = tcase_create("Core");
    2629        suite_add_tcase (s, tc_core);
    27         tcase_add_test (tc_core, test_help_none);
     30        tcase_add_test (tc_core, test_help_initfree);
    2831        tcase_add_test (tc_core, test_help_nonexistent);
    2932        return s;
  • tests/check_jabber_sasl.c

    ra73e91a r2d88d25a  
    1818struct
    1919{
    20         const char *challenge;
     20        char *challenge;
    2121        char *key;
    2222        char *value;
Note: See TracChangeset for help on using the changeset viewer.