File indexing completed on 2024-05-19 09:42:03

0001 /*
0002     SPDX-FileCopyrightText: 2019 Shubham Jangra <aryan100jangid@gmail.com>
0003     SPDX-FileCopyrightText: 2019 Andrius Štikonas <andrius@stikonas.eu>
0004 
0005     SPDX-License-Identifier: GPL-3.0-or-later
0006 */
0007  
0008 #ifndef TESTDEVICE_H
0009 #define TESTDEVICE_H
0010 
0011 #include "core/device.h"
0012 #include "core/devicescanner.h"
0013 #include "core/operationstack.h" 
0014  
0015 #include <QList> 
0016  
0017 class TestDevice
0018 {
0019 public:
0020     TestDevice();
0021    ~TestDevice();
0022 
0023     void testDeviceName();
0024     void testDeviceNode();
0025     void testDeviceSize();
0026     void testDeviceTotalSectors();
0027     
0028 private:
0029     OperationStack *operationStack;
0030     DeviceScanner *deviceScanner;
0031     QList <Device*> devices;
0032 };
0033 
0034 #endif // TESTDEVICE_H