Book Shelf
Loading...
Searching...
No Matches
testbook.h
Go to the documentation of this file.
1
9#ifndef TESTBOOK_H
10#define TESTBOOK_H
11
12#include <QObject>
13#include <QtTest/QtTest>
14
15
20class TestBook : public QObject
21{
22 Q_OBJECT
23
24private slots:
25 void testDefaultConstructor();
26 void testConstructorWithParameters();
27 void testSetTitle();
28 void testSetAuthors();
29 void testSetIsbn();
30 void testSetPublicationDate();
31 void testGetTitle();
32 void testGetAuthors();
33 void testGetIsbn();
34 void testGetPublicationDate();
35};
36
37#endif // TESTBOOK_H
The TestBook class contains tests for the Book class. It tests the constructors, setters,...
Definition testbook.h:21