Index: sources/view/hd/data/post/VHDPOSTData.h =================================================================== diff -u -r3f555c49ddd2c983f469709e3c001d0e76159248 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/view/hd/data/post/VHDPOSTData.h (.../VHDPOSTData.h) (revision 3f555c49ddd2c983f469709e3c001d0e76159248) +++ sources/view/hd/data/post/VHDPOSTData.h (.../VHDPOSTData.h) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,14 +1,14 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file VHDPOSTData.h * \author (last) Behrouz NematiPour + * \date (last) 18-Apr-2022 * \author (original) Behrouz NematiPour - * \date (last) 27-Jul-2021 * \date (original) 27-Jul-2021 * */ @@ -17,7 +17,7 @@ #include // Project -#include "main.h" // Doxygen : don't remove +#include "main.h" // Doxygen : do not remove #include "VAdjustmentResponseBase.h" #include "MHDPostSingleResultData.h" #include "MHDPostFinalResultData.h" @@ -39,14 +39,18 @@ // friends friend class ::tst_views; - // coco begin validated: + // disabled coco begin validated: // The property adjustment_Triggered has to be always true // and to always trigger the change event to work as a notifier for GUI // has been manually tested that it works perfectly fine TRIGGER ( bool , adjustment , 0) - // coco end - CONSTANT(quint32 , itemCount , GuiHDPOSTStates::NUM_OF_POST_STATES) + // disabled coco end + // the last "test" item is the item just before the complete state. + // UI doesn't care about the the complete or fail state in Single post messages, + // and that is the result of the Final post message. + CONSTANT(quint32 , itemCount , GuiHDPOSTStates::POST_STATE_COMPLETED - 1 ) + PROPERTY(bool , start , 0) PROPERTY(quint32 , itemIndex , 0) PROPERTY(bool , itemResult , 0)