More unit tests and fixes for lldb formatters
ClosedPublic

Authored by qi437103 on Jan 3 2017, 10:49 PM.

Details

Summary

The lldb formatters were left without much tests in the summer. I finally got some time to cover more cases.

Added and fixed tests are

  • QString and QByteArray are displayed with correct escaping and can handle unicode contents
  • QList, QVector, QQueue, QStack, QLinkedList
  • QDate, QTime and QDateTime
  • QMap, QHash, QSet
  • QUrl, QUuid
  • KDE types

Diff Detail

Repository
R32 KDevelop
Branch
lldb-formatters
Lint
No Linters Available
Unit
No Unit Test Coverage
qi437103 updated this revision to Diff 9675.Jan 3 2017, 10:49 PM
qi437103 retitled this revision from to [WIP] Adding more unit tests for lldb formatters.
qi437103 updated this object.
qi437103 edited the test plan for this revision. (Show Details)
qi437103 added a reviewer: kfunk.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJan 3 2017, 10:49 PM
qi437103 retitled this revision from [WIP] Adding more unit tests for lldb formatters to [WIP] More unit tests and fixes for lldb formatters.
kfunk edited edge metadata.EditedJan 3 2017, 11:00 PM
kfunk added a subscriber: apol.

Something for @apol to review I suppose.

@qi437103: Should this patch go into 5.1 branch?

@kfunk yes I think so, it's just bug fixes, and for a better first time impression people get about the LLDB plugin with the 5.1 release. I'll rebase.

qi437103 updated this revision to Diff 9678.Jan 3 2017, 11:30 PM
qi437103 edited edge metadata.

Rebased on 5.1

kfunk added a reviewer: apol.Jan 4 2017, 7:24 PM
qi437103 updated this revision to Diff 9733.Jan 4 2017, 10:19 PM

Added and fixed remaining test cases, and rebased to latest HEAD.

qi437103 retitled this revision from [WIP] More unit tests and fixes for lldb formatters to More unit tests and fixes for lldb formatters.Jan 4 2017, 10:24 PM
qi437103 updated this object.

It's now ready for review.

apol accepted this revision.Jan 5 2017, 1:18 PM
apol edited edge metadata.

I'd put it in 5.1, since it's bug fixes.

This revision is now accepted and ready to land.Jan 5 2017, 1:18 PM
qi437103 closed this revision.Jan 5 2017, 7:42 PM