#include <stdlib.h>
#include <fmilib.h>
#include <stdio.h>
#include "config_test.h"
Go to the source code of this file.
|
char * | concat (char *s1, char *s2) |
|
void | importlogger (jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message) |
|
void | destroy_parse_test_callbacks (jm_callbacks *cb) |
|
jm_callbacks * | create_parse_test_callbacks (void) |
|
fmi1_import_t * | test_parser (jm_callbacks *cb, char *xml_dir, int should_log_expected_msg, int configuration) |
|
void | test_parser_with_cleanup (char *xml_dir, int should_log_expected_msg, int configuration) |
|
void | fail_name_check (char *xml_dir) |
|
void | pass_name_check (char *xml_dir) |
|
void | parser_log_expected_message (char *xml_dir) |
|
void | parser_no_log_expected_message (char *xml_dir) |
|
void | test_parsing_and_fmu (char *xml_dir, fmu_test_f fmu_test, int should_log_expected_msg) |
|
void | test_parsing_fail_and_fmu (char *xml_dir, fmu_test_f fmu_test) |
|
void | test_parsing_pass_and_fmu (char *xml_dir, fmu_test_f fmu_test) |
|
void | test_variable_naming_conventions (void) |
|
int | should_have_no_vars (fmi1_import_t *fmu) |
|
int | should_have_1_no_alias_var (fmi1_import_t *fmu) |
|
int | should_have_size_2_alias_group (fmi1_import_t *fmu) |
|
int | should_have_size_2_no_alis (fmi1_import_t *fmu) |
|
int | should_have_size_3_alias_group (fmi1_import_t *fmu) |
|
void | test_alias_set_error_handling (void) |
|
void | test_deprecation_errors (void) |
|
int | main (int argc, char *argv[]) |
|
void test_parser_with_cleanup |
( |
char * |
xml_dir, |
|
|
int |
should_log_expected_msg, |
|
|
int |
configuration |
|
) |
| |
void fail_name_check |
( |
char * |
xml_dir | ) |
|
void pass_name_check |
( |
char * |
xml_dir | ) |
|
void parser_log_expected_message |
( |
char * |
xml_dir | ) |
|
void parser_no_log_expected_message |
( |
char * |
xml_dir | ) |
|
void test_parsing_and_fmu |
( |
char * |
xml_dir, |
|
|
fmu_test_f |
fmu_test, |
|
|
int |
should_log_expected_msg |
|
) |
| |
void test_parsing_fail_and_fmu |
( |
char * |
xml_dir, |
|
|
fmu_test_f |
fmu_test |
|
) |
| |
void test_parsing_pass_and_fmu |
( |
char * |
xml_dir, |
|
|
fmu_test_f |
fmu_test |
|
) |
| |
void test_variable_naming_conventions |
( |
void |
| ) |
|
void test_alias_set_error_handling |
( |
void |
| ) |
|
void test_deprecation_errors |
( |
void |
| ) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
const int NO_LOG_EXPECTED_MSG = 0 |
|
static |
const int DO_LOG_EXPECTED_MSG = 1 |
|
static |
char* expected_message = "Invalid structured ScalarVariable name" |
|
static |
char* name_check_test_directory |
|
static |