- modified the way of defining geozones in geofence service - 4 messages are send instead of sending one fences.dat file
- added setCircle and setRectangle messages mins to contants
 - modified test_LPM_WhenTerminalEntersAndLeavesLPM_TerminalStopsMovingOnEnterToLpmAndGoesBackToMovingStateAccordingToGpsSpeedWhenLeavingLpm - this TC failed in overnight run and required re-design - now waiting for for MovingStart and MovingEnd message is applied instead of reading properties
- in matchReturnMessages added checking if received msg is not empty (somehow in some circumstances there was an nil value in Payload)
enabled detection of external power source presence in setup function - that is required to some of IDP800 TCs
increased tolerance in test_LoggedPosition_ForTerminalMovingWhenLoggedPositionIntervalGreaterThanZero_SavingToLogDoesNotDefferSendingMovingIntervalSat - this TC failed in overnight run
modified two helper functions putTerminalIntoStationaryState and putTerminalIntoMovingState - those two failed in overnight run - now waiting for MovingStart and MovingEnd message has been applied in dependence on the state of terminal; hardcoded delay has been removed - that was a cause of troubles
modified test_PeriodicMovingIntervalSat_WhenTerminalInMovingStateAndPositionEventoccurs_MovingIntervalSatMessageSentAfterFullMovingIntervalSatPeriodIfDeffered - increased tolerance in assertion of timestamps - TC still checks if message has been correctly deffered but does not fail if report comes a bit later than expected
modified suite_teardown to use matchReturnMessages instead of getReturnMessage
modified suite_teardown to use matchReturnMessages instead of getReturnMessage
modified suite_teardown to use matchReturnMessages instead of getReturnMessage
updated test_Position_WhenTerminalInStationaryStateAndRequestedPositionMessageByMIN1_PositionMessageSent and test_Position_WhenTerminalInMovingStateAndRequestedPositionMessageByMIN1_PositionMessageSent to new format (assetions made inside TC, matchReturnMessages used, no hardcoded delays)
updated test_PeriodicStationaryIntervalSat_WhenTerminalStationaryAndStationaryIntervalSatGreaterThenZero_StationaryIntervalSatReportsMessageSentPeriodically and test_PeriodicStationaryIntervalSat_WhenTerminalStationaryAndStationaryIntervalSatGreaterThenZero_StationaryIntervalSatReportsMessageSentPeriodicallyGpsFixReported to new format (assetions made inside TC, no hardcoded delays)
updated test_PeriodicMovingIntervalSat_WhenTerminalInMovingStateAndMovingIntervalSatGreaterThanZero_MovingIntervalSatMessageSentPeriodically and test_PeriodicMovingIntervalSat_WhenTerminalInMovingStateAndMovingIntervalSatGreaterThanZero_MovingIntervalSatMessageSentPeriodicallyyGpsFixReported to new format (assertions made inside TC, no hardcoded delays)
updated test_PeriodicMovingIntervalSat_WhenTerminalInMovingStateAndPositionEventoccurs_MovingIntervalSatMessageSentAfterFullMovingIntervalSatPeriodIfDeffered to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated test_PeriodicPosition_ForPositionMsgIntervalGreaterThanZero_PositionMessageSentPeriodically to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated test_PeriodicPosition_WhenPositionMsgIntervalIsGreaterThanZeroAndDiagnosticsInfoDeffers_PositionMessageSentAfterFullPositionMsgInterval to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated test_PeriodicPosition_ForPositionMsgIntervalGreaterThanZero_PositionMessageSentPeriodicallyGpsFixReported and test_Odometer_WhenTerminalTravelsDistanceSatThld_DistanceSatMessageSent to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated test_Odometer_WhenTerminalTravelsDistanceBelowdistanceSatThld_DistanceSatMessageNotSent to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated test_Odometer_WhenTerminalTravelsDistanceSatThldAndPositionReportDeffersIt_DistanceSatMessageNotSent to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays)
updated following TCs to new format (assertions made inside TC, matchReturnMessages applied, no hardcoded delays):
- test_LoggedPosition_ForTerminalMovingyWhenLoggedPositionIntervalGreaterThanZero_SavingToLogDoesNotDefferSendingDistanceSatMessage
- test_LoggedPosition_ForTerminalMovingWhenLoggedPositionIntervalGreaterThanZero_SavingToLogDoesNotDefferSendingMovingIntervalSat
- test_LoggedPosition_ForTerminalStationaryWhenLoggedPositionIntervalGreaterThanZero_SavingToLogDoesNotDefferSendingStationaryIntervalSat
- test_LoggedPosition_WhenLoggedPositionIntervalGreaterThanZero_SavingToLogDoesNotDefferSendingPeriodicPositionMessage
- test_LoggedPosition_ForTerminalInMovingStateAndLoggingPositionsIntervallGreaterThanZero_LoggedPositionMessageSavedPeriodically
- modified helper functions: putTerminalIntoStationaryState and putTerminalIntoMovingState - a loop waiting for number of tries has been applied to wait until terminal goes to desired state (waiting for messages caused some problems and has been removed)
- added two minor corrections in PeriodicReports (numberOfReports instead of NUMBER_OF_reports caused TC to fail)
- added enabling continues mode in position in teardown function in GPS module to make sure GPS is read periodically (some TC disable it and that is not desired state)