LibCarna
Version 3.4.0
Loading...
Searching...
No Matches
test
UnitTests
GLContextTest.hpp
1
/*
2
* Copyright (C) 2021 - 2025 Leonid Kostrykin
3
*
4
*/
5
6
#pragma once
7
8
namespace
LibCarna
9
{
10
11
namespace
testing
12
{
13
14
15
16
// ----------------------------------------------------------------------------------
17
// GLContextTest
18
// ----------------------------------------------------------------------------------
19
25
class
GLContextTest
:
public
QObject
26
{
27
28
Q_OBJECT
29
30
private
slots:
31
35
void
initTestCase();
36
40
void
cleanupTestCase();
41
45
void
init();
46
50
void
cleanup();
51
52
// ----------------------------------------------------------------------------------
53
54
void
test_vendor();
55
56
void
test_renderer();
57
58
// ---------------------------------------------------------------------------------
59
60
private
:
61
std::unique_ptr< QGLContextHolder > qglContextHolder;
62
63
};
// GLContextTest
64
65
66
67
}
// namespace LibCarna :: testing
68
69
}
// namespace LibCarna
LibCarna::testing::GLContextTest
Unit-tests of the LibCarna::base::GLContext class.
Definition
GLContextTest.hpp:26
Written by Leonid Kostrykin © 2021–2025. Based on
Carna
(© 2010-2016).
Documentation generated by
Doxygen