Add unit test for Polkit backend
ClosedPublic

Authored by shubham on Jul 8 2019, 9:31 AM.

Diff Detail

Repository
R16 KPMCore
Branch
auth-backend-unittest
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 13692
Build 13710: arc lint + arc unit
shubham requested review of this revision.Jul 8 2019, 9:31 AM
shubham created this revision.
shubham updated this revision to Diff 61704.Jul 13 2019, 3:57 PM

Add QTest to cmake

shubham added inline comments.Jul 13 2019, 4:00 PM
test/testpolkitauthbackend.cpp
48

Everything compiles without this, but it shows undefined reference error when un-commented. I have seen there is no issue of parameter mismatch.

shubham edited the summary of this revision. (Show Details)Jul 13 2019, 4:03 PM

Looks alright. I'll try to compile myself and see what are those linking errors when you have those two lines uncommented...

shubham updated this revision to Diff 61749.Jul 14 2019, 4:37 PM

Rebase wrt auth-polkit-backend patch

shubham updated this revision to Diff 62665.Jul 28 2019, 6:37 AM

Rebase wrt parent

shubham updated this revision to Diff 62742.Jul 29 2019, 2:25 PM

Rebase wrt parent

shubham updated this revision to Diff 62743.Jul 29 2019, 2:33 PM

Add test to revoke authorization

This revision was not accepted when it landed; it landed in state Needs Review.Jul 29 2019, 3:19 PM
Closed by commit R16:bea38fabb049: Rebase wrt parent (authored by shubham). · Explain Why
This revision was automatically updated to reflect the committed changes.
shubham reopened this revision.Aug 7 2019, 12:22 PM
shubham retitled this revision from [WIP]: Add unit test for Polkit backend to Add unit test for Polkit backend.
shubham edited the summary of this revision. (Show Details)
shubham updated this revision to Diff 63269.Aug 7 2019, 12:30 PM

Rebase wrt parent

This revision was not accepted when it landed; it landed in state Needs Review.Aug 7 2019, 12:33 PM
This revision was automatically updated to reflect the committed changes.
shubham reopened this revision.Aug 9 2019, 1:40 PM
shubham updated this revision to Diff 63409.Aug 9 2019, 1:40 PM

Update wrt parent

shubham updated this revision to Diff 64535.Aug 25 2019, 8:06 AM

Fix linker error

shubham updated this revision to Diff 64536.Aug 25 2019, 8:07 AM

More changes

shubham marked an inline comment as done.Aug 25 2019, 8:10 AM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 26 2019, 7:11 AM
Closed by commit R16:689484f39060: Fix linker error (authored by shubham). · Explain Why
This revision was automatically updated to reflect the committed changes.
shubham reopened this revision.Aug 26 2019, 7:23 AM
shubham updated this revision to Diff 64639.Aug 26 2019, 7:54 AM

Rebase wrt parent

shubham updated this revision to Diff 64641.Aug 26 2019, 8:00 AM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 26 2019, 8:11 AM
This revision was automatically updated to reflect the committed changes.