cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
33 lines
566 B
C++
33 lines
566 B
C++
/*
|
|
SPDX-FileCopyrightText: 2013 Mark Gaiser <markg85@gmail.com>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-only
|
|
*/
|
|
|
|
#ifndef LISTDIRTEST_H
|
|
#define LISTDIRTEST_H
|
|
|
|
#include <QObject>
|
|
#include <kio/udsentry.h>
|
|
|
|
namespace KIO
|
|
{
|
|
class Job;
|
|
}
|
|
|
|
class ListDirTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
private Q_SLOTS:
|
|
void numFilesTestCase_data();
|
|
void numFilesTestCase();
|
|
|
|
void slotEntries(KIO::Job *job, const KIO::UDSEntryList &entries);
|
|
|
|
private:
|
|
void createEmptyTestFiles(int numOfFilesToCreate, const QString &path);
|
|
int m_receivedEntryCount;
|
|
};
|
|
|
|
#endif
|