File: test_wbxml_conv.c

package info (click to toggle)
wbxml2 0.11.8%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,672 kB
  • sloc: ansic: 12,690; xml: 6,399; perl: 294; sh: 159; makefile: 7; cpp: 7
file content (18 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "api_test.h"

#include "../../src/wbxml_conv.h"

START_TEST (security_test_conv_init_null_reference)
{
    /* use undefined converter address reference */
    ck_assert(wbxml_conv_wbxml2xml_create(NULL) == WBXML_ERROR_BAD_PARAMETER);
    ck_assert(wbxml_conv_xml2wbxml_create(NULL) == WBXML_ERROR_BAD_PARAMETER);
}
END_TEST

BEGIN_TESTS(wbxml_conv)

    ADD_TEST(security_test_conv_init_null_reference);

END_TESTS