TraceX
Loading...
Searching...
No Matches
tests
tests
tst_file.h
Go to the documentation of this file.
1
#ifndef TU_FILE_H
2
#define TU_FILE_H
3
4
#include <QtTest>
5
#include "../file.h"
6
7
class
TU_FILE
:
public
QObject {
8
Q_OBJECT
9
10
private
slots:
11
// TU_FILE_01 : Vérifie la construction sans chemin
12
void
test_constructeurParDefaut();
13
14
// TU_FILE_02 : Vérifie la construction avec chemin
15
void
test_constructeurAvecChemin();
16
17
// TU_FILE_03 : Vérifie getNom() retourne bien le nom du fichier
18
void
test_getNom();
19
20
// TU_FILE_04 : Vérifie les fonctions isWord, isExcel, isCsv
21
void
test_extensions();
22
23
// TU_FILE_05 : Vérifie setRadical et getRadical
24
void
test_radical();
25
};
26
27
#endif
// TU_FILE_H
TU_FILE
Definition
tst_file.h:7
Generated by
1.13.2