/*! * * Copyright (c) 2019-2020 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 tst_utilities.h * date 01/08/2019 * author Behrouz NematiPour * */ #pragma once #include #include class tst_utilities : public QObject { Q_OBJECT bool _emited = false ; QByteArray _expected {} ; QVariantList _data {} ; int _action = -1 ; public: explicit tst_utilities(QObject *parent = nullptr); private slots: void tst_getValue_len(); void tst_floatCompare_noMatch(); void tst_floatCompare_isMatch(); void tst_getbits_NoError(); void tst_getbits_IsError(); void tst_fromvariant_NoString(); void tst_fromvariant_IsString(); };