File: AppendCharacterAndVerifyJob.h

package info (click to toggle)
kf6-threadweaver 6.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,324 kB
  • sloc: cpp: 7,554; python: 33; sh: 13; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -*- C++ -*-
    Helper class for unit tests.

    SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org>

    SPDX-License-Identifier: LGPL-2.0-or-later
*/

#ifndef APPENDCHARACTERANDVERIFYJOB_H
#define APPENDCHARACTERANDVERIFYJOB_H

#include <AppendCharacterJob.h>

class AppendCharacterAndVerifyJob : public AppendCharacterJob
{
public:
    AppendCharacterAndVerifyJob();
    void setValues(QChar character, QString *stringref, const QString &expected);
    void run(ThreadWeaver::JobPointer, ThreadWeaver::Thread *) override;

private:
    QString m_expected;
};

#endif // APPENDCHARACTERANDVERIFYJOB_H