automotive-dlt
dlt-test-user.c File Reference
#include <stdio.h>
#include <float.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "dlt.h"
Include dependency graph for dlt-test-user.c:

Go to the source code of this file.

Macros

#define DLT_TEST_NUM_CONTEXT   9
 

Functions

int test1m (void)
 
int test2m (void)
 
int test3m (void)
 
int test4m (void)
 
int test5m (void)
 
int test6m (void)
 
int test7m (void)
 
int test8m (void)
 
int test9m (void)
 
int test1f (void)
 
int test2f (void)
 
int test3f (void)
 
int test4f (void)
 
int test5f (void)
 
int test6f (void)
 
int test7f (void)
 
int test8f (void)
 
int test9f (void)
 
int test_injection_macro_callback (uint32_t service_id, void *data, uint32_t length)
 
int test_injection_function_callback (uint32_t service_id, void *data, uint32_t length)
 
 DLT_DECLARE_CONTEXT (context_info)
 
int main (int argc, char *argv[])
 

Variables

static const char * loglevelstr [DLT_LOG_MAX]
 

Detailed Description

Author
Alexander Wenzel alexa.nosp@m.nder.nosp@m..aw.w.nosp@m.enze.nosp@m.l@bmw.nosp@m..de

Definition in file dlt-test-user.c.

Macro Definition Documentation

#define DLT_TEST_NUM_CONTEXT   9

Definition at line 79 of file dlt-test-user.c.

Referenced by main().

Function Documentation

DLT_DECLARE_CONTEXT ( context_info  )

Print usage information of tool.

Definition at line 122 of file dlt-test-user.c.

References dlt_get_version().

int test1m ( void  )
int test4m ( void  )

Definition at line 463 of file dlt-test-user.c.

References buffer, DLT_LOG, DLT_LOG_INFO, DLT_RAW, and DLT_STRING.

Referenced by main().

int test6m ( void  )
int test_injection_function_callback ( uint32_t  service_id,
void *  data,
uint32_t  length 
)

Definition at line 1255 of file dlt-test-user.c.

References DLT_LOG, DLT_LOG_INFO, dlt_print_mixed_string(), DLT_STRING, and DLT_UINT32.

Referenced by main().

int test_injection_macro_callback ( uint32_t  service_id,
void *  data,
uint32_t  length 
)

Definition at line 1236 of file dlt-test-user.c.

References DLT_LOG, DLT_LOG_INFO, dlt_print_mixed_string(), DLT_STRING, and DLT_UINT32.

Referenced by main().

Variable Documentation

const char* loglevelstr[DLT_LOG_MAX]
static
Initial value:
=
{
"DLT_LOG_OFF",
"DLT_LOG_FATAL",
"DLT_LOG_ERROR",
"DLT_LOG_WARN",
"DLT_LOG_INFO",
"DLT_LOG_DEBUG",
"DLT_LOG_VERBOSE"
}

Definition at line 82 of file dlt-test-user.c.

Referenced by test5f(), and test5m().