Page MenuHomePhorge

PonderQuestion: add method isStatusClosed() and test cases
AbandonedPublic

Authored by valerio.bozzolan on Mar 23 2023, 14:32.
Tags
None
Referenced Files
F3500147: D25085.1744794361.diff
Tue, Apr 15, 09:06
F3475898: D25085.1744756157.diff
Mon, Apr 14, 22:29
F3367552: D25085.1744201748.diff
Tue, Apr 8, 12:29
F3364369: D25085.1744151425.diff
Mon, Apr 7, 22:30
F3363433: D25085.1744129109.diff
Mon, Apr 7, 16:18
F3362323: D25085.1744077372.diff
Mon, Apr 7, 01:56
F3341964: D25085.1743659747.diff
Wed, Apr 2, 05:55
F3331877: D25085.1743514030.diff
Mon, Mar 31, 13:27

Details

Summary

This modification should not change anything logically.

Now you can call $ponderQuestion->isStatusClosed() that just returns true
for whatever closed status, and false otherwise.

The next step then is:

https://we.phorge.it/T15166

This is a very small change but this also adds two unit tests,
so there are more files edited than expected to keep the linter
happy.

Ref T15166

Test Plan
  • Verify that nothing has changed logically

Diff Detail

Repository
rP Phorge
Branch
ponder-resolved
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 161
Build 161: arc lint + arc unit

Event Timeline

valerio.bozzolan retitled this revision from PonderQuestion: add method isStatusClosed() and test cases This modification should not change anything logically. So, now you can call $ponderQuestion->isStatusClosed() that it just returns true for whatever closed status, and false... to PonderQuestion: add method isStatusClosed() and test cases.Mar 23 2023, 14:32
valerio.bozzolan edited the summary of this revision. (Show Details)

For some reasons, this patch was not auto closed from:

D25086: Ponder: strike code of resolved questions in query results

I mark this as abandoned but it's merged really automatically by arc diff.

https://we.phorge.it/rP5eac69b79dbb37b5efa29c3d7383605ea64426e0