summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Vacek <stefan.vacek@intel.com>2015-08-26 13:38:42 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2015-10-07 10:34:54 +0200
commitc7d765971913568a7d701bfb8a8444bc882ccbf1 (patch)
tree2b7f1fa23db376f0d20b513d62d6a1526dbe045a
parent9f484fa8297713aa4558f1d17da90267e537487c (diff)
downloadDLT-daemon-c7d765971913568a7d701bfb8a8444bc882ccbf1.tar.gz
Cleanup master
- remove compiler warnings - fix file permissions Signed-off-by: Stefan Vacek <stefan.vacek@intel.com>
-rw-r--r--[-rwxr-xr-x]AUTHORS0
-rw-r--r--[-rwxr-xr-x]COPYING0
-rw-r--r--[-rwxr-xr-x]LICENSE0
-rw-r--r--[-rwxr-xr-x]ReleaseNotes.txt0
-rw-r--r--[-rwxr-xr-x]automotive-dlt.pc.in0
-rw-r--r--[-rwxr-xr-x]cmake/config.h.cmake0
-rw-r--r--[-rwxr-xr-x]cmake/dlt_version.h.cmake0
-rw-r--r--[-rwxr-xr-x]distfiles0
-rw-r--r--[-rwxr-xr-x]doc/doxygen.cfg.cmake0
-rw-r--r--[-rwxr-xr-x]doc/extended_network_trace_doxygen.cfg.cmake0
-rw-r--r--[-rwxr-xr-x]doc/images/dlt_architecture.pngbin24373 -> 24373 bytes
-rw-r--r--[-rwxr-xr-x]doc/images/dlt_message_flow.pngbin52581 -> 52581 bytes
-rw-r--r--[-rwxr-xr-x]doc/images/dlt_overview.pngbin15875 -> 15875 bytes
-rw-r--r--[-rwxr-xr-x]doc/images/eclipse-import-links.pngbin75389 -> 75389 bytes
-rw-r--r--[-rwxr-xr-x]doc/images/genivi_chrome_1_transparent.pngbin261894 -> 261894 bytes
-rw-r--r--[-rwxr-xr-x]examples/example1/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]examples/example2/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]examples/example3/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]examples/example4/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]include/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]include/dlt/dlt.h0
-rw-r--r--[-rwxr-xr-x]include/dlt/dlt_client.h0
-rw-r--r--[-rwxr-xr-x]include/dlt/dlt_common.h0
-rw-r--r--[-rwxr-xr-x]include/dlt/dlt_protocol.h0
-rw-r--r--[-rwxr-xr-x]include/dlt/dlt_types.h0
-rw-r--r--[-rwxr-xr-x]src/adaptor/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]src/adaptor/dlt-adaptor-stdin.c0
-rw-r--r--[-rwxr-xr-x]src/adaptor/dlt-adaptor-udp.c0
-rw-r--r--[-rwxr-xr-x]src/console/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]src/console/dlt-control.c0
-rw-r--r--[-rwxr-xr-x]src/console/dlt-convert.c0
-rw-r--r--src/console/dlt-logstorage-ctrl.c2
-rw-r--r--[-rwxr-xr-x]src/console/dlt-receive.c0
-rw-r--r--[-rwxr-xr-x]src/console/filter.txt0
-rw-r--r--[-rwxr-xr-x]src/daemon/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]src/daemon/dlt-daemon.h0
-rw-r--r--[-rwxr-xr-x]src/daemon/dlt-daemon_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/daemon/dlt_daemon_common_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/examples/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]src/examples/dlt-example-non-verbose-1.xml0
-rw-r--r--[-rwxr-xr-x]src/examples/dlt-example-non-verbose.xml0
-rw-r--r--[-rwxr-xr-x]src/examples/dlt-example-user-func.c0
-rw-r--r--[-rwxr-xr-x]src/examples/dlt-example-user.c0
-rw-r--r--[-rwxr-xr-x]src/lib/dlt_client.c0
-rw-r--r--[-rwxr-xr-x]src/lib/dlt_client_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/lib/dlt_user_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/shared/dlt_common.c0
-rw-r--r--[-rwxr-xr-x]src/shared/dlt_common_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/shared/dlt_user_shared.c0
-rw-r--r--[-rwxr-xr-x]src/shared/dlt_user_shared.h0
-rw-r--r--[-rwxr-xr-x]src/shared/dlt_user_shared_cfg.h0
-rw-r--r--[-rwxr-xr-x]src/tests/dlt-test-client.c0
-rw-r--r--[-rwxr-xr-x]src/tests/dlt-test-filetransfer-image.pngbin18897 -> 18897 bytes
-rw-r--r--[-rwxr-xr-x]src/tests/dlt-test-multi-process.c0
-rw-r--r--[-rwxr-xr-x]src/tests/dlt-test-stress.c0
-rw-r--r--[-rwxr-xr-x]src/tests/dlt-test-user.c0
-rw-r--r--[-rwxr-xr-x]systemd/dlt-dbus.service.cmake0
-rw-r--r--[-rwxr-xr-x]systemd/dlt-system.service.cmake0
-rw-r--r--[-rwxr-xr-x]systemd/dlt.service.cmake0
-rw-r--r--tests/gtest_dlt_common.cpp24
-rw-r--r--tests/gtest_dlt_daemon_common.cpp40
-rw-r--r--tests/gtest_dlt_user.cpp4
-rw-r--r--[-rwxr-xr-x]tests/testfile.dltbin4474 -> 4474 bytes
-rw-r--r--[-rwxr-xr-x]testscripts/CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]testscripts/Meego/dlt-daemon.cmake0
-rw-r--r--[-rwxr-xr-x]testscripts/Ubuntu/dlt-daemon.cmake0
66 files changed, 35 insertions, 35 deletions
diff --git a/AUTHORS b/AUTHORS
index cf74d8f..cf74d8f 100755..100644
--- a/AUTHORS
+++ b/AUTHORS
diff --git a/COPYING b/COPYING
index a5dec14..a5dec14 100755..100644
--- a/COPYING
+++ b/COPYING
diff --git a/LICENSE b/LICENSE
index 2f8ed18..2f8ed18 100755..100644
--- a/LICENSE
+++ b/LICENSE
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index ee94c35..ee94c35 100755..100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
diff --git a/automotive-dlt.pc.in b/automotive-dlt.pc.in
index 7646f89..7646f89 100755..100644
--- a/automotive-dlt.pc.in
+++ b/automotive-dlt.pc.in
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 3ac03c4..3ac03c4 100755..100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
diff --git a/cmake/dlt_version.h.cmake b/cmake/dlt_version.h.cmake
index 2ba460a..2ba460a 100755..100644
--- a/cmake/dlt_version.h.cmake
+++ b/cmake/dlt_version.h.cmake
diff --git a/distfiles b/distfiles
index 5c6285d..5c6285d 100755..100644
--- a/distfiles
+++ b/distfiles
diff --git a/doc/doxygen.cfg.cmake b/doc/doxygen.cfg.cmake
index 5c17864..5c17864 100755..100644
--- a/doc/doxygen.cfg.cmake
+++ b/doc/doxygen.cfg.cmake
diff --git a/doc/extended_network_trace_doxygen.cfg.cmake b/doc/extended_network_trace_doxygen.cfg.cmake
index adefc59..adefc59 100755..100644
--- a/doc/extended_network_trace_doxygen.cfg.cmake
+++ b/doc/extended_network_trace_doxygen.cfg.cmake
diff --git a/doc/images/dlt_architecture.png b/doc/images/dlt_architecture.png
index 2b00645..2b00645 100755..100644
--- a/doc/images/dlt_architecture.png
+++ b/doc/images/dlt_architecture.png
Binary files differ
diff --git a/doc/images/dlt_message_flow.png b/doc/images/dlt_message_flow.png
index 00ac81f..00ac81f 100755..100644
--- a/doc/images/dlt_message_flow.png
+++ b/doc/images/dlt_message_flow.png
Binary files differ
diff --git a/doc/images/dlt_overview.png b/doc/images/dlt_overview.png
index 46437af..46437af 100755..100644
--- a/doc/images/dlt_overview.png
+++ b/doc/images/dlt_overview.png
Binary files differ
diff --git a/doc/images/eclipse-import-links.png b/doc/images/eclipse-import-links.png
index efcfc1a..efcfc1a 100755..100644
--- a/doc/images/eclipse-import-links.png
+++ b/doc/images/eclipse-import-links.png
Binary files differ
diff --git a/doc/images/genivi_chrome_1_transparent.png b/doc/images/genivi_chrome_1_transparent.png
index 4594235..4594235 100755..100644
--- a/doc/images/genivi_chrome_1_transparent.png
+++ b/doc/images/genivi_chrome_1_transparent.png
Binary files differ
diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt
index d099cc4..d099cc4 100755..100644
--- a/examples/example1/CMakeLists.txt
+++ b/examples/example1/CMakeLists.txt
diff --git a/examples/example2/CMakeLists.txt b/examples/example2/CMakeLists.txt
index 0ce16ec..0ce16ec 100755..100644
--- a/examples/example2/CMakeLists.txt
+++ b/examples/example2/CMakeLists.txt
diff --git a/examples/example3/CMakeLists.txt b/examples/example3/CMakeLists.txt
index 5dfdae2..5dfdae2 100755..100644
--- a/examples/example3/CMakeLists.txt
+++ b/examples/example3/CMakeLists.txt
diff --git a/examples/example4/CMakeLists.txt b/examples/example4/CMakeLists.txt
index 5ad07be..5ad07be 100755..100644
--- a/examples/example4/CMakeLists.txt
+++ b/examples/example4/CMakeLists.txt
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 29066cd..29066cd 100755..100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
diff --git a/include/dlt/dlt.h b/include/dlt/dlt.h
index 54a2883..54a2883 100755..100644
--- a/include/dlt/dlt.h
+++ b/include/dlt/dlt.h
diff --git a/include/dlt/dlt_client.h b/include/dlt/dlt_client.h
index 6f62a67..6f62a67 100755..100644
--- a/include/dlt/dlt_client.h
+++ b/include/dlt/dlt_client.h
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index 10334ca..10334ca 100755..100644
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h
index 3c8488a..3c8488a 100755..100644
--- a/include/dlt/dlt_protocol.h
+++ b/include/dlt/dlt_protocol.h
diff --git a/include/dlt/dlt_types.h b/include/dlt/dlt_types.h
index 1e7c8e6..1e7c8e6 100755..100644
--- a/include/dlt/dlt_types.h
+++ b/include/dlt/dlt_types.h
diff --git a/src/adaptor/CMakeLists.txt b/src/adaptor/CMakeLists.txt
index 983df92..983df92 100755..100644
--- a/src/adaptor/CMakeLists.txt
+++ b/src/adaptor/CMakeLists.txt
diff --git a/src/adaptor/dlt-adaptor-stdin.c b/src/adaptor/dlt-adaptor-stdin.c
index 2ad0ca5..2ad0ca5 100755..100644
--- a/src/adaptor/dlt-adaptor-stdin.c
+++ b/src/adaptor/dlt-adaptor-stdin.c
diff --git a/src/adaptor/dlt-adaptor-udp.c b/src/adaptor/dlt-adaptor-udp.c
index dcb5820..dcb5820 100755..100644
--- a/src/adaptor/dlt-adaptor-udp.c
+++ b/src/adaptor/dlt-adaptor-udp.c
diff --git a/src/console/CMakeLists.txt b/src/console/CMakeLists.txt
index 86ccbc8..86ccbc8 100755..100644
--- a/src/console/CMakeLists.txt
+++ b/src/console/CMakeLists.txt
diff --git a/src/console/dlt-control.c b/src/console/dlt-control.c
index 92f841d..92f841d 100755..100644
--- a/src/console/dlt-control.c
+++ b/src/console/dlt-control.c
diff --git a/src/console/dlt-convert.c b/src/console/dlt-convert.c
index 55143f6..55143f6 100755..100644
--- a/src/console/dlt-convert.c
+++ b/src/console/dlt-convert.c
diff --git a/src/console/dlt-logstorage-ctrl.c b/src/console/dlt-logstorage-ctrl.c
index 95162d2..4e34c6f 100644
--- a/src/console/dlt-logstorage-ctrl.c
+++ b/src/console/dlt-logstorage-ctrl.c
@@ -250,7 +250,7 @@ int dlt_logstorage_message_callback(DltMessage *message, void *data)
char text[DLT_RECEIVE_TEXTBUFSIZE] = {0};
int ret = 0;
- (void *)data; /* ignore data */
+ (void)data; /* ignore data */
if (message == 0)
{
diff --git a/src/console/dlt-receive.c b/src/console/dlt-receive.c
index 41a0a8c..41a0a8c 100755..100644
--- a/src/console/dlt-receive.c
+++ b/src/console/dlt-receive.c
diff --git a/src/console/filter.txt b/src/console/filter.txt
index 0086b17..0086b17 100755..100644
--- a/src/console/filter.txt
+++ b/src/console/filter.txt
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
index a3c7439..a3c7439 100755..100644
--- a/src/daemon/CMakeLists.txt
+++ b/src/daemon/CMakeLists.txt
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h
index fee6767..fee6767 100755..100644
--- a/src/daemon/dlt-daemon.h
+++ b/src/daemon/dlt-daemon.h
diff --git a/src/daemon/dlt-daemon_cfg.h b/src/daemon/dlt-daemon_cfg.h
index 8870217..8870217 100755..100644
--- a/src/daemon/dlt-daemon_cfg.h
+++ b/src/daemon/dlt-daemon_cfg.h
diff --git a/src/daemon/dlt_daemon_common_cfg.h b/src/daemon/dlt_daemon_common_cfg.h
index e0f99da..e0f99da 100755..100644
--- a/src/daemon/dlt_daemon_common_cfg.h
+++ b/src/daemon/dlt_daemon_common_cfg.h
diff --git a/src/examples/CMakeLists.txt b/src/examples/CMakeLists.txt
index a3cdfef..a3cdfef 100755..100644
--- a/src/examples/CMakeLists.txt
+++ b/src/examples/CMakeLists.txt
diff --git a/src/examples/dlt-example-non-verbose-1.xml b/src/examples/dlt-example-non-verbose-1.xml
index e1c34e2..e1c34e2 100755..100644
--- a/src/examples/dlt-example-non-verbose-1.xml
+++ b/src/examples/dlt-example-non-verbose-1.xml
diff --git a/src/examples/dlt-example-non-verbose.xml b/src/examples/dlt-example-non-verbose.xml
index ddc8155..ddc8155 100755..100644
--- a/src/examples/dlt-example-non-verbose.xml
+++ b/src/examples/dlt-example-non-verbose.xml
diff --git a/src/examples/dlt-example-user-func.c b/src/examples/dlt-example-user-func.c
index 777f340..777f340 100755..100644
--- a/src/examples/dlt-example-user-func.c
+++ b/src/examples/dlt-example-user-func.c
diff --git a/src/examples/dlt-example-user.c b/src/examples/dlt-example-user.c
index e428047..e428047 100755..100644
--- a/src/examples/dlt-example-user.c
+++ b/src/examples/dlt-example-user.c
diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c
index 2c9f46a..2c9f46a 100755..100644
--- a/src/lib/dlt_client.c
+++ b/src/lib/dlt_client.c
diff --git a/src/lib/dlt_client_cfg.h b/src/lib/dlt_client_cfg.h
index c2592e6..c2592e6 100755..100644
--- a/src/lib/dlt_client_cfg.h
+++ b/src/lib/dlt_client_cfg.h
diff --git a/src/lib/dlt_user_cfg.h b/src/lib/dlt_user_cfg.h
index a8f9d8d..a8f9d8d 100755..100644
--- a/src/lib/dlt_user_cfg.h
+++ b/src/lib/dlt_user_cfg.h
diff --git a/src/shared/dlt_common.c b/src/shared/dlt_common.c
index 98852fd..98852fd 100755..100644
--- a/src/shared/dlt_common.c
+++ b/src/shared/dlt_common.c
diff --git a/src/shared/dlt_common_cfg.h b/src/shared/dlt_common_cfg.h
index 2278049..2278049 100755..100644
--- a/src/shared/dlt_common_cfg.h
+++ b/src/shared/dlt_common_cfg.h
diff --git a/src/shared/dlt_user_shared.c b/src/shared/dlt_user_shared.c
index 0113a3f..0113a3f 100755..100644
--- a/src/shared/dlt_user_shared.c
+++ b/src/shared/dlt_user_shared.c
diff --git a/src/shared/dlt_user_shared.h b/src/shared/dlt_user_shared.h
index a0d563b..a0d563b 100755..100644
--- a/src/shared/dlt_user_shared.h
+++ b/src/shared/dlt_user_shared.h
diff --git a/src/shared/dlt_user_shared_cfg.h b/src/shared/dlt_user_shared_cfg.h
index fc74c0c..fc74c0c 100755..100644
--- a/src/shared/dlt_user_shared_cfg.h
+++ b/src/shared/dlt_user_shared_cfg.h
diff --git a/src/tests/dlt-test-client.c b/src/tests/dlt-test-client.c
index 645b0e1..645b0e1 100755..100644
--- a/src/tests/dlt-test-client.c
+++ b/src/tests/dlt-test-client.c
diff --git a/src/tests/dlt-test-filetransfer-image.png b/src/tests/dlt-test-filetransfer-image.png
index dac59d3..dac59d3 100755..100644
--- a/src/tests/dlt-test-filetransfer-image.png
+++ b/src/tests/dlt-test-filetransfer-image.png
Binary files differ
diff --git a/src/tests/dlt-test-multi-process.c b/src/tests/dlt-test-multi-process.c
index 93fd069..93fd069 100755..100644
--- a/src/tests/dlt-test-multi-process.c
+++ b/src/tests/dlt-test-multi-process.c
diff --git a/src/tests/dlt-test-stress.c b/src/tests/dlt-test-stress.c
index 59e11f7..59e11f7 100755..100644
--- a/src/tests/dlt-test-stress.c
+++ b/src/tests/dlt-test-stress.c
diff --git a/src/tests/dlt-test-user.c b/src/tests/dlt-test-user.c
index 282832f..282832f 100755..100644
--- a/src/tests/dlt-test-user.c
+++ b/src/tests/dlt-test-user.c
diff --git a/systemd/dlt-dbus.service.cmake b/systemd/dlt-dbus.service.cmake
index c8030e0..c8030e0 100755..100644
--- a/systemd/dlt-dbus.service.cmake
+++ b/systemd/dlt-dbus.service.cmake
diff --git a/systemd/dlt-system.service.cmake b/systemd/dlt-system.service.cmake
index c5e4860..c5e4860 100755..100644
--- a/systemd/dlt-system.service.cmake
+++ b/systemd/dlt-system.service.cmake
diff --git a/systemd/dlt.service.cmake b/systemd/dlt.service.cmake
index fba7ec5..fba7ec5 100755..100644
--- a/systemd/dlt.service.cmake
+++ b/systemd/dlt.service.cmake
diff --git a/tests/gtest_dlt_common.cpp b/tests/gtest_dlt_common.cpp
index b4de20b..095f444 100644
--- a/tests/gtest_dlt_common.cpp
+++ b/tests/gtest_dlt_common.cpp
@@ -54,7 +54,7 @@ void dlt_buffer_info(DltBuffer *);
}
-/* Beginn Method: dlt_common::dlt_buffer_init_dynamic */
+/* Begin Method: dlt_common::dlt_buffer_init_dynamic */
TEST(t_dlt_buffer_init_dynamic, normal)
{
DltBuffer init_dynamic;
@@ -118,7 +118,7 @@ TEST(t_dlt_buffer_init_dynamic, nullpointer)
-/* Beginn Method: dlt_common::dlt_buffer_free_dynamic */
+/* Begin Method: dlt_common::dlt_buffer_free_dynamic */
TEST(t_dlt_buffer_free_dynamic, normal)
{
DltBuffer buf;
@@ -154,7 +154,7 @@ TEST(t_dlt_buffer_free_dynamic, nullpointer)
-/* Beginn Method: dlt_common::dlt_buffer_increase_size */
+/* Begin Method: dlt_common::dlt_buffer_increase_size */
TEST(t_dlt_buffer_increase_size, normal)
{
DltBuffer buf;
@@ -204,7 +204,7 @@ TEST(t_dlt_buffer_increase_size, nullpointer)
-/* Beginn Method: dlt_common::dlt_buffer_minimize_size */
+/* Begin Method: dlt_common::dlt_buffer_minimize_size */
TEST(t_dlt_buffer_minimize_size, normal)
{
DltBuffer buf;
@@ -254,7 +254,7 @@ TEST(t_dlt_buffer_minimize_size, nullpointer)
-/* Beginn Method: dlt_common::dlt_buffer_reset */
+/* Begin Method: dlt_common::dlt_buffer_reset */
TEST(t_dlt_buffer_reset, normal)
{
DltBuffer buf;
@@ -281,7 +281,7 @@ TEST(t_dlt_buffer_reset, nullpointer)
-/* Beginn Method: dlt_common::dlt_buffer_push*/
+/* Begin Method: dlt_common::dlt_buffer_push*/
TEST(t_dlt_buffer_push, normal)
{
DltBuffer buf;
@@ -295,7 +295,7 @@ TEST(t_dlt_buffer_push, normal)
// Push till buffer is full, expected 0
EXPECT_LE(0,dlt_buffer_init_dynamic(&buf, DLT_USER_RINGBUFFER_MIN_SIZE, DLT_USER_RINGBUFFER_MAX_SIZE, DLT_USER_RINGBUFFER_STEP_SIZE));
- for(int i=0; i<= (DLT_USER_RINGBUFFER_MIN_SIZE/size); i++)
+ for(unsigned int i=0; i<= (DLT_USER_RINGBUFFER_MIN_SIZE/size); i++)
{
EXPECT_LE(0, dlt_buffer_push(&buf,(unsigned char *)&test,size));
}
@@ -343,7 +343,7 @@ TEST(t_dlt_buffer_push, abnormal)
}
TEST(t_dlt_buffer_push, nullpointer)
{
- DltBuffer buf;
+// DltBuffer buf;
char * test;
int size = sizeof(test);
@@ -587,7 +587,7 @@ TEST(t_dlt_buffer_push3, abnormal)
}
TEST(t_dlt_buffer_push3, nullpointer)
{
- DltBuffer buf;
+// DltBuffer buf;
char * test;
int size = sizeof(test);
@@ -1097,7 +1097,7 @@ TEST(t_dlt_buffer_get_used_size, nullpointer)
TEST(t_dlt_buffer_write_block, normal)
{
DltBuffer buf;
- unsigned char * data;
+ unsigned char * data = NULL;
int write;
int size1 = 516;
int size2 = 1024;
@@ -1169,7 +1169,7 @@ TEST(t_dlt_buffer_write_block, nullpointer)
TEST(t_dlt_buffer_read_block, normal)
{
DltBuffer buf;
- unsigned char * data;
+ unsigned char * data = NULL;
int write, read;
int size1 = 516;
int size2 = 1024;
@@ -3002,7 +3002,7 @@ TEST(t_dlt_message_read, normal)
/*---------------------------------------*/
DltBuffer buf;
- char *buffer;
+ char *buffer = NULL;
EXPECT_LE(0, dlt_buffer_init_dynamic(&buf, DLT_USER_RINGBUFFER_MIN_SIZE, DLT_USER_RINGBUFFER_MAX_SIZE, DLT_USER_RINGBUFFER_STEP_SIZE));
EXPECT_LE(0, dlt_file_init(&file, 0));
diff --git a/tests/gtest_dlt_daemon_common.cpp b/tests/gtest_dlt_daemon_common.cpp
index 915a860..8049965 100644
--- a/tests/gtest_dlt_daemon_common.cpp
+++ b/tests/gtest_dlt_daemon_common.cpp
@@ -155,7 +155,7 @@ TEST(t_dlt_daemon_application_del, normal)
}
TEST(t_dlt_daemon_application_del, abnormal)
{
- DltDaemon daemon;
+// DltDaemon daemon;
// const char * apid = "TEST";
// pid_t pid = 0;
// const char * desc = "HELLO_TEST";
@@ -182,11 +182,11 @@ TEST(t_dlt_daemon_application_del, abnormal)
TEST(t_dlt_daemon_application_del, nullpointer)
{
DltDaemon daemon;
- DltDaemonApplication *app;
+ DltDaemonApplication app;
// NULL-Pointer
EXPECT_GE(-1, dlt_daemon_application_del(NULL,NULL, 0));
- EXPECT_GE(-1, dlt_daemon_application_del(NULL, app , 0));
+ EXPECT_GE(-1, dlt_daemon_application_del(NULL, &app , 0));
EXPECT_GE(-1, dlt_daemon_application_del(&daemon,NULL, 0));
}
/* End Method: dlt_daemon_common::dlt_daemon_application_del */
@@ -654,12 +654,12 @@ TEST(t_dlt_daemon_context_del, normal)
}
TEST(t_dlt_daemon_context_del, abnormal)
{
- DltDaemon daemon;
- ID4 apid = "TES";
- ID4 ctid = "CON";
- char desc[255] = "TEST dlt_daemon_context_add";
- DltDaemonContext *daecontext;
- DltDaemonApplication *app;
+// DltDaemon daemon;
+// ID4 apid = "TES";
+// ID4 ctid = "CON";
+// char desc[255] = "TEST dlt_daemon_context_add";
+// DltDaemonContext *daecontext;
+// DltDaemonApplication *app;
// Context uninitialized
// EXPECT_EQ(0, dlt_daemon_init(&daemon, DLT_DAEMON_RINGBUFFER_MIN_SIZE, DLT_DAEMON_RINGBUFFER_MAX_SIZE, DLT_DAEMON_RINGBUFFER_STEP_SIZE, DLT_RUNTIME_DEFAULT_DIRECTORY,0));
@@ -691,11 +691,11 @@ TEST(t_dlt_daemon_context_del, abnormal)
TEST(t_dlt_daemon_context_del, nullpointer)
{
DltDaemon daemon;
- DltDaemonContext *daecontext;
+ DltDaemonContext daecontext;
//NULL-Pointer
EXPECT_GE(-1, dlt_daemon_context_del(NULL, NULL, 0));
- EXPECT_GE(-1, dlt_daemon_context_del(NULL, daecontext, 0));
+ EXPECT_GE(-1, dlt_daemon_context_del(NULL, &daecontext, 0));
EXPECT_GE(-1, dlt_daemon_context_del(&daemon, NULL, 0));
}
/* End Method: dlt_daemon_common::dlt_daemon_context_del */
@@ -1155,11 +1155,11 @@ TEST(t_dlt_daemon_user_send_log_level, abnormal)
TEST(t_dlt_daemon_user_send_log_level, nullpointer)
{
DltDaemon daemon;
- DltDaemonContext *daecontext;
+ DltDaemonContext daecontext;
// NULL-Pointer
EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, NULL, 0));
- EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, daecontext, 0));
+ EXPECT_GE(-1, dlt_daemon_user_send_log_level(NULL, &daecontext, 0));
EXPECT_GE(-1, dlt_daemon_user_send_log_level(&daemon, NULL, 0));
}
/* End Method: dlt_daemon_common::dlt_daemon_user_send_log_level */
@@ -1171,11 +1171,11 @@ TEST(t_dlt_daemon_user_send_log_level, nullpointer)
TEST(t_dlt_daemon_user_send_log_state, normal)
{
DltDaemon daemon;
- ID4 apid = "TES";
- ID4 ctid = "CON";
- char desc[255] = "TEST dlt_daemon_context_add";
- DltDaemonContext *daecontext;
- DltDaemonApplication *app;
+// ID4 apid = "TES";
+// ID4 ctid = "CON";
+// char desc[255] = "TEST dlt_daemon_context_add";
+// DltDaemonContext *daecontext;
+// DltDaemonApplication *app;
pid_t pid = 18166;
char filename[DLT_DAEMON_COMMON_TEXTBUFSIZE+1];
snprintf(filename,DLT_DAEMON_COMMON_TEXTBUFSIZE,"%s/dlt%d",DLT_USER_DIR,pid);
@@ -1241,10 +1241,10 @@ TEST(t_dlt_daemon_user_send_log_state, abnormal)
TEST(t_dlt_daemon_user_send_log_state, nullpointer)
{
DltDaemon daemon;
- DltDaemonApplication *app;
+ DltDaemonApplication app;
EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, NULL, 0));
- EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, app, 0));
+ EXPECT_GE(0, dlt_daemon_user_send_log_state(NULL, &app, 0));
EXPECT_GE(0, dlt_daemon_user_send_log_state(&daemon, NULL, 0));
}
/* End Method: dlt_daemon_common::dlt_daemon_user_send_log_state */
diff --git a/tests/gtest_dlt_user.cpp b/tests/gtest_dlt_user.cpp
index a64541c..e58a648 100644
--- a/tests/gtest_dlt_user.cpp
+++ b/tests/gtest_dlt_user.cpp
@@ -141,7 +141,7 @@ int dlt_nonverbose_mode(void);
#endif
#ifndef UINT64_MAX
-#define UINT64_MAX 18446744073709551615
+#define UINT64_MAX 18446744073709551615UL
#endif
#ifndef INT8_MIN
@@ -157,7 +157,7 @@ int dlt_nonverbose_mode(void);
#endif
#ifndef INT64_MIN
-#define INT64_MIN -9223372036854775808
+#define INT64_MIN -9223372036854775807
#endif
#ifndef INT8_MAX
diff --git a/tests/testfile.dlt b/tests/testfile.dlt
index f77621c..f77621c 100755..100644
--- a/tests/testfile.dlt
+++ b/tests/testfile.dlt
Binary files differ
diff --git a/testscripts/CMakeLists.txt b/testscripts/CMakeLists.txt
index 126525d..126525d 100755..100644
--- a/testscripts/CMakeLists.txt
+++ b/testscripts/CMakeLists.txt
diff --git a/testscripts/Meego/dlt-daemon.cmake b/testscripts/Meego/dlt-daemon.cmake
index 08bbf1b..08bbf1b 100755..100644
--- a/testscripts/Meego/dlt-daemon.cmake
+++ b/testscripts/Meego/dlt-daemon.cmake
diff --git a/testscripts/Ubuntu/dlt-daemon.cmake b/testscripts/Ubuntu/dlt-daemon.cmake
index c8e06c1..c8e06c1 100755..100644
--- a/testscripts/Ubuntu/dlt-daemon.cmake
+++ b/testscripts/Ubuntu/dlt-daemon.cmake