Test: Support system GTest, and give warning if no submodule (#13662)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Axis.h>
|
||||
|
||||
TEST(Axis, TestDefault)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <Base/Bitmask.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#ifdef WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#ifndef NOMINMAX
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <Base/Builder3D.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/CoordinateSystem.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/DualNumber.h>
|
||||
|
||||
TEST(DualNumber, TestDefault)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/DualQuaternion.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Handle.h>
|
||||
|
||||
class Data: public Base::Handled
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Rotation.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
#include <QLockFile>
|
||||
#include <Base/FileInfo.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/DualQuaternion.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Placement.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Quantity.h>
|
||||
#include <Base/UnitsApi.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4996)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Rotation.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4996)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/TimeInfo.h>
|
||||
|
||||
TEST(TimeInfo, TestDefault)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <bitset>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Tools2D.h>
|
||||
|
||||
class Line2D: public ::testing::Test
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Tools3D.h>
|
||||
|
||||
class Line3D: public ::testing::Test
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "Base/Unit.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
// NOLINTBEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
// NOLINTBEGIN
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/ViewProj.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "Base/Exception.h"
|
||||
#include "Base/Writer.h"
|
||||
|
||||
Reference in New Issue
Block a user