1 /*
2     SPDX-FileCopyrightText: 2020 Mladen Milinkovic <max@smoothware.net>
3 
4     SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef RICHDOCUMENTTEST_H
8 #define RICHDOCUMENTTEST_H
9 
10 #include "core/richdocument.h"
11 
12 class RichDocumentTest : public QObject
13 {
14 	Q_OBJECT
15 
16 	SubtitleComposer::RichDocument doc;
17 
18 private slots:
19 	void testCursor();
20 
21 	void testHtml_data();
22 	void testHtml();
23 
24 	void testRegExpReplace_data();
25 	void testRegExpReplace();
26 
27 	void testIndexReplace_data();
28 	void testIndexReplace();
29 
30 	void testCleanupSpaces_data();
31 	void testCleanupSpaces();
32 
33 	void testUpperLower();
34 
35 	void testSentence_data();
36 	void testSentence();
37 
38 	void testTitle_data();
39 	void testTitle();
40 };
41 
42 #endif // RICHDOCUMENTTEST_H
43