Cpp{Tools,Editor}: Tests: Use QString instead of QByteArray

This is necessary in order to add tests with multi-byte UTF-8 code
points. Otherwise the initial and target source code marker positions
will be calculated on the QByteArray (test code) but used with a QString
(editor document).

Change-Id: I108961b13d32912a4d3193cf26eb59f65d296f57
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-05-08 13:21:42 -04:00
parent 41aa2cb3bd
commit cadc4b42ba
7 changed files with 25 additions and 24 deletions

View File

@@ -62,7 +62,7 @@ public:
const QByteArray &expectedSource);
public:
QByteArray m_expectedSource;
QString m_expectedSource;
};
/**