File indexing completed on 2025-01-19 04:46:43
0001 /* 0002 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class ConfirmAddressCheckJobTest : public QObject 0012 { 0013 Q_OBJECT 0014 public: 0015 explicit ConfirmAddressCheckJobTest(QObject *parent = nullptr); 0016 ~ConfirmAddressCheckJobTest() override; 0017 private Q_SLOTS: 0018 void shouldHaveEmptyResultByDefault(); 0019 void shouldReturnEmptyResultWhenNoAddress(); 0020 void shouldReturnAllValidEmailsDomain(); 0021 void shouldReturnAllInValidEmailsDomain(); 0022 void shouldReturnValidAndInvalid(); 0023 void shouldNotDuplicateValue(); 0024 void shouldReturnAllValidEmailsDomainRejectedDomain(); 0025 void shouldReturnAllInValidEmailsDomainReject(); 0026 };