Add provider auto test
ClosedPublic

Authored by habacker on Jun 26 2018, 8:09 AM.

Details

Summary

The provider is checked by fetching the server config

Test Plan

compiled and tested on linux

Diff Detail

Repository
R235 Attica
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
habacker created this revision.Jun 26 2018, 8:09 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 26 2018, 8:09 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
habacker requested review of this revision.Jun 26 2018, 8:09 AM
leinir requested changes to this revision.Jun 26 2018, 1:00 PM

Autotests are good, but so is documentation - in principle this is good, but new public functions without documentation isn't really acceptable :)
Apart from that, though, looks good! :) (was just about to add a comment about your invalid data string being less than descriptive... but hey, it's invalid data, why not ;) )

src/provider.h
275

When adding new functions to anywhere, putting in documentation really needs to happen as well :) You've got it in other places already, though, so i'm sure that's just a minor bit of forgetfulness, these things happen :)

This revision now requires changes to proceed.Jun 26 2018, 1:00 PM
habacker updated this revision to Diff 36693.Jun 26 2018, 3:33 PM
  • add documentation tp Provider::requestConfig()
habacker marked an inline comment as done.Jun 26 2018, 3:35 PM
leinir accepted this revision.Jun 27 2018, 8:27 AM
This revision is now accepted and ready to land.Jun 27 2018, 8:27 AM
This revision was automatically updated to reflect the committed changes.