unittests

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-16465: Update - TestSuites : Integration testing update

Add more tests for coverage in tst_models

DEN-16465: Fixed - TestSuites : Integration testing update

Add FileHandler unit tests

Add coverage to tst_models

Add TODO to the tst_views to be updated in the future

    • -0
    • +142
    ./tst_fileHandler.cpp
  1. … 3 more files in changeset.
DEN-16465: Fixed - TestSuites : Integration testing update

Fixed the unit tests to be able to compile and run

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 50 more files in changeset.
Merge branch 'DEN-14733-UI-BN-S90-2' into staging

  1. … 43 more files in changeset.
DEN-14736 : IMP: Updated MsgID 0x2C00

/*!

* \brief The MDGHeaters class

* \details The DG heaters data model

*

* | MSG | CAN ID | Box | Type | Ack | Src | Dst | Description |

* |:----:|:------:|:---:|:------:|:---:|:---:|:---:|:-----------: |

* |0x2C00| 0x080 | 8 | 2 Hz | N | DG | All | DG Heaters Data |

*

* | Payload ||

* | ||

* | # 1:(F32) | \ref Data::mMainPrimayHeaterDC |

* | # 2:(F32) | \ref Data::mSmallPrimaryHeaterDC |

* | # 3:(F32) | \ref Data::mTrimmerHeaterDC |

* | # 4:(F32) | \ref Data::mPrimaryTargetTemp |

* | # 5:(F32) | \ref Data::mTrimmerTargetTemp |

* | # 6:(F32) | \ref Data::mPrimaryHeaterState |

* | # 7:(F32) | \ref Data::mTrimmerHeaterState |

* | # 8:(F32) | \ref Data::mPrimaryEfficiency |

* | # 9:(F32) | \ref Data::mPrimaryCalcTargetTemp |

* | #10:(F32) | \ref Data::mTrimmerCalcCurrentTemp |

* | #11:(F32) | \ref Data::mTrimmerUseLastDC |

*

* \sa Data

*

* <h2 class="groupheader">Logging info</h2>

* | ||

* | ||

* | typeText | Datum |

* | unitText | DG |

* | infoText | Heaters |

*

*/

  1. … 6 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 594 more files in changeset.
Fix imports for unit tests

  1. … 2 more files in changeset.
Bamboo Commit: Updated MAlarmMapping.cpp

  1. … 2 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 46 more files in changeset.
DEN-13966: Improvement: Export individual log files

Simplified the log:

- Removed completely the Data type and defined only one type of AppED (AKA APPED, Application, log).

- therefore there is no E, or D, in the log anymore.

- added a log header for the debug type as well.

- added cppcheck to normal build process on each local build for debug and release.

  1. … 23 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 95 more files in changeset.
Merge branch 'DEN-13198-UI_BN_75' into staging

  1. … 45 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 99 more files in changeset.
DEN-13845: CRV: Merge issue of DEN-12716-UI_BN_S70 into staging

- Due to some enum changes, UI couldn't build

- An idea implemented to detect the enum changes by compiler. The implementation may be able to improve.

  1. … 12 more files in changeset.
Latest Unit testing modules

  1. … 3 more files in changeset.
DEN-13645 IMP: DEN-12958: UI shall generate the POST fail alarm if the SD-Card not present and stop logging

__________

- Log Export

- Added the Alarm generation on the GuiController if SD-Card is not ready, or is/becomes read-only.

- AlarmGenerator

- Added the SD-Card failure alarm - ALARM_ID_UI_POST_FAILURE_SDCARD

- Added alarm clear - ALARM_ID_NO_ALARM

- Added a flag to stop logging if the SD-Card is not ready or is readonly.

- Removed pause on log clean up.

- Improved the DeviceController SD-Card, USB status detection.

- Fixed and improved the MVC connection betweein device/Application/Gui controllers.

- A CLI switch ( -S ) added to disable the feature that is disabling the log if the SD-Card doesn't exist. So if the -S switch is used while calling the denali application, the logging will NOT be disabled, if SD-Card fails.

- In the ExportButton and USBButton(eject) removed the enable logic and has to be done outside of the component. It has been done for the Settings/export and Post-Tx/Review.

- Added title and file count for each SD-Card and USB-Drive panels.

__________

- Run.sh

- Added a check for the CloudSync and if the folder doesn't exist it won't do the rest

- Kill the denali application, in case it is still running.

- Added SD-Card type as part of its detection and if it is not ext4 format it fails the test.

- Optimized the mount point detection.

__________

- NoCANBus

- added the NoCANBus to the fault and init modes to not to navigate to those if NoCANBus is true. Otherwise it conflict with navigate to the home.

- Added a log in case the NoCANBus is enabled.

__________

- Settings

- Converted the '\n' in the settings values to actual newline character.

__________

- Thread:

- Moved the QuiController in its own thread, _Gui_Thread.

__________

- Alarms

- Added an emit to update the Alarm Dialog with the latest title/message, received from Alarms.conf In case there was an alarm before even Alarm.conf is read.

  1. … 27 more files in changeset.
updates model unit tests

tst_model updates

  1. … 2 more files in changeset.
UI-DEN-12716 : UI-DEN-12716-2 : UI-DEN-12716_UI BN S70

- Addressed the code review comments.

- The timedatectl command was missing the set-timezone command option.

- When using timedatectl no need to use the hwclock

- During the unit test review noticed that the thread name changed and updated and kept it, although we still have some issues there which needs to be fixed.

  1. … 4 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 570 more files in changeset.
DEN-9649: Implementation - Yocto configuration

- Addressed some frequent code review comments

- Fixed the UI POST AlarmTriggered message

- Added the deleteLater for the QQuickViewer pointer _viewer.

  1. … 110 more files in changeset.
DEN-8533 & DEN-8693

Merge and support

  1. … 42 more files in changeset.
DEN-7833: Implementations [Merge the Wi-Fi, Date/Time into the code]

- Prepared the fundamentals of the Settings and Keyboard

- Added DateTime MVC and tested with the simulator.

- So many other debugging and improvement

  1. … 84 more files in changeset.
DEN-7832: Implementations [Saline and Heparin change request]

- Also removed the UF state from response.

  1. … 20 more files in changeset.
DEN-7054: Added Network.h to Model namespace, refactoring

  1. … 10 more files in changeset.
DEN-7408: Code improvement for navigation

- VTreatmentCreate is cleaned up. (still needs a lot of work)

  1. … 11 more files in changeset.
DEN-7408: preTx: Implementation [Navigation] ( 3 )

- Added Rejection reason texts.

- Removed unused view.

- Fixed heparin ranges.

  1. … 12 more files in changeset.
DEN-7518: preTx: Implementation [Screens] ( 3 )

- The first round of the pre-treatment flow works.

  1. … 65 more files in changeset.
DEN-7420: preTx: Implementation [Messaging] ( 3 )

  1. … 61 more files in changeset.