Warning, file /education/parley/autotests/testentrytest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2019 Hartmut Riesenbeck <hartmut.riesenbeck@gmx.de>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 #ifndef TESTENTRYTEST_H
0006 #define TESTENTRYTEST_H
0007 
0008 #include <QObject>
0009 
0010 class KEduVocExpression;
0011 class TestEntry;
0012 
0013 namespace TestEntryTests
0014 {
0015 /** @file
0016  * \brief TestEntry test application
0017  *        Various tests for TestEntry class.
0018  * @author Hartmut Riesenbeck <hartmut.riesenbeck@gmx.de>
0019  */
0020 
0021 class TestEntryTest : public QObject
0022 {
0023     Q_OBJECT
0024 
0025 private slots:
0026     void initTestCase();
0027     void cleanupTestCase();
0028     void test_practiceModeDependentMinGrade_written();
0029     void test_practiceModeDependentMinGrade_gender();
0030     void test_practiceModeDependentMinGrade_conjugation();
0031     void test_practiceModeDependentMinGrade_comparsion();
0032     void test_practiceModeDependentMaxGrade_written();
0033     void test_practiceModeDependentMaxGrade_gender();
0034     void test_practiceModeDependentMaxGrade_conjugation();
0035     void test_practiceModeDependentMaxGrade_comparsion();
0036     void test_practiceModeDependentMinPreGrade_written();
0037     void test_practiceModeDependentMinPreGrade_gender();
0038     void test_practiceModeDependentMinPreGrade_conjugation();
0039     void test_practiceModeDependentMinPreGrade_comparsion();
0040     void test_practiceModeDependentMaxPreGrade_written();
0041     void test_practiceModeDependentMaxPreGrade_gender();
0042     void test_practiceModeDependentMaxPreGrade_conjugation();
0043     void test_practiceModeDependentMaxPreGrade_comparsion();
0044 
0045 private:
0046     KEduVocExpression *makeKEduVocExpressionGrade();
0047     KEduVocExpression *makeKEduVocExpressionPreGrade();
0048     TestEntry *makeTestEntry(KEduVocExpression *expression);
0049 
0050 private:
0051     KEduVocExpression *m_gradeExpression = nullptr;
0052     TestEntry *m_gradeTestEntry = nullptr;
0053     KEduVocExpression *m_preGradeExpression = nullptr;
0054     TestEntry *m_preGradeTestEntry = nullptr;
0055 };
0056 }
0057 
0058 #endif // TESTENTRYTEST_H