cosmos 3.8.3 → 3.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -3
  3. data/Manifest.txt +14 -0
  4. data/Rakefile +35 -2
  5. data/autohotkey/config/targets/INST/screens/_footer.txt +4 -0
  6. data/autohotkey/config/targets/INST/screens/hs.txt +1 -4
  7. data/autohotkey/config/tools/table_manager/OldOneDimensionalTable_def.txt +19 -0
  8. data/autohotkey/config/tools/table_manager/OldTwoDimensionalTable_def.txt +248 -0
  9. data/autohotkey/config/tools/table_manager/OneDimensionalTable_def.txt +27 -15
  10. data/autohotkey/config/tools/table_manager/TwoDimensionalTable_def.txt +12 -232
  11. data/autohotkey/procedures/example_test.rb +4 -0
  12. data/autohotkey/tools/TableManagerAHK +4 -9
  13. data/autohotkey/tools/TableManagerAHK2 +18 -0
  14. data/autohotkey/tools/TableManagerAHK3 +18 -0
  15. data/autohotkey/tools/TableManagerAHK4 +24 -0
  16. data/autohotkey/tools/TlmViewerAHK +1 -1
  17. data/autohotkey/tools/autohotkey.rb +2 -1
  18. data/autohotkey/tools/open_gl_builder.ahk +1 -1
  19. data/autohotkey/tools/table_manager.ahk +141 -70
  20. data/cosmos.gemspec +3 -3
  21. data/data/crc.txt +70 -68
  22. data/data/legal.txt +4 -5
  23. data/demo/config/data/crc.txt +10 -9
  24. data/demo/config/targets/INST/screens/_footer.txt +4 -0
  25. data/demo/config/targets/INST/screens/hs.txt +1 -6
  26. data/demo/config/targets/INST/screens/limits.txt +3 -11
  27. data/demo/config/tools/cmd_tlm_server/cmd_tlm_server.txt +1 -0
  28. data/demo/config/tools/table_manager/MCConfigurationTable_fsw1_def.txt +33 -22
  29. data/demo/config/tools/table_manager/MCConfigurationTable_fsw2_def.txt +30 -22
  30. data/demo/config/tools/table_manager/PPSSelectionTable_def.txt +8 -7
  31. data/demo/config/tools/table_manager/TLMMonitoringTable_def.txt +13 -13
  32. data/demo/lib/example_background_task.rb +6 -12
  33. data/demo/procedures/example_test.rb +5 -0
  34. data/lib/cosmos/conversions/conversion.rb +3 -7
  35. data/lib/cosmos/core_ext/class.rb +3 -1
  36. data/lib/cosmos/core_ext/file.rb +1 -0
  37. data/lib/cosmos/core_ext/io.rb +18 -0
  38. data/lib/cosmos/core_ext/range.rb +1 -5
  39. data/lib/cosmos/core_ext/time.rb +3 -3
  40. data/lib/cosmos/gui/dialogs/about_dialog.rb +60 -36
  41. data/lib/cosmos/gui/dialogs/calendar_dialog.rb +10 -14
  42. data/lib/cosmos/gui/dialogs/cmd_details_dialog.rb +4 -5
  43. data/lib/cosmos/gui/dialogs/cmd_tlm_raw_dialog.rb +31 -17
  44. data/lib/cosmos/gui/dialogs/details_dialog.rb +63 -47
  45. data/lib/cosmos/gui/dialogs/exception_dialog.rb +77 -68
  46. data/lib/cosmos/gui/dialogs/exception_list_dialog.rb +6 -5
  47. data/lib/cosmos/gui/dialogs/legal_dialog.rb +34 -21
  48. data/lib/cosmos/gui/dialogs/packet_log_dialog.rb +19 -43
  49. data/lib/cosmos/gui/dialogs/progress_dialog.rb +79 -42
  50. data/lib/cosmos/gui/dialogs/pry_dialog.rb +9 -5
  51. data/lib/cosmos/gui/dialogs/scroll_text_dialog.rb +6 -4
  52. data/lib/cosmos/gui/dialogs/select_dialog.rb +23 -18
  53. data/lib/cosmos/gui/dialogs/set_tlm_dialog.rb +34 -10
  54. data/lib/cosmos/gui/dialogs/splash.rb +18 -8
  55. data/lib/cosmos/gui/dialogs/tlm_details_dialog.rb +38 -43
  56. data/lib/cosmos/gui/dialogs/tlm_edit_dialog.rb +51 -53
  57. data/lib/cosmos/gui/line_graph/line_graph_scaling.rb +1 -1
  58. data/lib/cosmos/gui/line_graph/lines.rb +1 -1
  59. data/lib/cosmos/gui/qt.rb +9 -2
  60. data/lib/cosmos/gui/qt_tool.rb +50 -8
  61. data/lib/cosmos/gui/widgets/packet_log_frame.rb +53 -27
  62. data/lib/cosmos/interfaces/linc_interface.rb +103 -62
  63. data/lib/cosmos/io/json_drb_object.rb +3 -3
  64. data/lib/cosmos/io/raw_logger.rb +4 -8
  65. data/lib/cosmos/io/tcpip_server.rb +2 -2
  66. data/lib/cosmos/packets/binary_accessor.rb +1 -1
  67. data/lib/cosmos/packets/limits.rb +2 -5
  68. data/lib/cosmos/packets/packet.rb +1 -1
  69. data/lib/cosmos/packets/packet_config.rb +54 -19
  70. data/lib/cosmos/packets/parsers/packet_item_parser.rb +7 -1
  71. data/lib/cosmos/script/scripting.rb +4 -5
  72. data/lib/cosmos/system/system.rb +2 -1
  73. data/lib/cosmos/system/target.rb +4 -0
  74. data/lib/cosmos/tools/cmd_tlm_server/background_task.rb +13 -5
  75. data/lib/cosmos/tools/cmd_tlm_server/background_tasks.rb +37 -27
  76. data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server.rb +6 -2
  77. data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_config.rb +7 -5
  78. data/lib/cosmos/tools/cmd_tlm_server/gui/status_tab.rb +21 -10
  79. data/lib/cosmos/tools/limits_monitor/limits_monitor.rb +11 -11
  80. data/lib/cosmos/tools/script_runner/script_runner.rb +2 -18
  81. data/lib/cosmos/tools/script_runner/script_runner_frame.rb +6 -6
  82. data/lib/cosmos/tools/table_manager/table.rb +32 -41
  83. data/lib/cosmos/tools/table_manager/table_config.rb +140 -729
  84. data/lib/cosmos/tools/table_manager/table_item.rb +20 -36
  85. data/lib/cosmos/tools/table_manager/table_item_parser.rb +46 -0
  86. data/lib/cosmos/tools/table_manager/table_manager.rb +754 -691
  87. data/lib/cosmos/tools/table_manager/table_manager_core.rb +172 -358
  88. data/lib/cosmos/tools/table_manager/table_parser.rb +75 -0
  89. data/lib/cosmos/tools/test_runner/results_writer.rb +1 -1
  90. data/lib/cosmos/tools/test_runner/test_runner.rb +11 -0
  91. data/lib/cosmos/tools/tlm_grapher/data_object_adders/housekeeping_data_object_adder.rb +2 -2
  92. data/lib/cosmos/tools/tlm_grapher/data_object_adders/singlexy_data_object_adder.rb +2 -2
  93. data/lib/cosmos/tools/tlm_grapher/data_object_adders/xy_data_object_adder.rb +2 -2
  94. data/lib/cosmos/tools/tlm_grapher/data_objects/data_object.rb +4 -4
  95. data/lib/cosmos/tools/tlm_grapher/data_objects/housekeeping_data_object.rb +13 -13
  96. data/lib/cosmos/tools/tlm_grapher/data_objects/linegraph_data_object.rb +9 -9
  97. data/lib/cosmos/tools/tlm_grapher/data_objects/xy_data_object.rb +9 -9
  98. data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_config.rb +4 -4
  99. data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_tool.rb +1 -1
  100. data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +8 -18
  101. data/lib/cosmos/tools/tlm_viewer/tlm_viewer_config.rb +7 -4
  102. data/lib/cosmos/top_level.rb +12 -0
  103. data/lib/cosmos/version.rb +5 -5
  104. data/run_gui_tests.bat +6 -0
  105. data/spec/core_ext/array_spec.rb +1 -1
  106. data/spec/interfaces/linc_interface_spec.rb +4 -4
  107. data/spec/io/json_drb_spec.rb +2 -2
  108. data/spec/io/json_rpc_spec.rb +1 -1
  109. data/spec/io/raw_logger_spec.rb +5 -1
  110. data/spec/packet_logs/packet_log_writer_spec.rb +1 -1
  111. data/spec/packets/packet_config_spec.rb +144 -0
  112. data/spec/packets/parsers/packet_item_parser_spec.rb +60 -0
  113. data/spec/spec_helper.rb +11 -0
  114. data/spec/system/target_spec.rb +5 -1
  115. data/spec/tools/cmd_tlm_server/background_task_spec.rb +15 -3
  116. data/spec/tools/cmd_tlm_server/background_tasks_spec.rb +117 -31
  117. data/spec/tools/cmd_tlm_server/cmd_tlm_server_spec.rb +4 -0
  118. data/spec/tools/launcher/launcher_config_spec.rb +1 -1
  119. data/spec/tools/table_manager/table_config_spec.rb +226 -0
  120. data/spec/tools/table_manager/table_item_spec.rb +57 -0
  121. data/spec/tools/table_manager/table_parser_spec.rb +96 -0
  122. data/spec/tools/table_manager/table_spec.rb +90 -0
  123. data/spec/tools/table_manager/tablemanager_core_spec.rb +557 -0
  124. data/spec/top_level/top_level_spec.rb +9 -0
  125. data/spec/utilities/csv_spec.rb +3 -3
  126. metadata +30 -11
@@ -1,248 +1,28 @@
1
- TABLE "Two Dimensional" "Two Dimensional" TWO_DIMENSIONAL BIG_ENDIAN 4
2
- PARAMETER "Threshold" "Telemetry item threshold at which point persistance is incremented" UINT 32 HEX 0 4294967295 0
3
- PARAMETER "Offset" "Offset into the telemetry packet to monitor" UINT 32 DEC 0 4294967295 0
4
- PARAMETER "Data Size" "Amount of data to monitor (bytes)" UINT 32 STATE 0 3 0
1
+ TABLE "Two Dimensional" BIG_ENDIAN TWO_DIMENSIONAL 200 "Two Dimensional"
2
+ APPEND_PARAMETER "Threshold" 32 UINT 0 4294967295 1 "Telemetry item threshold at which point persistance is incremented"
3
+ FORMAT_STRING "0x%0X"
4
+ APPEND_PARAMETER "Offset" 32 UINT 0 4294967295 0 "Offset into the telemetry packet to monitor"
5
+ APPEND_PARAMETER "Data Size" 32 UINT 0 3 0 "Amount of data to monitor (bytes)"
5
6
  STATE BITS 0
6
7
  STATE BYTE 1
7
8
  STATE WORD 2
8
9
  STATE LONGWORD 3
9
- PARAMETER "Bit Mask" "Bit Mask to apply to the Data Size before the value is compared ot the Threshold" UINT 32 HEX 0 4294967295 0
10
- PARAMETER "Persistence" "Number of times the Threshold must be exceeded before Action is triggered" UINT 32 DEC 0 4294967295 0
11
- PARAMETER "Type" "How the Threshold is compared against" UINT 32 STATE 0 3 0
10
+ APPEND_PARAMETER "Bit Mask" 32 UINT 0 4294967295 0 "Bit Mask to apply to the Data Size before the value is compared ot the Threshold"
11
+ FORMAT_STRING "0x%0X"
12
+ APPEND_PARAMETER "Persistence" 32 UINT 0 4294967295 0 "Number of times the Threshold must be exceeded before Action is triggered"
13
+ APPEND_PARAMETER "Type" 32 UINT 0 3 0 "How the Threshold is compared against"
12
14
  STATE LESS_THAN 0
13
15
  STATE GREATER_THAN 1
14
16
  STATE EQUAL_TO 2
15
17
  STATE NOT_EQUAL_TO 3
16
- PARAMETER "Action" "Action to take when Persistance is met" UINT 32 STATE 0 4 0
18
+ APPEND_PARAMETER "Action" 32 UINT 0 4 0 "Action to take when Persistance is met"
17
19
  STATE NO_ACTION_REQUIRED 0
18
20
  STATE INITIATE_RESET 1
19
21
  STATE CHANGE_MODE_SAFE 2
20
- PARAMETER "Group" "Telemetry group this monitor item belongs to. Groups are automatically enabled due to payload events." UINT 32 STATE 1 4 1
22
+ APPEND_PARAMETER "Group" 32 UINT 1 4 1 "Telemetry group this monitor item belongs to. Groups are automatically enabled due to payload events."
21
23
  STATE ALL_MODES 1
22
24
  STATE SAFE_MODE 2
23
- PARAMETER "Signed" "Whether to treat the Data Size data as signed or unsigned when comparing to the Threshold" UINT 8 STATE 0 2 0
25
+ APPEND_PARAMETER "Signed" 8 UINT 0 2 0 "Whether to treat the Data Size data as signed or unsigned when comparing to the Threshold"
24
26
  STATE NOT_APPLICABLE 0
25
27
  STATE UNSIGNED 1
26
28
  STATE SIGNED 2
27
-
28
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
29
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
30
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
31
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
32
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
33
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
34
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
35
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
36
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
37
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
38
-
39
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
40
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
41
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
42
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
43
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
44
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
45
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
46
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
47
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
48
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
49
-
50
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
51
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
52
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
53
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
54
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
55
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
56
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
57
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
58
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
59
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
60
-
61
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
62
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
63
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
64
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
65
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
66
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
67
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
68
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
69
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
70
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
71
-
72
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
73
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
74
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
75
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
76
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
77
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
78
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
79
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
80
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
81
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
82
-
83
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
84
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
85
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
86
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
87
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
88
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
89
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
90
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
91
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
92
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
93
-
94
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
95
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
96
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
97
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
98
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
99
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
100
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
101
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
102
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
103
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
104
-
105
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
106
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
107
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
108
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
109
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
110
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
111
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
112
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
113
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
114
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
115
-
116
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
117
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
118
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
119
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
120
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
121
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
122
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
123
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
124
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
125
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
126
-
127
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
128
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
129
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
130
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
131
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
132
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
133
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
134
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
135
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
136
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
137
-
138
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
139
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
140
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
141
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
142
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
143
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
144
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
145
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
146
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
147
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
148
-
149
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
150
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
151
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
152
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
153
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
154
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
155
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
156
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
157
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
158
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
159
-
160
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
161
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
162
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
163
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
164
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
165
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
166
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
167
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
168
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
169
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
170
-
171
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
172
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
173
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
174
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
175
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
176
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
177
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
178
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
179
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
180
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
181
-
182
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
183
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
184
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
185
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
186
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
187
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
188
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
189
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
190
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
191
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
192
-
193
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
194
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
195
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
196
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
197
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
198
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
199
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
200
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
201
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
202
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
203
-
204
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
205
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
206
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
207
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
208
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
209
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
210
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
211
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
212
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
213
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
214
-
215
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
216
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
217
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
218
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
219
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
220
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
221
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
222
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
223
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
224
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
225
-
226
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
227
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
228
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
229
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
230
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
231
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
232
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
233
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
234
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
235
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
236
-
237
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
238
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
239
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
240
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
241
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
242
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
243
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
244
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
245
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
246
- DEFAULT 0x0 0 BITS 0x0 0 LESS_THAN NO_ACTION_REQUIRED ALL_MODES UNSIGNED
247
-
248
-
@@ -6,10 +6,12 @@ require 'cosmos/tools/test_runner/test'
6
6
  # with 'test_' to be picked up by TestRunner.
7
7
  class ExampleTest < Cosmos::Test
8
8
  def setup
9
+ status_bar("setup")
9
10
  puts "Running ExampleTest setup"
10
11
  end
11
12
 
12
13
  def test_case_with_long_name_1
14
+ status_bar("Running test_1")
13
15
  puts "Running test_1"
14
16
  Cosmos::Test.puts "This test verifies requirement 1"
15
17
  check_expression("false == true")
@@ -17,6 +19,7 @@ class ExampleTest < Cosmos::Test
17
19
  end
18
20
 
19
21
  def test_2
22
+ status_bar("Running test_2")
20
23
  puts "Running test_2"
21
24
  Cosmos::Test.puts "This test verifies requirement 2"
22
25
  if $manual
@@ -32,6 +35,7 @@ class ExampleTest < Cosmos::Test
32
35
 
33
36
  # Teardown the test case by doing other stuff
34
37
  def teardown
38
+ status_bar("teardown")
35
39
  puts "Running ExampleTest teardown"
36
40
  end
37
41
 
@@ -9,10 +9,9 @@
9
9
  # as published by the Free Software Foundation; version 3 with
10
10
  # attribution addendums as found in the LICENSE.txt
11
11
 
12
- require 'fileutils'
13
- # Make a back up of the table config since we are going to update it
14
- FileUtils.cp("autohotkey/config/tools/table_manager/OneDimensionalTable_def.txt",
15
- "autohotkey/config/tools/table_manager/OneDimensionalTable_def.bak")
12
+ # Clean up table output
13
+ Dir["autohotkey/outputs/tables/*.dat"].each {|file| File.delete file }
14
+ Dir["autohotkey/outputs/tables/*.csv"].each {|file| File.delete file }
16
15
 
17
16
  require_relative 'autohotkey.rb'
18
17
  autohotkey('TableManager', 'table_manager.ahk') do
@@ -22,9 +21,5 @@ end
22
21
 
23
22
  # Clean up table output
24
23
  Dir["autohotkey/outputs/tables/*.dat"].each {|file| File.delete file }
25
- Dir["autohotkey/outputs/tables/*.rpt"].each {|file| File.delete file }
26
- # Restore the table config
27
- File.delete("autohotkey/config/tools/table_manager/OneDimensionalTable_def.txt")
28
- FileUtils.mv("autohotkey/config/tools/table_manager/OneDimensionalTable_def.bak",
29
- "autohotkey/config/tools/table_manager/OneDimensionalTable_def.txt")
24
+ Dir["autohotkey/outputs/tables/*.csv"].each {|file| File.delete file }
30
25
 
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: ascii-8bit
3
+
4
+ # Copyright 2014 Ball Aerospace & Technologies Corp.
5
+ # All Rights Reserved.
6
+ #
7
+ # This program is free software; you can modify and/or redistribute it
8
+ # under the terms of the GNU General Public License
9
+ # as published by the Free Software Foundation; version 3 with
10
+ # attribution addendums as found in the LICENSE.txt
11
+
12
+ require_relative 'autohotkey.rb'
13
+ autohotkey('TableManager2') do
14
+ require 'cosmos/tools/table_manager/table_manager'
15
+ Cosmos::TableManager.run
16
+ end
17
+
18
+ Dir["autohotkey/config/tools/table_manager/converted*.txt"].each {|file| File.delete file }
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: ascii-8bit
3
+
4
+ # Copyright 2014 Ball Aerospace & Technologies Corp.
5
+ # All Rights Reserved.
6
+ #
7
+ # This program is free software; you can modify and/or redistribute it
8
+ # under the terms of the GNU General Public License
9
+ # as published by the Free Software Foundation; version 3 with
10
+ # attribution addendums as found in the LICENSE.txt
11
+
12
+ require_relative 'autohotkey.rb'
13
+ autohotkey('TableManager3') do
14
+ require 'cosmos/tools/table_manager/table_manager'
15
+ Cosmos::TableManager.run
16
+ end
17
+
18
+ Dir["autohotkey/config/tools/table_manager/converted*.txt"].each {|file| File.delete file }
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: ascii-8bit
3
+
4
+ # Copyright 2014 Ball Aerospace & Technologies Corp.
5
+ # All Rights Reserved.
6
+ #
7
+ # This program is free software; you can modify and/or redistribute it
8
+ # under the terms of the GNU General Public License
9
+ # as published by the Free Software Foundation; version 3 with
10
+ # attribution addendums as found in the LICENSE.txt
11
+
12
+ require 'fileutils'
13
+ require_relative 'autohotkey.rb'
14
+ autohotkey('TableManager4') do
15
+ require 'cosmos/tools/table_manager/table_manager'
16
+ Cosmos::TableManager.run
17
+ end
18
+
19
+ # Clean up table output
20
+ raise "Output file not created!" unless File.exist?("autohotkey/ConfigTables.dat")
21
+ FileUtils.rm("autohotkey/ConfigTables.dat")
22
+ raise "Report file not created!" unless File.exist?("autohotkey/ConfigTables.csv")
23
+ FileUtils.rm("autohotkey/ConfigTables.csv")
24
+
@@ -25,4 +25,4 @@ File.delete('autohotkey/config/tools/tlm_viewer/test.txt')
25
25
  # Clean up telemetry viewer generated screens
26
26
  FileUtils.rm_r('autohotkey/config/targets/COSMOS/screens')
27
27
  FileUtils.rm_r('autohotkey/config/targets/META/screens')
28
-
28
+ File.delete('autohotkey/config/targets/INST/screens/extra.txt')
@@ -13,9 +13,10 @@
13
13
  ENV['COSMOS_USERPATH'] = File.join(File.expand_path(File.dirname(__FILE__)), '..')
14
14
 
15
15
  def autohotkey(command_name, ahk_script = nil)
16
- Dir.chdir(File.join(File.expand_path(File.dirname(__FILE__)), '..', '..'))
16
+ Dir.chdir(File.join(File.dirname(__FILE__), '..', '..'))
17
17
  require "./spec/spec_helper.rb"
18
18
 
19
+ ENV['COSMOS_USERPATH'] = File.join(File.dirname(File.expand_path(__FILE__)), '..')
19
20
  SimpleCov.command_name command_name
20
21
 
21
22
  if ahk_script
@@ -6,7 +6,7 @@ Send ^o
6
6
  WinWaitActive Open
7
7
  Send error.txt{Enter}
8
8
  WinWaitActive Error
9
- Click 430 200
9
+ Click 430 215
10
10
  WinWaitActive OpenGL
11
11
 
12
12
  Send ^a ; Open shape
@@ -2,17 +2,76 @@ SetWinDelay 1000
2
2
  SetTitleMatchMode 2 ; Contain the title anywhere to match
3
3
  WinWaitActive Table Manager
4
4
 
5
- ; Test the File menu
5
+ ; Test the File New menu
6
+ Send ^n ; File -> New TBL-1
7
+ WinWaitActive Open
8
+ Send OldOneDimensionalTable_def.txt{Enter}
9
+ WinWaitActive Select
10
+ Send {Enter}
11
+ WinWaitActive File New Errors
12
+ Send {Enter}
13
+ WinWaitActive Table Manager
14
+ Sleep 1000
15
+
16
+ Send ^n ; File->New
17
+ WinWaitActive Open
18
+ Send TwoDimensionalTable_def.txt{Enter}
19
+ WinWaitActive Select
20
+ Send {Enter}
21
+ WinWaitActive Table Manager
22
+
23
+ Send !f ; File
24
+ Sleep 500
25
+ Send a ; Save As
26
+ WinWaitActive File Save
27
+ Send TwoTable.dat{Enter}
28
+ WinWaitActive Table Manager
29
+
30
+ Send ^n ; File -> New TBL-1
31
+ WinWaitActive Open
32
+ Send ConfigTables_def.txt{Enter}
33
+ WinWaitActive Select
34
+ Send {Enter}
35
+ WinWaitActive Table Manager
36
+ Sleep 1000
37
+
6
38
  Send ^n ; File -> New TBL-1
7
39
  WinWaitActive Open
8
40
  Send ConfigTables_def.txt{Enter}
9
41
  WinWaitActive Select
10
42
  Send {Enter}
43
+ WinWaitActive File New ; File exists dialog
44
+ Send {Enter} ; Overwrite
11
45
  WinWaitActive Table Manager
12
46
  Sleep 1000
13
47
 
14
48
  Send {Tab}-1{Enter} ; Change something TBL-13
15
49
 
50
+ Send ^o ; File -> Open TBL-2
51
+ WinWaitActive Table Modified
52
+ Send {Enter} ; No
53
+ Send ^o ; File -> Open TBL-2
54
+ WinWaitActive Table Modified
55
+ Send {Tab}{Enter} ; Yes
56
+ WinWaitActive Open
57
+ Send TwoTable.dat{Enter}
58
+ WinWaitActive Open
59
+ Send OneDimensionalTable_def.txt{Enter}
60
+ WinWaitActive Open Error
61
+ Send {Enter}
62
+ WinWaitActive Table Manager
63
+
64
+ Send !f ; File
65
+ Sleep 500
66
+ Send b ; Open Both
67
+ WinWaitActive Open
68
+ Send TwoTable.dat{Enter}
69
+ WinWaitActive Open
70
+ Send ConfigTables_def.txt{Enter}
71
+ WinWaitActive Open Error
72
+ Send {Enter}
73
+ WinWaitActive Table Manager
74
+
16
75
  Send ^o ; File -> Open TBL-2
17
76
  WinWaitActive Open
18
77
  Send ConfigTables.dat{Enter}
@@ -20,12 +79,16 @@ WinWaitActive Table Manager
20
79
 
21
80
  Send {Tab 2}1{Enter} ; Change something TBL-7, TBL-14
22
81
  Send ^s ; File -> Save TBL-7
82
+ Sleep 2000
83
+ Send {Tab 2}abc{Enter} ; Change something TBL-7, TBL-14
84
+ Send ^s ; File -> Save TBL-7
85
+ WinWaitActive File Check
86
+ Send {Enter}
23
87
  Sleep 1000
24
88
 
25
- Send 2222{Enter} ; Change something
26
- Sleep 500
27
-
28
89
  Send ^o ; File -> Open
90
+ WinWaitActive Table Modified
91
+ Send {Tab}{Enter} ; Yes
29
92
  WinWaitActive Open
30
93
  Send ConfigTables.dat{Enter}
31
94
  WinWaitActive Table Manager
@@ -44,15 +107,39 @@ WinWaitActive Table Manager
44
107
 
45
108
  ; Mess up some tables
46
109
  Send {Tab}-1{Tab}-1{Tab}-1
47
- Click 175 120 ; Two Dimensional
110
+ Click 220 120 ; Two Dimensional
48
111
  Sleep 500
49
112
  Send -1{Tab}-1
50
113
 
114
+ ; Demonstrate the mouseovers
115
+ Click 40 165 0 ; Move the mouse to the values
116
+ MouseMove 700, 165, 50
117
+
118
+ Click right 80 165
119
+ Sleep 500
120
+ Click 125 150
121
+ WinWaitActive Details
122
+ Sleep 1000
123
+ Send {Enter}
124
+ WinWaitActive Table Manager
125
+
126
+ Click 200 165 ; Activate the combobox
127
+ Sleep 500
128
+ Click ; Make the dropdown appear
129
+ Sleep 500
130
+ Click 200 228 ; Choose the value
131
+ Sleep 1000
132
+
51
133
  Send ^k ; File->Check All TBL-3
52
- WinWaitActive Check
134
+ WinWaitActive File Check
53
135
  Send {Enter}
54
136
  WinWaitActive Table Manager
55
137
 
138
+ Send ^d ; Table->Default TBL-6
139
+ Click 90 120 ; One Dimensional
140
+ Send ^d ; Table->Default TBL-6
141
+ Sleep 1000
142
+
56
143
  Send ^h ; File->Hex dump TBL-4
57
144
  WinWaitActive Hex Dump
58
145
  Click 200 200
@@ -66,11 +153,10 @@ Send {Enter}
66
153
  WinWaitActive Table Manager
67
154
 
68
155
  Send ^r ; File->Create Report TBL-5
69
- Sleep 1000
156
+ WinWaitActive File Report
157
+ Send {Enter}
70
158
 
71
159
  ; Test the Table menu
72
- Click 75 120 ; One Dimensional
73
- Sleep 500
74
160
  Send !t
75
161
  Sleep 500
76
162
  Send c ; Table->Check TBL-8
@@ -94,31 +180,8 @@ WinWaitActive Table Manager
94
180
  Loop 4
95
181
  {
96
182
  Send {Tab}1
183
+ Sleep 200
97
184
  }
98
- Sleep 500
99
- Send !t
100
- Sleep 500
101
- Send d ; Table->Default TBL-6
102
- Sleep 500
103
-
104
- Send !t ; Table
105
- Sleep 500
106
- Send h ; Hex dump TBL-9
107
- WinWaitActive Hex Dump
108
- Send {Enter}
109
- WinWaitActive Table Manager
110
-
111
- Send !t ; Table
112
- Sleep 500
113
- Send s ; Save binary TBL-10
114
- WinWaitActive File Save
115
- Send {Enter}
116
- WinWaitActive Table Manager
117
-
118
- Send ^o
119
- WinWaitActive Open
120
- Send OneDimensionalTable.dat{Enter}
121
- WinWaitActive Table Manager
122
185
 
123
186
  ; Demonstrate the mouseovers
124
187
  Click 200 160 0 ; Move the mouse to the values
@@ -150,13 +213,49 @@ Sleep 500
150
213
  Click 245 177
151
214
  Sleep 500
152
215
 
216
+ Send !t
217
+ Sleep 500
218
+ Send d ; Table->Default TBL-6
219
+ Sleep 500
220
+
221
+ Send !t ; Table
222
+ Sleep 500
223
+ Send h ; Hex dump TBL-9
224
+ WinWaitActive Hex Dump
225
+ Send {Enter}
226
+ WinWaitActive Table Manager
227
+
228
+ Send !t ; Table
229
+ Sleep 500
230
+ Send s ; Save binary TBL-10
231
+ WinWaitActive File Save
232
+ Send {Enter}
233
+ WinWaitActive Table Manager
234
+
235
+ Click 220 120 ; Two Dimensional
236
+ Sleep 500
237
+
238
+ Send !t ; Table
239
+ Sleep 500
240
+ Send h ; Hex dump TBL-9
241
+ WinWaitActive Hex Dump
242
+ Send {Enter}
243
+ WinWaitActive Table Manager
244
+
245
+ Send ^o
246
+ WinWaitActive Table Modified
247
+ Send {Tab}{Enter} ; Yes
248
+ WinWaitActive Open
249
+ Send TwoDimensionalTable.dat{Enter}
250
+ WinWaitActive Table Manager
251
+
153
252
  Send !t ; Table
154
253
  Sleep 500
155
254
  Send f ; Commit to existing
156
255
  WinWaitActive Open
157
256
  Send Test.dat{Enter}
158
- WinWaitActive Manually
159
- Send n
257
+ WinWaitActive Open
258
+ Send {Esc}
160
259
  WinWaitActive Table Manager
161
260
 
162
261
  Send !t ; Table
@@ -164,7 +263,7 @@ Sleep 500
164
263
  Send f ; Commit to existing TBL-11
165
264
  WinWaitActive Open
166
265
  Send Test.dat{Enter}
167
- WinWaitActive Manually
266
+ WinWaitActive Open
168
267
  Send {Enter}
169
268
  WinWaitActive Open
170
269
  Send {Esc}
@@ -174,47 +273,19 @@ Sleep 500
174
273
  Send f ; Commit to existing TBL-11
175
274
  WinWaitActive Open
176
275
  Send Test.dat{Enter}
177
- WinWaitActive Manually
178
- Send {Enter}
179
276
  WinWaitActive Open
180
277
  Send ConfigTables_def.txt{Enter}
181
-
182
- Send !t ; Table
183
- Sleep 500
184
- Send u ; Update definition TBL-12
185
- WinWaitActive Update
186
- Send {Enter}
187
278
  WinWaitActive Table Manager
188
279
 
189
- Click 175 120 ; Tlm Monitoring Table
190
- Sleep 500
191
-
192
- ; Demonstrate the mouseovers
193
- Click 80 165 0 ; Move the mouse to the values
194
- MouseMove 700, 165, 50
195
-
196
- Click 200 165 ; Activate the combobox
197
- Sleep 500
198
- Click ; Make the dropdown appear
280
+ ; Quit Table Manager
281
+ Send {Tab}-1{Tab}-1{Tab}-1
199
282
  Sleep 500
200
- Click 200 228 ; Choose the value
201
- Sleep 1000
202
-
203
- Send ^n ; File->New
204
- WinWaitActive File New
283
+ Send ^q
284
+ WinWaitActive Table Modified
205
285
  Send n
206
286
  WinWaitActive Table Manager
207
- Send ^n ; File->New
208
- WinWaitActive File New
209
- Send y
210
- WinWaitActive Open
211
- Send TwoDimensionalTable_def.txt{Enter}
212
- WinWaitActive Select
213
- Send {Enter}
214
- WinWaitActive Table Manager
215
-
216
- ; Quit Table Manager
217
- Sleep 500
218
287
  Send ^q
288
+ WinWaitActive Table Modified
289
+ Send y
219
290
  Sleep 500
220
291