AudibleT 0.0.1
A real-time A/B/X audio testing tool for subjective assessment of various audio parameters, compatible for general purpose computer as well as embedded systems.
Loading...
Searching...
No Matches
TestDatabaseManager.h
1#ifndef TESTDATABASEMANAGER_H
2#define TESTDATABASEMANAGER_H
3
4#include <QObject>
5
6#include "DatabaseManager.h"
7
8class TestDatabaseManager : public QObject
9{
10 Q_OBJECT
11
12private slots:
13 void initTestCase();
14 void cleanupTestCase();
15
16 void testSetupDatabase();
17 void testDropAndRecreateTables();
18 void testInsertAudioFile();
19 void testGetAudioFiles();
20 void testClearAudioFiles();
21 void testCreateTestSession();
22 void testUpdateTestSessionEndTime();
23 void testGetSessionsWithDuration();
24 void testInsertTrial();
25 void testGetTrialsForSession();
26 void testGetAverageTrialsPerSession();
27 void testGetAverageResponseTimePerTrial();
28 void testGetAverageDurationPerSession();
29 void testGetAverageSuccessPerSession();
30
31private:
32 DatabaseManager *dbManager;
33};
34
35#endif // TESTDATABASEMANAGER_H
The DatabaseManager class manages the database operations for the audio testing application.
Definition: DatabaseManager.h:50
Definition: TestDatabaseManager.h:9