File indexing completed on 2024-11-24 04:39:29
0001 /* 0002 This file is part of Contact Editor. 0003 0004 SPDX-FileCopyrightText: 2016 eyeOS S.L.U., a Telefonica company, sales@eyeos.com 0005 SPDX-FileCopyrightText: 2016-2020 Laurent Montel <montel.org> 0006 0007 SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include <QObject> 0013 0014 class CustomFieldEditorWidgetTest : public QObject 0015 { 0016 Q_OBJECT 0017 public: 0018 explicit CustomFieldEditorWidgetTest(QObject *parent = nullptr); 0019 ~CustomFieldEditorWidgetTest() override; 0020 private Q_SLOTS: 0021 void shouldHaveDefaultValue(); 0022 void shouldEnableAddButtonWhenTextIsNotEmpty(); 0023 void shouldClearEditorWhenPressAdd(); 0024 };