1061 Commits

Author SHA1 Message Date
Marcus Rockwell
40023501c2 Tested options menu 2024-10-12 17:02:31 -05:00
Marcus Rockwell
d7f9b8a516 Added getters to dre fixture 2024-10-10 12:14:21 -04:00
Marcus Rockwell
79e68136ba temporary change to pom.xml to disable sim control tests 2024-10-09 19:30:27 -05:00
Marcus Rockwell
6ece3a2d9a Completed DRE Fixture 2024-10-09 19:29:59 -05:00
Marcus Rockwell
65d637f7ef Standardized Dre Component creation for testing 2024-10-09 19:29:19 -05:00
Marcus Rockwell
4725c97c1a Added option interface to DreFixture 2024-10-09 10:25:36 -04:00
Marcus Rockwell
0992e52f22 Refactored menu bar generation to use existing methods. 2024-10-07 15:38:33 -04:00
Marcus Rockwell
eace2216bf Renamed SimControl Test suite 2024-10-06 19:31:58 -05:00
Marcus Rockwell
dc9559e131 Set up DRE AssertJ Fixture 2024-10-06 19:31:31 -05:00
Marcus Rockwell
d5dcc315ac Implemented the skeleton of the DataRecording test suite 2024-10-03 12:09:34 -04:00
Marcus Rockwell
90feb68a5f Fixed constructor issue with StubbedSimControlApplication 2024-10-02 16:11:17 -04:00
Marcus Rockwell
671b7dc065 Moved font chooser fixtures into sim control test directory 2024-10-02 16:04:16 -04:00
Marcus Rockwell
fd4d047ac3 Merge branch 'TrickAppRefactor' into HeadlessJavaGUITests-AssertJ_Swing 2024-09-16 12:04:27 -04:00
Marcus Rockwell
996ca3c882 Attached a name to each button made 2024-09-16 12:02:02 -04:00
Marcus Rockwell
062486f070 Merge branch 'FontChooserUpdate' into HeadlessJavaGUITests-AssertJ_Swing 2024-09-16 11:50:29 -04:00
Marcus Rockwell
2174e0e0fc Merge branch 'SimControlApplicationRefactor' into HeadlessJavaGUITests-AssertJ_Swing 2024-09-16 11:49:59 -04:00
Marcus Rockwell
f34be562e9 Added input validation for enabling/disabling GUIs and actions 2024-09-16 11:49:33 -04:00
Marcus Rockwell
66081ea7a6 Reorganized Connect function to shorten it and increase readability 2024-09-16 11:46:53 -04:00
Marcus Rockwell
28bece6065 Increased accessibility for a few members and functions 2024-09-16 11:44:39 -04:00
Marcus Rockwell
bfbc907a8c Cleaned non-feature related changes from branch 2024-09-16 11:13:40 -04:00
Marcus Rockwell
32b2b4b015 Refactored FontChooser to shorten buildGUI method 2024-09-16 11:08:09 -04:00
Mrockwell2
c6010829d4
Merge branch 'nasa:master' into HeadlessJavaGUITests-AssertJ_Swing 2024-09-16 09:52:12 -05:00
Marcus Rockwell
0fe1e05f22 Cleaned up Sim Control Panel test suite 2024-09-13 13:50:50 -05:00
Marcus Rockwell
25936b0301 Created test suite for Tool Bar Buttons 2024-09-09 16:02:02 -04:00
Marcus Rockwell
265aa9a59e Created test suite for Action Menu Items 2024-09-09 16:01:35 -04:00
Marcus Rockwell
a4d71e1636 Created a test for the look and feel options 2024-09-09 12:25:37 -04:00
dependabot[bot]
052d0bfedb
Bump webpack from 5.88.2 to 5.94.0 in /trick_source/web/dashboard (#1766)
Bumps [webpack](https://github.com/webpack/webpack) from 5.88.2 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.88.2...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 14:26:44 -05:00
dependabot[bot]
1f1a935228
Bump micromatch from 4.0.5 to 4.0.8 in /trick_source/web/dashboard (#1767)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-05 14:25:26 -05:00
Marcus Rockwell
ac9ff8419e Implement Status Message Menu Action Tests 2024-09-04 18:04:09 -04:00
Marcus Rockwell
2579eaf87b Finished testsuite for font testing 2024-09-04 14:05:16 -04:00
Marcus Rockwell
f9c81f25f4 increased encapsulation in FontChooser.java 2024-09-04 10:34:51 -04:00
Marcus Rockwell
8db6fa4b37 updated status message pane tests 2024-09-04 10:22:06 -04:00
Marcus Rockwell
e78884c81d Status message pane test case update 2024-08-30 10:33:59 -04:00
Pherring04
d2ec14dc02
Wiki button (#1755)
* Added a wiki button

* Removed commented code

* Updated SCP image

---------

Co-authored-by: Pherring04 <plherrin@JSLRL0523040929.ndc.nasa.gov>
2024-08-27 15:03:33 -05:00
Marcus Rockwell
6734452982 Completed test cases for all of the command panel and status messages 2024-08-23 14:16:19 -05:00
Marcus Rockwell
16a39d55da Created test case for status message pane 2024-08-23 13:56:02 -04:00
Mrockwell2
de1cb6740b
Fixed the warning and error messages when toggling monte carlo (#1761) 2024-08-20 10:47:05 -05:00
Marcus Rockwell
158c1787f2 Fixed tests for Checkpoint buttons 2024-08-15 17:40:14 -04:00
Marcus Rockwell
9d88190cf8 Removed Robot Tests from Pipeline Temporarily 2024-08-14 15:49:23 -04:00
Marcus Rockwell
675807fd36 Set up tests for JButtons 2024-08-14 15:48:38 -04:00
Thomas Brain
26f6a02e44
Added "target_integ_time" to Integrator class. It can be useful to know the integration time. (#1760)
Co-authored-by: Thomas Brain <thomas.a.brain@nasa.gov>
2024-08-13 10:51:24 -05:00
Marcus Rockwell
d4c20cd6a6 Added AssertJ Swing to pom.xml 2024-08-12 12:29:53 -04:00
Marcus Rockwell
8d328dbed5 Create a stubbed SimControl Panel 2024-08-08 15:08:21 -04:00
iamthad
92b0168b7b
Speed up Trick::ScheduledJobQueue::push (#1694)
* Speed up Trick::ScheduledJobQueue::push

* Make comparator a static function

* Use upper_bound instead

* Use explicit types

* Update comment

* Fix formatting
2024-07-23 12:16:57 -05:00
Hong Chen
f892b41d2d
Added TRICK_LDFLAGS to the rule for linking shared library for jit input. (#1745)
* Added TRICK_LDFLAGS to the rule for linking shared library so user can use TRICK_LDFLAGS for linking shared library if necessary.

* Removed the new line added by accident.
2024-07-23 11:53:33 -05:00
Marcus Rockwell
922ae5582c Fixed Real Time Toggle Test 2024-07-16 13:25:20 -05:00
Keith Vetter
f2e93ac490
Fix for assigning to non-existent variables (#1708) (#1718)
* Fix for assigning to non-existent variables (#1708)

This fix modifies Trick's convert_swig script.  It
adds a directive to not accept dynamic attributes.
The directive will ensure that modelers do not
assign to non-existent parameter in their input files.

The prior fix (issues #1288 and/or #1603) did not
cover C structures, so this commit is really an
addendum to that fix.  With this commit, the convert_swig
script will generate a non-dynamic directive foreach
class and structure.

This fix also stops generating swig interface code
for typedef structure definitions since swig only
produces an interface to the actual typedef name.
For example, with this typedef:

typedef struct StructureName {
   double  main_engine_thrust;  /* N Thrust of main engine */
   struct StructureName* next;  /* ** Next pointer */
} TypeDefName;

swig creates an interface for "TypeDefName", and not
"StructureName", so there is no need for Trick to
produce anything in regards "StructureName".

* Fix for issue with classes defined in ifndef SWIG block

convert_swig takes in the raw header and does no preprocessing,
so blocks of c/c++ header code which are meant to be skipped
by Swig are processed by convert_swig.  This causes an issue
with the generated python code that try to access classes
that are ifndef SWIGed out.

To fix this, check for class existence in the generated python
code e.g:

if 'MomMom' in globals():
    MomMom.__setattr__ = _swig_setattr_nondynamic_instance_variable(object.__setattr__)

* Fix for assignment to swig_double and swig_int primitives

The previous commit(s) on this branch fixed bad assignments
like (misspell position an attribute of BSTATE_IN):
ball.state.input.positiaaaan = 4.0

This commit fixes bad assignments to leaf/primitive attributes
like (try to add attribute to primitive/leaf double type):

ball.state.input.position.fred = 4.0

* Moved _swig_setattr_nondynamic_instance_variable to right after each class in process_class and removed duplicate _swig_setattr_nondynamic_instance_variable blocks for classes that are not in a namespace.

* Add the call for __setattr__ for class templates.

---------

Co-authored-by: Hong Chen <hong.chen-1@nasa.gov>
2024-07-16 10:34:02 -05:00
Hong Chen
f666708374
Repurposed -OO for all sim run outputs including S_sie.resource being saved in the specified directory. (#1714)
* Repurposed -OO so all sim run outputs including S_sie.resource are saved to the specified folder. The files are placed in the sub-dir either RUN_xxx or DP_Product of the specified folder.

* Updated for repurposed -OO.

* Added quoting code markdown for such as in order to show <name> as is.

* Added quoting code for missing items.

* Updated to raise an error when the --read-only-sim flag is used without the -O or -OO. Also made updates to the related document accordingly.

* Fixed the error message to be more clear.
2024-07-16 10:31:52 -05:00
Marcus Rockwell
c51254094f Merge branch 'master' into HeadlessJavaGUITests 2024-07-14 13:07:06 -05:00
Hong Chen
37e273a024
Corrected .d file path for the clean target in Makefile.input file. (#1735) 2024-06-27 10:34:44 -05:00