mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-07-18 04:54:30 -04:00
chore: Add tests for CodeHandler (#105)
* chore: Extract test utils to separate file This makes it possible to reuse the utils in other test files. * chore: Add tests for CodeHandler
This commit is contained in:
committed by
GitHub
parent
61ca5c9a1b
commit
81ac3c71fb
@ -30,9 +30,10 @@ class CodeHandler
|
||||
public:
|
||||
static QString processText(QString text);
|
||||
|
||||
static QString detectLanguage(const QString &line);
|
||||
|
||||
private:
|
||||
static QString getCommentPrefix(const QString &language);
|
||||
static QString detectLanguage(const QString &line);
|
||||
|
||||
static const QRegularExpression &getFullCodeBlockRegex();
|
||||
static const QRegularExpression &getPartialStartBlockRegex();
|
||||
|
Reference in New Issue
Block a user