2018-04-26 13:59:39 +03:00
/*
* Copyright ( C ) 2018 Red Hat , Inc . All rights reserved .
*
* This file is part of LVM2 .
*
* This copyrighted material is made available to anyone wishing to use ,
* modify , copy , or redistribute it subject to the terms and conditions
* of the GNU General Public License v .2 .
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software Foundation ,
* Inc . , 51 Franklin Street , Fifth Floor , Boston , MA 02110 - 1301 USA
*/
# ifndef TEST_UNIT_UNITS_H
# define TEST_UNIT_UNITS_H
# include "framework.h"
//-----------------------------------------------------------------
// Declare the function that adds tests suites here ...
void bcache_tests ( struct dm_list * suites ) ;
2018-05-03 22:13:13 +03:00
void bcache_utils_tests ( struct dm_list * suites ) ;
2018-04-26 13:59:39 +03:00
void bitset_tests ( struct dm_list * suites ) ;
void config_tests ( struct dm_list * suites ) ;
void dm_list_tests ( struct dm_list * suites ) ;
void dm_status_tests ( struct dm_list * suites ) ;
2018-04-27 16:24:05 +03:00
void io_engine_tests ( struct dm_list * suites ) ;
2018-04-26 13:59:39 +03:00
void percent_tests ( struct dm_list * suites ) ;
2018-05-11 08:10:01 +03:00
void radix_tree_tests ( struct dm_list * suites ) ;
void regex_tests ( struct dm_list * suites ) ;
2018-04-26 13:59:39 +03:00
void string_tests ( struct dm_list * suites ) ;
2018-05-10 15:01:26 +03:00
void vdo_tests ( struct dm_list * suites ) ;
2018-04-26 13:59:39 +03:00
// ... and call it in here.
static inline void register_all_tests ( struct dm_list * suites )
{
bcache_tests ( suites ) ;
2018-05-03 22:13:13 +03:00
bcache_utils_tests ( suites ) ;
2018-04-26 13:59:39 +03:00
bitset_tests ( suites ) ;
config_tests ( suites ) ;
dm_list_tests ( suites ) ;
dm_status_tests ( suites ) ;
2018-04-27 16:24:05 +03:00
io_engine_tests ( suites ) ;
2018-04-26 13:59:39 +03:00
percent_tests ( suites ) ;
2018-05-11 08:10:01 +03:00
radix_tree_tests ( suites ) ;
regex_tests ( suites ) ;
2018-04-26 13:59:39 +03:00
string_tests ( suites ) ;
2018-05-10 15:01:26 +03:00
vdo_tests ( suites ) ;
2018-04-26 13:59:39 +03:00
}
//-----------------------------------------------------------------
2018-05-11 08:10:01 +03:00
2018-04-26 13:59:39 +03:00
# endif