recutils/torture/rec-field/tsuite-rec-field.c
2025-08-31 14:58:19 -04:00

76 lines
2.7 KiB
C

/* -*- mode: C -*-
*
* File: tsuite-rec-field.c
* Date: Sun Mar 1 17:06:28 2009
*
* GNU recutils - rec_field test suite
*
*/
/* Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2020, 2022
* Jose E. Marchesi */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#include <check.h>
extern TCase *test_rec_field_name (void);
extern TCase *test_rec_field_set_name (void);
extern TCase *test_rec_field_value (void);
extern TCase *test_rec_field_set_value (void);
extern TCase *test_rec_field_dup (void);
extern TCase *test_rec_field_new (void);
extern TCase *test_rec_field_destroy (void);
extern TCase *test_rec_field_equal_p (void);
extern TCase *test_rec_field_source (void);
extern TCase *test_rec_field_set_source (void);
extern TCase *test_rec_field_location (void);
extern TCase *test_rec_field_location_str (void);
extern TCase *test_rec_field_set_location (void);
extern TCase *test_rec_field_char_location (void);
extern TCase *test_rec_field_char_location_str (void);
extern TCase *test_rec_field_set_char_location (void);
extern TCase *test_rec_field_to_comment (void);
Suite *
tsuite_rec_field ()
{
Suite *s;
s = suite_create ("rec-field");
suite_add_tcase (s, test_rec_field_name ());
suite_add_tcase (s, test_rec_field_set_name ());
suite_add_tcase (s, test_rec_field_value ());
suite_add_tcase (s, test_rec_field_set_value ());
suite_add_tcase (s, test_rec_field_dup ());
suite_add_tcase (s, test_rec_field_new ());
suite_add_tcase (s, test_rec_field_destroy ());
suite_add_tcase (s, test_rec_field_equal_p ());
suite_add_tcase (s, test_rec_field_source ());
suite_add_tcase (s, test_rec_field_set_source ());
suite_add_tcase (s, test_rec_field_location ());
suite_add_tcase (s, test_rec_field_location_str ());
suite_add_tcase (s, test_rec_field_set_location ());
suite_add_tcase (s, test_rec_field_char_location ());
suite_add_tcase (s, test_rec_field_char_location_str ());
suite_add_tcase (s, test_rec_field_set_char_location ());
suite_add_tcase (s, test_rec_field_to_comment ());
return s;
}
/* End of tsuite-rec-field.c */