libsml/test/test_main.c

42 lines
1.4 KiB
C
Raw Permalink Normal View History

2011-09-30 18:56:35 +02:00
// Copyright 2011 Juri Glass, Mathias Runge, Nadim El Sayed
2011-07-08 15:55:55 +02:00
// DAI-Labor, TU-Berlin
2011-09-30 18:56:35 +02:00
//
2011-07-08 15:55:55 +02:00
// This file is part of libSML.
2011-09-30 18:56:35 +02:00
//
2011-07-08 15:55:55 +02:00
// libSML 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.
2011-09-30 18:56:35 +02:00
//
2011-07-08 15:55:55 +02:00
// libSML 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.
2011-09-30 18:56:35 +02:00
//
2011-07-08 15:55:55 +02:00
// You should have received a copy of the GNU General Public License
// along with libSML. If not, see <http://www.gnu.org/licenses/>.
2011-09-30 18:56:35 +02:00
#include "unity/unity_fixture.h"
2011-06-28 17:45:14 +02:00
static void runAllTests() {
RUN_TEST_GROUP(sml_octet_string);
RUN_TEST_GROUP(sml_buffer);
RUN_TEST_GROUP(sml_number);
RUN_TEST_GROUP(sml_boolean);
2011-07-14 18:10:19 +02:00
RUN_TEST_GROUP(sml_value);
RUN_TEST_GROUP(sml_status);
2011-07-18 14:17:40 +02:00
RUN_TEST_GROUP(sml_list);
RUN_TEST_GROUP(sml_sequence);
2011-07-25 19:46:45 +02:00
RUN_TEST_GROUP(sml_time);
RUN_TEST_GROUP(sml_tree);
2011-08-19 12:15:06 +02:00
RUN_TEST_GROUP(sml_tree_path);
RUN_TEST_GROUP(sml_proc_par_value);
RUN_TEST_GROUP(sml_open_request);
2011-08-19 17:24:11 +02:00
RUN_TEST_GROUP(sml_get_profile_pack_request);
RUN_TEST_GROUP(sml_message);
RUN_TEST_GROUP(sml_file);
2011-06-28 17:45:14 +02:00
}
int main(int argc, char * argv[]) {
return UnityMain(argc, argv, runAllTests);
}