File indexing completed on 2024-05-12 04:38:19

0001 /*
0002     SPDX-FileCopyrightText: 2021 Igor Kushnir <igorkuo@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KDEVPLATFORM_BENCH_LANGUAGECONTROLLER_H
0008 #define KDEVPLATFORM_BENCH_LANGUAGECONTROLLER_H
0009 
0010 #include "languagecontrollertestbase.h"
0011 
0012 class BenchLanguageController : public LanguageControllerTestBase
0013 {
0014     Q_OBJECT
0015 
0016 private Q_SLOTS:
0017     void benchLanguagesForUrlNoCache();
0018     void benchLanguagesForUrlNoCache_data();
0019     void benchLanguagesForUrlFilledCache();
0020     void benchLanguagesForUrlFilledCache_data();
0021     void benchLanguagesForUrlNoMatchNoCache();
0022     void benchLanguagesForUrlNoMatchNoCache_data();
0023     void benchLanguagesForUrlNoMatchFilledCache();
0024     void benchLanguagesForUrlNoMatchFilledCache_data();
0025 
0026 private:
0027     void benchmarkLanguagesForUrl();
0028     void benchmarkLanguagesForUrlNoMatch();
0029 };
0030 
0031 #endif // KDEVPLATFORM_BENCH_LANGUAGECONTROLLER_H