• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nasa / trick / 4357077355

pending completion
4357077355

push

github

GitHub
Fix SIM_job_class_order (#1470)

12387 of 21399 relevant lines covered (57.89%)

916206.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

35.0
/trick_source/sim_services/UnitTest/UnitTest_c_intf.cpp
1

2
#include <iostream>
3
#include <fstream>
4

5
#include "trick/UnitTest.hh"
6

7
extern Trick::UnitTest * the_unit_test_output ;
8

9
extern "C" int trick_test_enable(void) {
×
10
    the_unit_test_output->enable() ;
×
11
    return(0) ;
×
12
}
13

14
extern "C" int trick_test_set_file_name( const char * in_file_name ) {
×
15
    the_unit_test_output->set_file_name(in_file_name) ;
×
16
    return(0) ;
×
17
}
18

19
extern "C" int trick_test_set_test_name( const char * in_test_name ) {
×
20
    the_unit_test_output->set_test_name(in_test_name) ;
×
21
    return(0) ;
×
22
}
23

24
extern "C" int add_test_result( const char * in_test_suite_name , const char * in_test_case , const char * in_failure_string ) {
1,398✔
25
    if ( in_failure_string == NULL ) {
1,398✔
26
        in_failure_string = "" ;
×
27
    }
28
    the_unit_test_output->add_test_results(in_test_suite_name , in_test_case , in_failure_string ) ;
1,398✔
29
    return(0) ;
1,398✔
30
}
31

32
extern "C" int trick_test_add_parent(const char * in_test_suite_name, const char * in_test_case, const char * par_num ) {
32✔
33
        the_unit_test_output->add_test_requirements(in_test_suite_name, in_test_case, par_num);
32✔
34

35
        return(0);
32✔
36
}
37

38

39
extern "C" int call_write_output(void) {
×
40
    the_unit_test_output->write_output() ;
×
41
    return(0) ;
×
42
}
43

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc