Expose insert dummy activity method in TestingALM

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-03-01 13:36:18 +01:00
parent cd56841156
commit 1585c2e0ae
No known key found for this signature in database
GPG key ID: C839200C384636B0
2 changed files with 6 additions and 0 deletions

View file

@ -459,6 +459,11 @@ void TestingALM::startFetchJob()
job->start();
}
void TestingALM::insertOrRemoveDummyFetchingActivity()
{
OCC::ActivityListModel::insertOrRemoveDummyFetchingActivity();
}
void TestingALM::slotProcessReceivedActivities()
{
if (rowCount() > _numRowsPrev) {

View file

@ -78,6 +78,7 @@ public:
TestingALM() = default;
void startFetchJob() override;
void insertOrRemoveDummyFetchingActivity();
public slots:
void slotProcessReceivedActivities();