Add clang-format (#1086)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
This commit is contained in:
Bart Louwers
2023-05-01 16:57:37 +02:00
committed by GitHub
parent 403a12bd1b
commit 71f6da2722
1018 changed files with 27876 additions and 25862 deletions

View File

@@ -10,7 +10,10 @@
#include <mbgl/test/util.hpp>
QMapLibreGLTest::QMapLibreGLTest() : size(512, 512), fbo((assert(widget.context()->isValid()), widget.makeCurrent(), size)), map(nullptr, settings, size) {
QMapLibreGLTest::QMapLibreGLTest()
: size(512, 512),
fbo((assert(widget.context()->isValid()), widget.makeCurrent(), size)),
map(nullptr, settings, size) {
connect(&map, &QMapLibreGL::mapChanged, this, &QMapLibreGLTest::onMapChanged);
connect(&map, &QMapLibreGL::needsRendering, this, &QMapLibreGLTest::onNeedsRendering);
map.resize(fbo.size());
@@ -42,7 +45,6 @@ void QMapLibreGLTest::onNeedsRendering() {
map.render();
}
TEST_F(QMapLibreGLTest, TEST_DISABLED_ON_CI(styleJson)) {
QFile f("test/fixtures/resources/style_vector.json");