LCOV - code coverage report
Current view: top level - core/test/mm - msg_allocator_test.c Hit Total Coverage
Test: ROOT-Sim develop Documentation Coverage Lines: 1 2 50.0 %
Date: 2021-03-02 11:24:52

          Line data    Source code
       1           1 : /**
       2             :  * @file test/mm/msg_allocator_test.c
       3             :  *
       4             :  * @brief Test: message allocator
       5             :  *
       6             :  * A test of the message allocator
       7             :  * @todo This is still just a stub, implement the actual test!
       8             :  *
       9             :  * SPDX-FileCopyrightText: 2008-2021 HPDCS Group <rootsim@googlegroups.com>
      10             :  * SPDX-License-Identifier: GPL-3.0-only
      11             :  */
      12             : #include <test.h>
      13             : #include <mm/msg_allocator.h>
      14             : 
      15           0 : static int msg_allocator_test(void)
      16             : {
      17             :         msg_allocator_init();
      18             :         // TODO ACTUAL TEST
      19             :         msg_allocator_fini();
      20             :         return 0;
      21             : }
      22             : 
      23             : const struct test_config test_config = {
      24             :         .threads_count = 4,
      25             :         .test_fnc = msg_allocator_test
      26             : };

Generated by: LCOV version 1.14