FMI Library: part of
Data Structures | Macros | Functions | Variables
fmi_import_cs_test.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "config_test.h"
#include <fmilib.h>

Go to the source code of this file.

Data Structures

struct  xml_test_files_t


#define BUFFER   1000


void importlogger (jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message)
void fmilogger (fmi1_component_t c, fmi1_string_t instanceName, fmi1_status_t status, fmi1_string_t category, fmi1_string_t message,...)
void do_exit (int code)
void test_xml_modelDescription_cs_tc (const char *xmlFileName, fmi1_import_t *fmu)
void test_xml (const char *xmlFileName, fmi1_import_t *fmu)
int test_simulate_cs (fmi1_import_t *fmu)
int main (int argc, char *argv[])


xml_test_files_t xml_test_files []

Macro Definition Documentation

#define BUFFER   1000

Definition at line 26 of file fmi_import_cs_test.c.

Function Documentation

void importlogger ( jm_callbacks c,
jm_string  module,
jm_log_level_enu_t  log_level,
jm_string  message 

Definition at line 28 of file fmi_import_cs_test.c.

void fmilogger ( fmi1_component_t  c,
fmi1_string_t  instanceName,
fmi1_status_t  status,
fmi1_string_t  category,
fmi1_string_t  message,

Definition at line 35 of file fmi_import_cs_test.c.

void do_exit ( int  code)

Definition at line 45 of file fmi_import_cs_test.c.

void test_xml_modelDescription_cs_tc ( const char xmlFileName,
fmi1_import_t fmu 

Definition at line 53 of file fmi_import_cs_test.c.

void test_xml ( const char xmlFileName,
fmi1_import_t fmu 

Definition at line 169 of file fmi_import_cs_test.c.

int test_simulate_cs ( fmi1_import_t fmu)

Definition at line 191 of file fmi_import_cs_test.c.

int main ( int  argc,
char argv[] 

Definition at line 292 of file fmi_import_cs_test.c.

Variable Documentation

xml_test_files_t xml_test_files[]
Initial value:
= {
{"modelDescription_cs_tc.xml", 1, test_xml_modelDescription_cs_tc},
{"modelDescription_cs.xml", 0, NULL}
void test_xml_modelDescription_cs_tc(const char *xmlFileName, fmi1_import_t *fmu)

Definition at line 164 of file fmi_import_cs_test.c.