File indexing completed on 2024-06-23 05:14:10
0001 /* -*- mode: c++; c-basic-offset:4 -*- 0002 selftest/selftest.cpp 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2008 Klarälvdalens Datakonsult AB 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #include <config-kleopatra.h> 0011 0012 #include "selftest.h" 0013 0014 #include "implementation_p.h" 0015 0016 using namespace Kleo; 0017 using namespace Kleo::_detail; 0018 0019 SelfTest::~SelfTest() 0020 { 0021 } 0022 0023 bool SelfTest::canFixAutomatically() const 0024 { 0025 return false; 0026 } 0027 bool SelfTest::fix() 0028 { 0029 return false; 0030 } 0031 0032 SelfTestImplementation::SelfTestImplementation(const QString &title) 0033 : SelfTest() 0034 , m_name(title) 0035 , m_error() 0036 , m_explanation() 0037 , m_proposedFix() 0038 , m_skipped(false) 0039 , m_passed(false) 0040 { 0041 } 0042 0043 SelfTestImplementation::~SelfTestImplementation() 0044 { 0045 } 0046 0047 // bool SelfTestImplementation::ensureEngineVersion( GpgME::Engine engine, int major, int minor, int patch ) 0048 // in enginecheck.cpp, since it reuses the instrumentation there