File indexing completed on 2024-05-12 05:22:07
0001 /* 0002 * SPDX-FileCopyrightText: 2023 Claudio Cambra <claudio.cambra@kde.org> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #pragma once 0008 0009 #include "types.h" 0010 0011 namespace KGAPI2 { 0012 namespace People { 0013 namespace TestUtils { 0014 0015 PersonPtr personFromFile(const QString &path); 0016 ContactGroupPtr contactGroupFromFile(const QString &path); 0017 PersonList connectionsFromFile(const QString &path); 0018 ContactGroupList contactGroupsFromFile(const QString &path); 0019 QByteArray rawPhotoDataFromPhotoRequestData(const QString &path); 0020 PersonPtr personFromPhotoUpdateResponseFile(const QString &path); 0021 ContactGroupPtr contactGroupFromRequestDataFile(const QString &path); 0022 0023 } // TestUtils 0024 } // People 0025 } // KGAPI2