ACF
$AcfVersion:0$
Acf
Include
ibase
Test
TContainerTest.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2
#pragma once
3
4
5
// Qt includes
6
#include <QtCore/QObject>
7
#include <QtTest/QtTest>
8
9
// ACF includes
10
#include <
itest/CStandardTestExecutor.h
>
11
12
16
class
TContainerTest
:
public
QObject
17
{
18
Q_OBJECT
19
20
private
Q_SLOTS:
21
void
initTestCase();
22
23
// Basic operations
24
void
testPushBack();
25
void
testPushFront();
26
void
testInsertAt();
27
void
testGetAt();
28
29
// Removal operations
30
void
testPopBack();
31
void
testPopFront();
32
void
testRemoveAt();
33
void
testReset();
34
35
// Container info
36
void
testGetItemsCount();
37
void
testIsEmpty();
38
void
testIsIndexValid();
39
40
// Operators
41
void
testSubscriptOperator();
42
void
testAssignmentOperator();
43
void
testEqualityOperators();
44
45
// Iterators
46
void
testIterators();
47
48
// Standard container interface
49
void
testStandardPushOperations();
50
void
testStandardInsert();
51
void
testStandardRemove();
52
void
testStandardResize();
53
void
testStandardSize();
54
55
void
cleanupTestCase();
56
};
57
58
CStandardTestExecutor.h
TContainerTest
Unit tests for TContainer template class.
Definition
TContainerTest.h:17
Generated by
1.9.8