Make QtTest file template configurable with options
ClosedPublic

Authored by kossebau on Jan 30 2017, 7:30 AM.

Details

Summary

Instead of post-creation manual adaption direclty generate
code as wanted, by selecting

  • type of main()
  • if to create testcase setup/cleanup methods
  • if to create test-wise setup/cleanup methods

Depends on D4339

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kossebau updated this revision to Diff 10690.Jan 30 2017, 7:30 AM
kossebau retitled this revision from to Make QtTest file template configurable with options.
kossebau updated this object.
kossebau added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJan 30 2017, 7:30 AM
mwolff added a subscriber: mwolff.Jan 30 2017, 9:56 AM
mwolff added inline comments.
file_templates/testing/cpp_qtestlib/options.kcfg
10 ↗(On Diff #10690)

values and value below?

kossebau added inline comments.Jan 30 2017, 2:54 PM
file_templates/testing/cpp_qtestlib/options.kcfg
10 ↗(On Diff #10690)

Bound here by the referenced kcfg schema to "choices" and "choice"

mwolff accepted this revision.Jan 30 2017, 4:39 PM
mwolff added a reviewer: mwolff.

lgtm then

This revision is now accepted and ready to land.Jan 30 2017, 4:39 PM
This revision was automatically updated to reflect the committed changes.
kossebau marked an inline comment as done.