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

nasa / trick / 25459968639

06 May 2026 08:42PM UTC coverage: 55.916% (-0.8%) from 56.7%
25459968639

Pull #2011

github

web-flow
Merge f11412d5f into 7054e405e
Pull Request #2011: Single-file CI and code style adoption

14607 of 26123 relevant lines covered (55.92%)

466416.66 hits per line

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

17.78
/trick_source/sim_services/ExternalApplications/TrickView.cpp
1

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

5
#include "trick/TrickView.hh"
6
#include "trick/variable_server_proto.h"
7

8
Trick::TrickView::TrickView() {
188✔
9
    command += std::string("trick-tv");
188✔
10
    strip_charts_only_set = open_file_set = open_set_file_set = set_file_set = false;
188✔
11
}
188✔
12

13
void Trick::TrickView::set_arguments(std::string args) {
×
14
    ExternalApplication::set_arguments(args);
×
15
    strip_charts_only_set = open_file_set = open_set_file_set = set_file_set = false;
×
16
}
×
17

18
std::string Trick::TrickView::create_arguments_string() {
×
19
    std::ostringstream oss;
×
20
    oss << ExternalApplication::create_arguments_string();
×
21

22
    if (strip_charts_only_set && strip_charts_only) {
×
23
        oss << " --stripChartsOnly" ;
×
24
    }
25

26
    if (open_file_set) {
×
27
        oss << " --open " << open_file;
×
28
    }
29

30
    if (open_set_file_set) {
×
31
        oss << " --openSet " << open_set_file;
×
32
    }
33

34
    if (set_file_set) {
×
35
        oss << " --set " << set_file;
×
36
    }
37

38
    return oss.str();
×
39
}
×
40

41
void Trick::TrickView::set_strip_charts_only(bool in_strip_charts_only) {
×
42
    strip_charts_only = in_strip_charts_only;
×
43
    strip_charts_only_set = true;
×
44
}
×
45

46
bool Trick::TrickView::get_strip_charts_only() {
×
47
    return strip_charts_only;
×
48
}
49

50
void Trick::TrickView::set_auto_open_file(std::string file) {
1✔
51
    open_file = file;
1✔
52
    open_file_set = true;
1✔
53
}
1✔
54

55
std::string Trick::TrickView::get_auto_open_file() {
×
56
    return open_file;
×
57
}
58

59
void Trick::TrickView::set_auto_open_and_set_file(std::string file) {
×
60
    open_set_file = file;
×
61
    open_set_file_set = true;
×
62
}
×
63

64
std::string Trick::TrickView::get_auto_open_and_set_file() {
×
65
    return open_set_file;
×
66
}
67

68
void Trick::TrickView::set_auto_set_file(std::string file) {
×
69
    set_file = file;
×
70
    set_file_set = true;
×
71
}
×
72

73
std::string Trick::TrickView::get_auto_set_file() {
×
74
    return set_file;
×
75
}
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