Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • leggett/acts-core
  • adye/acts-core
  • xju/acts-core
  • corentin/acts-core
  • keli/acts-core
  • gli/acts-core
  • xai/acts-core
  • bschlag/acts-core
  • berkeleylab/acts/acts-core
  • emoyse/acts-core
  • smh/acts-core
  • pagessin/acts-core
  • chamont/acts-core
  • sroe/a-common-tracking-sw
  • calaf/a-common-tracking-sw
  • hgraslan/acts-core
16 results
Show changes
Commits on Source (2)
......@@ -7,9 +7,9 @@
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
/// Boost include(s)
#define BOOST_TEST_MODULE GeometryID Tests
#include <boost/test/included/unit_test.hpp>
#define BOOST_TEST_MODULE AlignmentContext Tests
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include "Acts/Detector/DetectorElementBase.hpp"
#include "Acts/Surfaces/PlanarBounds.hpp"
......@@ -34,7 +34,7 @@ namespace Test {
std::shared_ptr<const std::array<Transform3D, 2>> alignmentStore = nullptr;
/// Context index
unsigned int alignmentIndex;
unsigned int alignmentIndex{0};
/// Default contructor
AlignmentContext() {}
......@@ -171,7 +171,7 @@ namespace Test {
const auto& alignedSurface = alignedElement.surface();
// The alignment centexts
AlignmentContext defaultContext;
AlignmentContext defaultContext{};
AlignmentContext negativeContext(alignmentStore, 0);
AlignmentContext positiveContext(alignmentStore, 1);
......
add_executable (AlignmentContextTests AlingmentContextTests.cpp)
target_link_libraries (AlignmentContextTests PRIVATE ActsCore)
target_link_libraries (AlignmentContextTests PRIVATE ActsCore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
add_test (NAME AlignmentContextUnitTest COMMAND AlignmentContextTests)
acts_add_test_to_cdash_project (PROJECT ACore TEST AlignmentContextUnitTest TARGETS AlignmentContextTests)
......
......@@ -6,7 +6,7 @@ acts_add_test_to_cdash_project (PROJECT ACore TEST ParameterSetUnitTest TARGETS
add_executable (FittableTypeTests FittableTypeTests.cpp)
target_include_directories (FittableTypeTests PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries (FittableTypeTests PRIVATE ActsCore ActsTestsCommonHelpers)
target_link_libraries (FittableTypeTests PRIVATE ActsCore ActsTestsCommonHelpers ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
add_test (NAME FittableTypeTest COMMAND FittableTypeTests)
add_executable (MeasurementTests MeasurementTests.cpp)
......
......@@ -8,7 +8,8 @@
// clang-format off
#define BOOST_TEST_MODULE Fittable Type Tests
#include <boost/test/included/unit_test.hpp>
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
// clang-format on
#include <cmath>
......
......@@ -69,5 +69,5 @@ target_link_libraries (ResultTests PRIVATE ActsCore ActsTestsCommonHelpers ${Boo
add_test (NAME ResultTests COMMAND ResultTests)
add_executable (TypeTraitsTest TypeTraitsTest.cpp)
target_link_libraries (TypeTraitsTest PRIVATE ActsCore ActsTestsCommonHelpers)
target_link_libraries (TypeTraitsTest PRIVATE ActsCore ActsTestsCommonHelpers ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
add_test (NAME TypeTraitsTest COMMAND TypeTraitsTest)
......@@ -8,7 +8,8 @@
// clang-format off
#define BOOST_TEST_MODULE BoundParameters Tests
#include <boost/test/included/unit_test.hpp>
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
// clang-format on
......