Browse Source

MSVC 2013 compatibility: need explicit typing for addTests().

This annoys the hell out of me.
Vladimír Vondruš 13 years ago
parent
commit
b6f99db0ad
  1. 2
      src/DebugTools/Test/CapsuleRendererTest.cpp
  2. 2
      src/DebugTools/Test/CylinderRendererTest.cpp
  3. 2
      src/DebugTools/Test/ForceRendererTest.cpp
  4. 2
      src/DebugTools/Test/LineSegmentRendererTest.cpp
  5. 2
      src/Math/Algorithms/Test/GaussJordanTest.cpp
  6. 2
      src/Math/Algorithms/Test/GramSchmidtTest.cpp
  7. 2
      src/Math/Algorithms/Test/SvdTest.cpp
  8. 2
      src/Math/Geometry/Test/DistanceTest.cpp
  9. 2
      src/Math/Geometry/Test/IntersectionTest.cpp
  10. 2
      src/Math/Test/AngleTest.cpp
  11. 2
      src/Math/Test/BoolVectorTest.cpp
  12. 2
      src/Math/Test/ComplexTest.cpp
  13. 2
      src/Math/Test/ConstantsTest.cpp
  14. 2
      src/Math/Test/DualComplexTest.cpp
  15. 2
      src/Math/Test/DualQuaternionTest.cpp
  16. 2
      src/Math/Test/DualTest.cpp
  17. 2
      src/Math/Test/FunctionsTest.cpp
  18. 2
      src/Math/Test/Matrix3Test.cpp
  19. 2
      src/Math/Test/Matrix4Test.cpp
  20. 2
      src/Math/Test/MatrixTest.cpp
  21. 2
      src/Math/Test/QuaternionTest.cpp
  22. 2
      src/Math/Test/RangeTest.cpp
  23. 2
      src/Math/Test/RectangularMatrixTest.cpp
  24. 2
      src/Math/Test/SwizzleTest.cpp
  25. 2
      src/Math/Test/TypeTraitsTest.cpp
  26. 2
      src/Math/Test/UnitTest.cpp
  27. 2
      src/Math/Test/Vector2Test.cpp
  28. 2
      src/Math/Test/Vector3Test.cpp
  29. 2
      src/Math/Test/Vector4Test.cpp
  30. 2
      src/Math/Test/VectorTest.cpp
  31. 2
      src/MeshTools/Test/CombineIndexedArraysTest.cpp
  32. 2
      src/MeshTools/Test/CompressIndicesTest.cpp
  33. 2
      src/MeshTools/Test/DuplicateTest.cpp
  34. 2
      src/MeshTools/Test/FlipNormalsTest.cpp
  35. 2
      src/MeshTools/Test/GenerateFlatNormalsTest.cpp
  36. 2
      src/MeshTools/Test/InterleaveTest.cpp
  37. 2
      src/MeshTools/Test/RemoveDuplicatesTest.cpp
  38. 2
      src/MeshTools/Test/SubdivideTest.cpp
  39. 2
      src/MeshTools/Test/TransformTest.cpp
  40. 2
      src/Plugins/TgaImageConverter/Test/TgaImageConverterTest.cpp
  41. 2
      src/Plugins/TgaImporter/Test/TgaImporterTest.cpp
  42. 2
      src/Primitives/Test/CapsuleTest.cpp
  43. 2
      src/Primitives/Test/CircleTest.cpp
  44. 2
      src/Primitives/Test/CylinderTest.cpp
  45. 2
      src/Primitives/Test/IcosphereTest.cpp
  46. 2
      src/Primitives/Test/UVSphereTest.cpp
  47. 2
      src/SceneGraph/Test/AnimableTest.cpp
  48. 2
      src/SceneGraph/Test/CameraTest.cpp
  49. 2
      src/SceneGraph/Test/DualComplexTransformationTest.cpp
  50. 2
      src/SceneGraph/Test/DualQuaternionTransformationTest.cpp
  51. 2
      src/SceneGraph/Test/MatrixTransformation2DTest.cpp
  52. 2
      src/SceneGraph/Test/MatrixTransformation3DTest.cpp
  53. 2
      src/SceneGraph/Test/ObjectTest.cpp
  54. 2
      src/SceneGraph/Test/RigidMatrixTransformation2DTest.cpp
  55. 2
      src/SceneGraph/Test/RigidMatrixTransformation3DTest.cpp
  56. 2
      src/SceneGraph/Test/SceneTest.cpp
  57. 2
      src/SceneGraph/Test/TranslationTransformationTest.cpp
  58. 2
      src/Shapes/Test/AxisAlignedBoxTest.cpp
  59. 2
      src/Shapes/Test/BoxTest.cpp
  60. 2
      src/Shapes/Test/CapsuleTest.cpp
  61. 2
      src/Shapes/Test/CollisionTest.cpp
  62. 2
      src/Shapes/Test/CompositionTest.cpp
  63. 2
      src/Shapes/Test/CylinderTest.cpp
  64. 2
      src/Shapes/Test/LineTest.cpp
  65. 2
      src/Shapes/Test/PlaneTest.cpp
  66. 2
      src/Shapes/Test/PointTest.cpp
  67. 2
      src/Shapes/Test/ShapeImplementationTest.cpp
  68. 2
      src/Shapes/Test/ShapeTest.cpp
  69. 2
      src/Shapes/Test/SphereTest.cpp
  70. 2
      src/Test/AbstractImageTest.cpp
  71. 2
      src/Test/AbstractShaderProgramTest.cpp
  72. 2
      src/Test/ArrayTest.cpp
  73. 2
      src/Test/ColorTest.cpp
  74. 2
      src/Test/DefaultFramebufferTest.cpp
  75. 2
      src/Test/FramebufferTest.cpp
  76. 2
      src/Test/ImageTest.cpp
  77. 2
      src/Test/MeshTest.cpp
  78. 2
      src/Test/RendererTest.cpp
  79. 2
      src/Test/ResourceManagerTest.cpp
  80. 2
      src/Test/SamplerTest.cpp
  81. 2
      src/Text/Test/AbstractFontConverterTest.cpp
  82. 2
      src/Text/Test/AbstractFontTest.cpp
  83. 2
      src/Text/Test/AbstractLayouterTest.cpp
  84. 2
      src/TextureTools/Test/AtlasTest.cpp
  85. 2
      src/Trade/Test/AbstractImageConverterTest.cpp
  86. 2
      src/Trade/Test/AbstractImporterTest.cpp
  87. 2
      src/Trade/Test/AbstractMaterialDataTest.cpp
  88. 2
      src/Trade/Test/ImageDataTest.cpp
  89. 2
      src/Trade/Test/ObjectData2DTest.cpp
  90. 2
      src/Trade/Test/ObjectData3DTest.cpp
  91. 2
      src/Trade/Test/TextureDataTest.cpp

2
src/DebugTools/Test/CapsuleRendererTest.cpp

@ -42,7 +42,7 @@ class CapsuleRendererTest: public TestSuite::Tester {
};
CapsuleRendererTest::CapsuleRendererTest() {
addTests({&CapsuleRendererTest::zeroLength2D,
addTests<CapsuleRendererTest>({&CapsuleRendererTest::zeroLength2D,
&CapsuleRendererTest::common2D,
&CapsuleRendererTest::zeroLength3D,

2
src/DebugTools/Test/CylinderRendererTest.cpp

@ -42,7 +42,7 @@ class CylinderRendererTest: public TestSuite::Tester {
};
CylinderRendererTest::CylinderRendererTest() {
addTests({&CylinderRendererTest::zeroLength2D,
addTests<CylinderRendererTest>({&CylinderRendererTest::zeroLength2D,
&CylinderRendererTest::common2D,
&CylinderRendererTest::zeroLength3D,

2
src/DebugTools/Test/ForceRendererTest.cpp

@ -42,7 +42,7 @@ class ForceRendererTest: public TestSuite::Tester {
};
ForceRendererTest::ForceRendererTest() {
addTests({&ForceRendererTest::zero2D,
addTests<ForceRendererTest>({&ForceRendererTest::zero2D,
&ForceRendererTest::common2D,
&ForceRendererTest::zero3D,

2
src/DebugTools/Test/LineSegmentRendererTest.cpp

@ -40,7 +40,7 @@ class LineSegmentRendererTest: public TestSuite::Tester {
};
LineSegmentRendererTest::LineSegmentRendererTest() {
addTests({&LineSegmentRendererTest::line2D,
addTests<LineSegmentRendererTest>({&LineSegmentRendererTest::line2D,
&LineSegmentRendererTest::line3D});
}

2
src/Math/Algorithms/Test/GaussJordanTest.cpp

@ -40,7 +40,7 @@ typedef RectangularMatrix<4, 4, Float> Matrix4x4;
typedef Vector<4, Float> Vector4;
GaussJordanTest::GaussJordanTest() {
addTests({&GaussJordanTest::singular,
addTests<GaussJordanTest>({&GaussJordanTest::singular,
&GaussJordanTest::invert});
}

2
src/Math/Algorithms/Test/GramSchmidtTest.cpp

@ -40,7 +40,7 @@ typedef RectangularMatrix<3, 3, Float> Matrix3x3;
typedef Vector<3, Float> Vector3;
GramSchmidtTest::GramSchmidtTest() {
addTests({&GramSchmidtTest::orthogonalize,
addTests<GramSchmidtTest>({&GramSchmidtTest::orthogonalize,
&GramSchmidtTest::orthonormalize});
}

2
src/Math/Algorithms/Test/SvdTest.cpp

@ -71,7 +71,7 @@ constexpr static Matrix5x8f af(
static const Vector5f expectedf(std::sqrt(1248.0f), 0.0f, 20.0f, std::sqrt(384.0f), 0.0f);
SvdTest::SvdTest() {
addTests({&SvdTest::testDouble,
addTests<SvdTest>({&SvdTest::testDouble,
&SvdTest::testFloat});
}

2
src/Math/Geometry/Test/DistanceTest.cpp

@ -45,7 +45,7 @@ typedef Math::Vector3<Float> Vector3;
typedef Math::Constants<Float> Constants;
DistanceTest::DistanceTest() {
addTests({&DistanceTest::linePoint2D,
addTests<DistanceTest>({&DistanceTest::linePoint2D,
&DistanceTest::linePoint3D,
&DistanceTest::lineSegmentPoint2D,
&DistanceTest::lineSegmentPoint3D});

2
src/Math/Geometry/Test/IntersectionTest.cpp

@ -41,7 +41,7 @@ typedef Math::Vector2<Float> Vector2;
typedef Math::Vector3<Float> Vector3;
IntersectionTest::IntersectionTest() {
addTests({&IntersectionTest::planeLine,
addTests<IntersectionTest>({&IntersectionTest::planeLine,
&IntersectionTest::lineLine});
}

2
src/Math/Test/AngleTest.cpp

@ -49,7 +49,7 @@ typedef Math::Rad<Double> Radd;
#endif
AngleTest::AngleTest() {
addTests({&AngleTest::construct,
addTests<AngleTest>({&AngleTest::construct,
&AngleTest::literals,
&AngleTest::conversion,

2
src/Math/Test/BoolVectorTest.cpp

@ -59,7 +59,7 @@ static_assert(BoolVector<17>::DataSize == 3, "Improper DataSize");
typedef Math::BoolVector<19> BoolVector19;
BoolVectorTest::BoolVectorTest() {
addTests({&BoolVectorTest::construct,
addTests<BoolVectorTest>({&BoolVectorTest::construct,
&BoolVectorTest::constructDefault,
&BoolVectorTest::constructOneValue,
&BoolVectorTest::constructOneElement,

2
src/Math/Test/ComplexTest.cpp

@ -65,7 +65,7 @@ class ComplexTest: public Corrade::TestSuite::Tester {
};
ComplexTest::ComplexTest() {
addTests({&ComplexTest::construct,
addTests<ComplexTest>({&ComplexTest::construct,
&ComplexTest::constructDefault,
&ComplexTest::constructFromVector,
&ComplexTest::constructCopy,

2
src/Math/Test/ConstantsTest.cpp

@ -38,7 +38,7 @@ class ConstantsTest: public Corrade::TestSuite::Tester {
};
ConstantsTest::ConstantsTest() {
addTests({&ConstantsTest::constantsFloat,
addTests<ConstantsTest>({&ConstantsTest::constantsFloat,
&ConstantsTest::constantsDouble});
}

2
src/Math/Test/DualComplexTest.cpp

@ -71,7 +71,7 @@ typedef Math::Matrix3<Float> Matrix3;
typedef Math::Vector2<Float> Vector2;
DualComplexTest::DualComplexTest() {
addTests({&DualComplexTest::construct,
addTests<DualComplexTest>({&DualComplexTest::construct,
&DualComplexTest::constructDefault,
&DualComplexTest::constructFromVector,
&DualComplexTest::constructCopy,

2
src/Math/Test/DualQuaternionTest.cpp

@ -69,7 +69,7 @@ typedef Math::Quaternion<Float> Quaternion;
typedef Math::Vector3<Float> Vector3;
DualQuaternionTest::DualQuaternionTest() {
addTests({&DualQuaternionTest::construct,
addTests<DualQuaternionTest>({&DualQuaternionTest::construct,
&DualQuaternionTest::constructDefault,
&DualQuaternionTest::constructFromVector,
&DualQuaternionTest::constructCopy,

2
src/Math/Test/DualTest.cpp

@ -52,7 +52,7 @@ class DualTest: public Corrade::TestSuite::Tester {
typedef Math::Dual<Float> Dual;
DualTest::DualTest() {
addTests({&DualTest::construct,
addTests<DualTest>({&DualTest::construct,
&DualTest::constructDefault,
&DualTest::constructCopy,

2
src/Math/Test/FunctionsTest.cpp

@ -76,7 +76,7 @@ typedef Math::Vector3<Byte> Vector3b;
typedef Math::Vector3<Int> Vector3i;
FunctionsTest::FunctionsTest() {
addTests({&FunctionsTest::min,
addTests<FunctionsTest>({&FunctionsTest::min,
&FunctionsTest::minList,
&FunctionsTest::max,
&FunctionsTest::maxList,

2
src/Math/Test/Matrix3Test.cpp

@ -95,7 +95,7 @@ typedef Math::Vector3<Float> Vector3;
typedef Math::Vector2<Float> Vector2;
Matrix3Test::Matrix3Test() {
addTests({&Matrix3Test::construct,
addTests<Matrix3Test>({&Matrix3Test::construct,
&Matrix3Test::constructIdentity,
&Matrix3Test::constructZero,
&Matrix3Test::constructConversion,

2
src/Math/Test/Matrix4Test.cpp

@ -102,7 +102,7 @@ typedef Math::Matrix<3, Float> Matrix3x3;
typedef Math::Vector3<Float> Vector3;
Matrix4Test::Matrix4Test() {
addTests({&Matrix4Test::construct,
addTests<Matrix4Test>({&Matrix4Test::construct,
&Matrix4Test::constructIdentity,
&Matrix4Test::constructZero,
&Matrix4Test::constructConversion,

2
src/Math/Test/MatrixTest.cpp

@ -91,7 +91,7 @@ typedef Vector<3, Float> Vector3;
typedef Math::Constants<Float> Constants;
MatrixTest::MatrixTest() {
addTests({&MatrixTest::construct,
addTests<MatrixTest>({&MatrixTest::construct,
&MatrixTest::constructIdentity,
&MatrixTest::constructZero,
&MatrixTest::constructConversion,

2
src/Math/Test/QuaternionTest.cpp

@ -76,7 +76,7 @@ typedef Math::Vector3<Float> Vector3;
typedef Math::Vector4<Float> Vector4;
QuaternionTest::QuaternionTest() {
addTests({&QuaternionTest::construct,
addTests<QuaternionTest>({&QuaternionTest::construct,
&QuaternionTest::constructDefault,
&QuaternionTest::constructFromVector,
&QuaternionTest::constructCopy,

2
src/Math/Test/RangeTest.cpp

@ -82,7 +82,7 @@ typedef Vector2<Int> Vector2i;
typedef Vector3<Int> Vector3i;
RangeTest::RangeTest() {
addTests({&RangeTest::construct,
addTests<RangeTest>({&RangeTest::construct,
&RangeTest::constructDefault,
&RangeTest::constructFromSize,
&RangeTest::constructConversion,

2
src/Math/Test/RectangularMatrixTest.cpp

@ -103,7 +103,7 @@ typedef Vector<3, Int> Vector3i;
typedef Vector<2, Int> Vector2i;
RectangularMatrixTest::RectangularMatrixTest() {
addTests({&RectangularMatrixTest::construct,
addTests<RectangularMatrixTest>({&RectangularMatrixTest::construct,
&RectangularMatrixTest::constructDefault,
&RectangularMatrixTest::constructConversion,
&RectangularMatrixTest::constructFromData,

2
src/Math/Test/SwizzleTest.cpp

@ -41,7 +41,7 @@ class SwizzleTest: public Corrade::TestSuite::Tester {
typedef Vector<4, Int> Vector4i;
SwizzleTest::SwizzleTest() {
addTests({&SwizzleTest::components,
addTests<SwizzleTest>({&SwizzleTest::components,
&SwizzleTest::constants,
&SwizzleTest::rgba,
&SwizzleTest::sizes});

2
src/Math/Test/TypeTraitsTest.cpp

@ -42,7 +42,7 @@ class TypeTraitsTest: public Corrade::TestSuite::Tester {
};
TypeTraitsTest::TypeTraitsTest() {
addTests({&TypeTraitsTest::equalsIntegral,
addTests<TypeTraitsTest>({&TypeTraitsTest::equalsIntegral,
&TypeTraitsTest::equalsFloatingPoint});
}

2
src/Math/Test/UnitTest.cpp

@ -43,7 +43,7 @@ class UnitTest: public Corrade::TestSuite::Tester {
};
UnitTest::UnitTest() {
addTests({&UnitTest::construct,
addTests<UnitTest>({&UnitTest::construct,
&UnitTest::constructDefault,
&UnitTest::constructConversion,
&UnitTest::compare,

2
src/Math/Test/Vector2Test.cpp

@ -80,7 +80,7 @@ typedef Math::Vector2<Float> Vector2;
typedef Math::Vector2<Int> Vector2i;
Vector2Test::Vector2Test() {
addTests({&Vector2Test::construct,
addTests<Vector2Test>({&Vector2Test::construct,
&Vector2Test::constructDefault,
&Vector2Test::constructOneValue,
&Vector2Test::constructConversion,

2
src/Math/Test/Vector3Test.cpp

@ -79,7 +79,7 @@ typedef Math::Vector3<Int> Vector3i;
typedef Math::Vector2<Float> Vector2;
Vector3Test::Vector3Test() {
addTests({&Vector3Test::construct,
addTests<Vector3Test>({&Vector3Test::construct,
&Vector3Test::constructDefault,
&Vector3Test::constructOneValue,
&Vector3Test::constructParts,

2
src/Math/Test/Vector4Test.cpp

@ -78,7 +78,7 @@ typedef Math::Vector3<Float> Vector3;
typedef Math::Vector2<Float> Vector2;
Vector4Test::Vector4Test() {
addTests({&Vector4Test::construct,
addTests<Vector4Test>({&Vector4Test::construct,
&Vector4Test::constructDefault,
&Vector4Test::constructOneValue,
&Vector4Test::constructParts,

2
src/Math/Test/VectorTest.cpp

@ -109,7 +109,7 @@ typedef Vector<4, Float> Vector4;
typedef Vector<4, Int> Vector4i;
VectorTest::VectorTest() {
addTests({&VectorTest::construct,
addTests<VectorTest>({&VectorTest::construct,
&VectorTest::constructFromData,
&VectorTest::constructDefault,
&VectorTest::constructOneValue,

2
src/MeshTools/Test/CombineIndexedArraysTest.cpp

@ -40,7 +40,7 @@ class CombineIndexedArraysTest: public TestSuite::Tester {
};
CombineIndexedArraysTest::CombineIndexedArraysTest() {
addTests({&CombineIndexedArraysTest::wrongIndexCount,
addTests<CombineIndexedArraysTest>({&CombineIndexedArraysTest::wrongIndexCount,
&CombineIndexedArraysTest::combine});
}

2
src/MeshTools/Test/CompressIndicesTest.cpp

@ -40,7 +40,7 @@ class CompressIndicesTest: public TestSuite::Tester {
};
CompressIndicesTest::CompressIndicesTest() {
addTests({&CompressIndicesTest::compressChar,
addTests<CompressIndicesTest>({&CompressIndicesTest::compressChar,
&CompressIndicesTest::compressShort,
&CompressIndicesTest::compressInt});
}

2
src/MeshTools/Test/DuplicateTest.cpp

@ -37,7 +37,7 @@ class DuplicateTest: public TestSuite::Tester {
};
DuplicateTest::DuplicateTest() {
addTests({&DuplicateTest::duplicate});
addTests<DuplicateTest>({&DuplicateTest::duplicate});
}
void DuplicateTest::duplicate() {

2
src/MeshTools/Test/FlipNormalsTest.cpp

@ -40,7 +40,7 @@ class FlipNormalsTest: public TestSuite::Tester {
};
FlipNormalsTest::FlipNormalsTest() {
addTests({&FlipNormalsTest::wrongIndexCount,
addTests<FlipNormalsTest>({&FlipNormalsTest::wrongIndexCount,
&FlipNormalsTest::flipFaceWinding,
&FlipNormalsTest::flipNormals});
}

2
src/MeshTools/Test/GenerateFlatNormalsTest.cpp

@ -39,7 +39,7 @@ class GenerateFlatNormalsTest: public TestSuite::Tester {
};
GenerateFlatNormalsTest::GenerateFlatNormalsTest() {
addTests({&GenerateFlatNormalsTest::wrongIndexCount,
addTests<GenerateFlatNormalsTest>({&GenerateFlatNormalsTest::wrongIndexCount,
&GenerateFlatNormalsTest::generate});
}

2
src/MeshTools/Test/InterleaveTest.cpp

@ -44,7 +44,7 @@ class InterleaveTest: public Corrade::TestSuite::Tester {
};
InterleaveTest::InterleaveTest() {
addTests({&InterleaveTest::attributeCount,
addTests<InterleaveTest>({&InterleaveTest::attributeCount,
&InterleaveTest::attributeCountGaps,
&InterleaveTest::stride,
&InterleaveTest::strideGaps,

2
src/MeshTools/Test/RemoveDuplicatesTest.cpp

@ -38,7 +38,7 @@ class RemoveDuplicatesTest: public TestSuite::Tester {
typedef Math::Vector<1, int> Vector1;
RemoveDuplicatesTest::RemoveDuplicatesTest() {
addTests({&RemoveDuplicatesTest::cleanMesh});
addTests<RemoveDuplicatesTest>({&RemoveDuplicatesTest::cleanMesh});
}
void RemoveDuplicatesTest::cleanMesh() {

2
src/MeshTools/Test/SubdivideTest.cpp

@ -47,7 +47,7 @@ inline Vector1 interpolator(Vector1 a, Vector1 b) { return (a[0]+b[0])/2; }
}
SubdivideTest::SubdivideTest() {
addTests({&SubdivideTest::wrongIndexCount,
addTests<SubdivideTest>({&SubdivideTest::wrongIndexCount,
&SubdivideTest::subdivide});
}

2
src/MeshTools/Test/TransformTest.cpp

@ -43,7 +43,7 @@ class TransformTest: public TestSuite::Tester {
};
TransformTest::TransformTest() {
addTests({&TransformTest::transformVectors2D,
addTests<TransformTest>({&TransformTest::transformVectors2D,
&TransformTest::transformVectors3D,
&TransformTest::transformPoints2D,

2
src/Plugins/TgaImageConverter/Test/TgaImageConverterTest.cpp

@ -64,7 +64,7 @@ namespace {
}
TgaImageConverterTest::TgaImageConverterTest() {
addTests({&TgaImageConverterTest::wrongFormat,
addTests<TgaImageConverterTest>({&TgaImageConverterTest::wrongFormat,
&TgaImageConverterTest::wrongType,
&TgaImageConverterTest::data});

2
src/Plugins/TgaImporter/Test/TgaImporterTest.cpp

@ -55,7 +55,7 @@ class TgaImporterTest: public TestSuite::Tester {
};
TgaImporterTest::TgaImporterTest() {
addTests({&TgaImporterTest::openNonexistent,
addTests<TgaImporterTest>({&TgaImporterTest::openNonexistent,
&TgaImporterTest::openShort,
&TgaImporterTest::paletted,
&TgaImporterTest::compressed,

2
src/Primitives/Test/CapsuleTest.cpp

@ -47,7 +47,7 @@ class CapsuleTest: public TestSuite::Tester {
};
CapsuleTest::CapsuleTest() {
addTests({&CapsuleTest::wireframe2D,
addTests<CapsuleTest>({&CapsuleTest::wireframe2D,
&CapsuleTest::solid3DWithoutTextureCoords,
&CapsuleTest::solid3DWithTextureCoords,
&CapsuleTest::wireframe3D});

2
src/Primitives/Test/CircleTest.cpp

@ -39,7 +39,7 @@ class CircleTest: public TestSuite::Tester {
};
CircleTest::CircleTest() {
addTests({&CircleTest::solid,
addTests<CircleTest>({&CircleTest::solid,
&CircleTest::wireframe});
}

2
src/Primitives/Test/CylinderTest.cpp

@ -41,7 +41,7 @@ class CylinderTest: public TestSuite::Tester {
};
CylinderTest::CylinderTest() {
addTests({&CylinderTest::solidWithoutAnything,
addTests<CylinderTest>({&CylinderTest::solidWithoutAnything,
&CylinderTest::solidWithTextureCoordsAndCaps,
&CylinderTest::wireframe});
}

2
src/Primitives/Test/IcosphereTest.cpp

@ -38,7 +38,7 @@ class IcosphereTest: public TestSuite::Tester {
};
IcosphereTest::IcosphereTest() {
addTests({&IcosphereTest::count});
addTests<IcosphereTest>({&IcosphereTest::count});
}
void IcosphereTest::count() {

2
src/Primitives/Test/UVSphereTest.cpp

@ -41,7 +41,7 @@ class UVSphereTest: public TestSuite::Tester {
};
UVSphereTest::UVSphereTest() {
addTests({&UVSphereTest::solidWithoutTextureCoords,
addTests<UVSphereTest>({&UVSphereTest::solidWithoutTextureCoords,
&UVSphereTest::solidWithTextureCoords,
&UVSphereTest::wireframe});
}

2
src/SceneGraph/Test/AnimableTest.cpp

@ -48,7 +48,7 @@ class AnimableTest: public TestSuite::Tester {
typedef SceneGraph::Object<SceneGraph::MatrixTransformation3D> Object3D;
AnimableTest::AnimableTest() {
addTests({&AnimableTest::state,
addTests<AnimableTest>({&AnimableTest::state,
&AnimableTest::step,
&AnimableTest::duration,
&AnimableTest::repeat,

2
src/SceneGraph/Test/CameraTest.cpp

@ -53,7 +53,7 @@ typedef SceneGraph::Object<SceneGraph::MatrixTransformation3D> Object3D;
typedef SceneGraph::Scene<SceneGraph::MatrixTransformation3D> Scene3D;
CameraTest::CameraTest() {
addTests({&CameraTest::fixAspectRatio,
addTests<CameraTest>({&CameraTest::fixAspectRatio,
&CameraTest::defaultProjection2D,
&CameraTest::defaultProjection3D,
&CameraTest::projectionSize2D,

2
src/SceneGraph/Test/DualComplexTransformationTest.cpp

@ -51,7 +51,7 @@ class DualComplexTransformationTest: public TestSuite::Tester {
};
DualComplexTransformationTest::DualComplexTransformationTest() {
addTests({&DualComplexTransformationTest::fromMatrix,
addTests<DualComplexTransformationTest>({&DualComplexTransformationTest::fromMatrix,
&DualComplexTransformationTest::toMatrix,
&DualComplexTransformationTest::compose,
&DualComplexTransformationTest::inverted,

2
src/SceneGraph/Test/DualQuaternionTransformationTest.cpp

@ -51,7 +51,7 @@ class DualQuaternionTransformationTest: public TestSuite::Tester {
};
DualQuaternionTransformationTest::DualQuaternionTransformationTest() {
addTests({&DualQuaternionTransformationTest::fromMatrix,
addTests<DualQuaternionTransformationTest>({&DualQuaternionTransformationTest::fromMatrix,
&DualQuaternionTransformationTest::toMatrix,
&DualQuaternionTransformationTest::compose,
&DualQuaternionTransformationTest::inverted,

2
src/SceneGraph/Test/MatrixTransformation2DTest.cpp

@ -51,7 +51,7 @@ class MatrixTransformation2DTest: public TestSuite::Tester {
};
MatrixTransformation2DTest::MatrixTransformation2DTest() {
addTests({&MatrixTransformation2DTest::fromMatrix,
addTests<MatrixTransformation2DTest>({&MatrixTransformation2DTest::fromMatrix,
&MatrixTransformation2DTest::toMatrix,
&MatrixTransformation2DTest::compose,
&MatrixTransformation2DTest::inverted,

2
src/SceneGraph/Test/MatrixTransformation3DTest.cpp

@ -51,7 +51,7 @@ class MatrixTransformation3DTest: public TestSuite::Tester {
};
MatrixTransformation3DTest::MatrixTransformation3DTest() {
addTests({&MatrixTransformation3DTest::fromMatrix,
addTests<MatrixTransformation3DTest>({&MatrixTransformation3DTest::fromMatrix,
&MatrixTransformation3DTest::toMatrix,
&MatrixTransformation3DTest::compose,
&MatrixTransformation3DTest::inverted,

2
src/SceneGraph/Test/ObjectTest.cpp

@ -65,7 +65,7 @@ class CachingObject: public Object3D, AbstractFeature3D {
};
ObjectTest::ObjectTest() {
addTests({&ObjectTest::parenting,
addTests<ObjectTest>({&ObjectTest::parenting,
&ObjectTest::scene,
&ObjectTest::setParentKeepTransformation,
&ObjectTest::absoluteTransformation,

2
src/SceneGraph/Test/RigidMatrixTransformation2DTest.cpp

@ -52,7 +52,7 @@ class RigidMatrixTransformation2DTest: public TestSuite::Tester {
};
RigidMatrixTransformation2DTest::RigidMatrixTransformation2DTest() {
addTests({&RigidMatrixTransformation2DTest::fromMatrix,
addTests<RigidMatrixTransformation2DTest>({&RigidMatrixTransformation2DTest::fromMatrix,
&RigidMatrixTransformation2DTest::toMatrix,
&RigidMatrixTransformation2DTest::compose,
&RigidMatrixTransformation2DTest::inverted,

2
src/SceneGraph/Test/RigidMatrixTransformation3DTest.cpp

@ -52,7 +52,7 @@ class RigidMatrixTransformation3DTest: public TestSuite::Tester {
};
RigidMatrixTransformation3DTest::RigidMatrixTransformation3DTest() {
addTests({&RigidMatrixTransformation3DTest::fromMatrix,
addTests<RigidMatrixTransformation3DTest>({&RigidMatrixTransformation3DTest::fromMatrix,
&RigidMatrixTransformation3DTest::toMatrix,
&RigidMatrixTransformation3DTest::compose,
&RigidMatrixTransformation3DTest::inverted,

2
src/SceneGraph/Test/SceneTest.cpp

@ -41,7 +41,7 @@ typedef SceneGraph::Scene<SceneGraph::MatrixTransformation3D> Scene3D;
typedef SceneGraph::Object<SceneGraph::MatrixTransformation3D> Object3D;
SceneTest::SceneTest() {
addTests({&SceneTest::transformation,
addTests<SceneTest>({&SceneTest::transformation,
&SceneTest::parent});
}

2
src/SceneGraph/Test/TranslationTransformationTest.cpp

@ -51,7 +51,7 @@ class TranslationTransformationTest: public TestSuite::Tester {
};
TranslationTransformationTest::TranslationTransformationTest() {
addTests({&TranslationTransformationTest::fromMatrix,
addTests<TranslationTransformationTest>({&TranslationTransformationTest::fromMatrix,
&TranslationTransformationTest::toMatrix,
&TranslationTransformationTest::compose,
&TranslationTransformationTest::inverted,

2
src/Shapes/Test/AxisAlignedBoxTest.cpp

@ -40,7 +40,7 @@ class AxisAlignedBoxTest: public TestSuite::Tester {
};
AxisAlignedBoxTest::AxisAlignedBoxTest() {
addTests({&AxisAlignedBoxTest::transformed,
addTests<AxisAlignedBoxTest>({&AxisAlignedBoxTest::transformed,
&AxisAlignedBoxTest::collisionPoint});
}

2
src/Shapes/Test/BoxTest.cpp

@ -38,7 +38,7 @@ class BoxTest: public TestSuite::Tester {
};
BoxTest::BoxTest() {
addTests({&BoxTest::transformed});
addTests<BoxTest>({&BoxTest::transformed});
}
void BoxTest::transformed() {

2
src/Shapes/Test/CapsuleTest.cpp

@ -44,7 +44,7 @@ class CapsuleTest: public TestSuite::Tester {
};
CapsuleTest::CapsuleTest() {
addTests({&CapsuleTest::transformed,
addTests<CapsuleTest>({&CapsuleTest::transformed,
&CapsuleTest::collisionPoint,
&CapsuleTest::collisionSphere});
}

2
src/Shapes/Test/CollisionTest.cpp

@ -38,7 +38,7 @@ class CollisionTest: public TestSuite::Tester {
};
CollisionTest::CollisionTest() {
addTests({&CollisionTest::boolConversion,
addTests<CollisionTest>({&CollisionTest::boolConversion,
&CollisionTest::flipped});
}

2
src/Shapes/Test/CompositionTest.cpp

@ -52,7 +52,7 @@ class CompositionTest: public TestSuite::Tester {
};
CompositionTest::CompositionTest() {
addTests({&CompositionTest::negated,
addTests<CompositionTest>({&CompositionTest::negated,
&CompositionTest::anded,
&CompositionTest::ored,
&CompositionTest::multipleUnary,

2
src/Shapes/Test/CylinderTest.cpp

@ -44,7 +44,7 @@ class CylinderTest: public TestSuite::Tester {
};
CylinderTest::CylinderTest() {
addTests({&CylinderTest::transformed,
addTests<CylinderTest>({&CylinderTest::transformed,
&CylinderTest::collisionPoint,
&CylinderTest::collisionSphere});
}

2
src/Shapes/Test/LineTest.cpp

@ -38,7 +38,7 @@ class LineTest: public TestSuite::Tester {
};
LineTest::LineTest() {
addTests({&LineTest::transformed});
addTests<LineTest>({&LineTest::transformed});
}
void LineTest::transformed() {

2
src/Shapes/Test/PlaneTest.cpp

@ -41,7 +41,7 @@ class PlaneTest: public TestSuite::Tester {
};
PlaneTest::PlaneTest() {
addTests({&PlaneTest::transformed,
addTests<PlaneTest>({&PlaneTest::transformed,
&PlaneTest::collisionLine,
&PlaneTest::collisionLineSegment});
}

2
src/Shapes/Test/PointTest.cpp

@ -38,7 +38,7 @@ class PointTest: public TestSuite::Tester {
};
PointTest::PointTest() {
addTests({&PointTest::transformed});
addTests<PointTest>({&PointTest::transformed});
}
void PointTest::transformed() {

2
src/Shapes/Test/ShapeImplementationTest.cpp

@ -37,7 +37,7 @@ class ShapeImplementationTest: public TestSuite::Tester {
};
ShapeImplementationTest::ShapeImplementationTest() {
addTests({&ShapeImplementationTest::debug});
addTests<ShapeImplementationTest>({&ShapeImplementationTest::debug});
}
void ShapeImplementationTest::debug() {

2
src/Shapes/Test/ShapeTest.cpp

@ -50,7 +50,7 @@ typedef SceneGraph::Scene<SceneGraph::MatrixTransformation3D> Scene3D;
typedef SceneGraph::Object<SceneGraph::MatrixTransformation3D> Object3D;
ShapeTest::ShapeTest() {
addTests({&ShapeTest::clean,
addTests<ShapeTest>({&ShapeTest::clean,
&ShapeTest::firstCollision,
&ShapeTest::shapeGroup});
}

2
src/Shapes/Test/SphereTest.cpp

@ -47,7 +47,7 @@ class SphereTest: public TestSuite::Tester {
};
SphereTest::SphereTest() {
addTests({&SphereTest::transformed,
addTests<SphereTest>({&SphereTest::transformed,
&SphereTest::collisionPoint,
&SphereTest::collisionPointInverted,
&SphereTest::collisionLine,

2
src/Test/AbstractImageTest.cpp

@ -39,7 +39,7 @@ class AbstractImageTest: public TestSuite::Tester {
};
AbstractImageTest::AbstractImageTest() {
addTests({&AbstractImageTest::debugFormat,
addTests<AbstractImageTest>({&AbstractImageTest::debugFormat,
&AbstractImageTest::debugType});
}

2
src/Test/AbstractShaderProgramTest.cpp

@ -49,7 +49,7 @@ class AbstractShaderProgramTest: public TestSuite::Tester {
};
AbstractShaderProgramTest::AbstractShaderProgramTest() {
addTests({&AbstractShaderProgramTest::attributeScalar,
addTests<AbstractShaderProgramTest>({&AbstractShaderProgramTest::attributeScalar,
&AbstractShaderProgramTest::attributeScalarInt,
&AbstractShaderProgramTest::attributeScalarUnsignedInt,
&AbstractShaderProgramTest::attributeScalarDouble,

2
src/Test/ArrayTest.cpp

@ -42,7 +42,7 @@ typedef Magnum::Array2D<Int> Array2D;
typedef Magnum::Array3D<Int> Array3D;
ArrayTest::ArrayTest() {
addTests({&ArrayTest::construct,
addTests<ArrayTest>({&ArrayTest::construct,
&ArrayTest::equality,
&ArrayTest::access});
}

2
src/Test/ColorTest.cpp

@ -65,7 +65,7 @@ typedef BasicColor3<UnsignedByte> Color3ub;
typedef BasicColor4<UnsignedByte> Color4ub;
ColorTest::ColorTest() {
addTests({&ColorTest::construct,
addTests<ColorTest>({&ColorTest::construct,
&ColorTest::constructDefault,
&ColorTest::constructOneValue,
&ColorTest::constructParts,

2
src/Test/DefaultFramebufferTest.cpp

@ -37,7 +37,7 @@ class DefaultFramebufferTest: public TestSuite::Tester {
};
DefaultFramebufferTest::DefaultFramebufferTest() {
addTests({&DefaultFramebufferTest::debugStatus});
addTests<DefaultFramebufferTest>({&DefaultFramebufferTest::debugStatus});
}
void DefaultFramebufferTest::debugStatus() {

2
src/Test/FramebufferTest.cpp

@ -37,7 +37,7 @@ class FramebufferTest: public TestSuite::Tester {
};
FramebufferTest::FramebufferTest() {
addTests({&FramebufferTest::debugStatus});
addTests<FramebufferTest>({&FramebufferTest::debugStatus});
}
void FramebufferTest::debugStatus() {

2
src/Test/ImageTest.cpp

@ -39,7 +39,7 @@ class ImageTest: public TestSuite::Tester {
};
ImageTest::ImageTest() {
addTests({&ImageTest::moveConstructor,
addTests<ImageTest>({&ImageTest::moveConstructor,
&ImageTest::moveAssignment,
&ImageTest::toReference});
}

2
src/Test/MeshTest.cpp

@ -41,7 +41,7 @@ class MeshTest: public TestSuite::Tester {
};
MeshTest::MeshTest() {
addTests({&MeshTest::debugPrimitive,
addTests<MeshTest>({&MeshTest::debugPrimitive,
&MeshTest::debugIndexType,
&MeshTest::configurationPrimitive,
&MeshTest::configurationIndexType});

2
src/Test/RendererTest.cpp

@ -39,7 +39,7 @@ class RendererTest: public TestSuite::Tester {
};
RendererTest::RendererTest() {
addTests({&RendererTest::debugError});
addTests<RendererTest>({&RendererTest::debugError});
}
void RendererTest::debugError() {

2
src/Test/ResourceManagerTest.cpp

@ -61,7 +61,7 @@ typedef Magnum::ResourceManager<Int, Data> ResourceManager;
size_t Data::count = 0;
ResourceManagerTest::ResourceManagerTest() {
addTests({&ResourceManagerTest::state,
addTests<ResourceManagerTest>({&ResourceManagerTest::state,
&ResourceManagerTest::stateFallback,
&ResourceManagerTest::stateDisallowed,
&ResourceManagerTest::basic,

2
src/Test/SamplerTest.cpp

@ -39,7 +39,7 @@ class SamplerTest: public TestSuite::Tester {
};
SamplerTest::SamplerTest() {
addTests({&SamplerTest::debugFilter,
addTests<SamplerTest>({&SamplerTest::debugFilter,
&SamplerTest::debugMipmap,
&SamplerTest::debugWrapping});
}

2
src/Text/Test/AbstractFontConverterTest.cpp

@ -51,7 +51,7 @@ class AbstractFontConverterTest: public TestSuite::Tester {
};
AbstractFontConverterTest::AbstractFontConverterTest() {
addTests({&AbstractFontConverterTest::convertGlyphs,
addTests<AbstractFontConverterTest>({&AbstractFontConverterTest::convertGlyphs,
&AbstractFontConverterTest::exportFontToSingleData,
&AbstractFontConverterTest::exportFontToFile,

2
src/Text/Test/AbstractFontTest.cpp

@ -41,7 +41,7 @@ class AbstractFontTest: public TestSuite::Tester {
};
AbstractFontTest::AbstractFontTest() {
addTests({&AbstractFontTest::openSingleData,
addTests<AbstractFontTest>({&AbstractFontTest::openSingleData,
&AbstractFontTest::openFile});
}

2
src/Text/Test/AbstractLayouterTest.cpp

@ -37,7 +37,7 @@ class AbstractLayouterTest: public TestSuite::Tester {
};
AbstractLayouterTest::AbstractLayouterTest() {
addTests({&AbstractLayouterTest::renderGlyph});
addTests<AbstractLayouterTest>({&AbstractLayouterTest::renderGlyph});
}
void AbstractLayouterTest::renderGlyph() {

2
src/TextureTools/Test/AtlasTest.cpp

@ -41,7 +41,7 @@ class AtlasTest: public TestSuite::Tester {
};
AtlasTest::AtlasTest() {
addTests({&AtlasTest::create,
addTests<AtlasTest>({&AtlasTest::create,
&AtlasTest::createPadding,
&AtlasTest::createEmpty,
&AtlasTest::createTooSmall});

2
src/Trade/Test/AbstractImageConverterTest.cpp

@ -43,7 +43,7 @@ class AbstractImageConverterTest: public TestSuite::Tester {
};
AbstractImageConverterTest::AbstractImageConverterTest() {
addTests({&AbstractImageConverterTest::exportToFile});
addTests<AbstractImageConverterTest>({&AbstractImageConverterTest::exportToFile});
}
void AbstractImageConverterTest::exportToFile() {

2
src/Trade/Test/AbstractImporterTest.cpp

@ -40,7 +40,7 @@ class AbstractImporterTest: public TestSuite::Tester {
};
AbstractImporterTest::AbstractImporterTest() {
addTests({&AbstractImporterTest::openFile});
addTests<AbstractImporterTest>({&AbstractImporterTest::openFile});
}
void AbstractImporterTest::openFile() {

2
src/Trade/Test/AbstractMaterialDataTest.cpp

@ -37,7 +37,7 @@ class AbstractMaterialDataTest: public TestSuite::Tester {
};
AbstractMaterialDataTest::AbstractMaterialDataTest() {
addTests({&AbstractMaterialDataTest::debug});
addTests<AbstractMaterialDataTest>({&AbstractMaterialDataTest::debug});
}
void AbstractMaterialDataTest::debug() {

2
src/Trade/Test/ImageDataTest.cpp

@ -39,7 +39,7 @@ class ImageDataTest: public TestSuite::Tester {
};
ImageDataTest::ImageDataTest() {
addTests({&ImageDataTest::moveConstructor,
addTests<ImageDataTest>({&ImageDataTest::moveConstructor,
&ImageDataTest::moveAssignment,
&ImageDataTest::toReference});
}

2
src/Trade/Test/ObjectData2DTest.cpp

@ -37,7 +37,7 @@ class ObjectData2DTest: public TestSuite::Tester {
};
ObjectData2DTest::ObjectData2DTest() {
addTests({&ObjectData2DTest::debug});
addTests<ObjectData2DTest>({&ObjectData2DTest::debug});
}
void ObjectData2DTest::debug() {

2
src/Trade/Test/ObjectData3DTest.cpp

@ -37,7 +37,7 @@ class ObjectData3DTest: public TestSuite::Tester {
};
ObjectData3DTest::ObjectData3DTest() {
addTests({&ObjectData3DTest::debug});
addTests<ObjectData3DTest>({&ObjectData3DTest::debug});
}
void ObjectData3DTest::debug() {

2
src/Trade/Test/TextureDataTest.cpp

@ -37,7 +37,7 @@ class TextureDataTest: public TestSuite::Tester {
};
TextureDataTest::TextureDataTest() {
addTests({&TextureDataTest::debug});
addTests<TextureDataTest>({&TextureDataTest::debug});
}
void TextureDataTest::debug() {

Loading…
Cancel
Save