unittests

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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-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.
DEN-7140: Implementation [Messaging] ( 1 )

- Added progress data Model/View which are:

ID_DGFilterFlush = 0x6000, // 96

ID_SelfTestNoCartridge = 0x6100, // 97

ID_SelfTestDry = 0x6300, // 99

ID_DisposablesPrime = 0x4300, // 67

  1. … 31 more files in changeset.
DEN-6619: Implementation

- Added a signal named didSDCardSpaceTooLow in the DriveWatcher which will be triggered when the free storage space available on the SD-CARD is less than 10%. (No action on UI happens currently)

- Added a flag in DriveWatcher to stop emitting the Logger while it is cleaning the Logs [[ IMPORTANT : is is handled by signal/slots for thread synchronization and safety ]].

- Added a function to find the total size of the file in a path.

- Added find function to find files with a list of filter in a path.

- Added an overloaded version of find to help find the files in a path which are exceeding the storage limit from the oldest files.

- Added error check in the read overloaded which works with Json.

- Re-implemented the FileHandler::removeLogs to clean up the logs by % instead of date.

- Removed unused global log paths from StorageGlobal.

-

  1. … 15 more files in changeset.
DEN-6612 UI_DVT: Pre-Treatment Ultrafiltration

- This story wasn't part of the current sprint S37 but while I worked on it to be able to push it to master ASAP, so put the story as the commit comment.

  1. … 4 more files in changeset.
DEN-5836: Code Coverage

- 100.000% (4827/4827)

- added a unit test for the AlarmGenerator private method setBits.

  1. … 3 more files in changeset.
DEN-5833: Implementation

- Cleaned up the unit tests

DEN-5742: Code Coverage [100%]

  1. … 3 more files in changeset.
Merge branch 'master' into DEN-4691_InLineBloodPressureAdjustments

  1. … 24 more files in changeset.
DEN-4698: Code Review 0

  1. … 1 more file in changeset.
Merge master into DEN-4598-Confirm-Priming-Begin

  1. … 11 more files in changeset.
DEN-4609: Fixed bicarbonate concentrate enum

  1. … 1 more file in changeset.
DEN-4696: Code Coverage [99.722]

  1. … 4 more files in changeset.
DEN-4609: Addressed code review requests.

  1. … 7 more files in changeset.
DEN-4598, DEN-4609, DEN-4607: Updated unit tests, removed unused Storage namespace from ApplicationController.cpp, removed saveNewTreatment function from ApplicationController.h

  1. … 4 more files in changeset.
Removed extra empty lines

  1. … 34 more files in changeset.
Merge branch 'master' into DEN-4691_InLineBloodPressureAdjustments

  1. … 13 more files in changeset.
DEN-4598, DEN-4609, DEN-4607, DEN-4605: Updated unit tests and code coverage. Made changes requested in code review.

  1. … 16 more files in changeset.
DEN-5340 Code Coverage [99.881%]

- removed unused codes.

- commented unused codes.

  1. … 7 more files in changeset.
DEN-4605: Updated unit tests

  1. … 2 more files in changeset.
5338: Unit Testing

  1. … 1 more file in changeset.