1. 9284588 Support non-assignable (but movable) types in factory arguments when using registerFactory. by Marco Poletti · 3 years, 8 months ago
  2. c6d389d Fix bazel build errors introduced by 94cefefb42f3685c1d64664e6aa9cbaf834b25ee when the Fruit headers are not also installed on the system where bazel runs. by Marco Poletti · 3 years, 10 months ago
  3. c60370e Make the test_headers_copy library a static library. by Marco Poletti · 3 years, 11 months ago
  4. 3ccb5e1 Report a more user-friendly error when passing a signature with Assisted params to registerConstructor or when attempting to use implicit constructor injection for a constructor that has assisted params. by Marco Poletti · 3 years, 11 months ago
  5. faa6922 Declare the dep on boost in bazel, so that Fruit builds even on systems where Boost isn't installed. This required some refactoring of the testing code, since we can't depend on the Boost headers as a fileset (that we'd need) so generated code in tests can't include Boost anymore. by Marco Poletti · 4 years ago
  6. e1afb1b Update expected error regexes in tests to allow error messages from latest MSVC 2019. by Marco Poletti · 4 years, 1 month ago
  7. 44ad5c3 Skip 1 test under MSVC, its error message is bad due to an inconsistent behavior of abstract-class-returning function types. by Marco Poletti · 4 years, 2 months ago
  8. 1dfb553 Escape ADDITIONAL_INCLUDE_DIRS by tt4g · 4 years, 3 months ago
  9. 0f4cd2c Remove a redundant line from testing code. by Marco Poletti · 4 years, 3 months ago
  10. a82ef89 Fix test helpers for MSVC, there was a bug that caused most tests to fail. by Marco Poletti · 4 years, 3 months ago
  11. d2a8b44 Fix a test expectation to allow MSVC 2019's type name format. by Marco Poletti · 4 years, 3 months ago
  12. 1265210 Use find_package(Boost) by tt4g · 4 years, 3 months ago
  13. 2803116 Fix some testing code that handles compilation failures when using MSVC. by Marco Poletti · 4 years, 5 months ago
  14. 553d9ff Fix the pytest.ini file used for testing, apparently having two sections with the same name is forbidden. by Marco Poletti · 4 years, 5 months ago
  15. f989e03 Set a 5min timeout for each test case. One of the tests seems to be hanging in Appveyor CI runs, but ATM it's not clear which one is it. by Marco Poletti · 4 years, 5 months ago
  16. 7831fb5 Use os.getcwd() instead of env["PWD"] in testing code so that tests also work on Windows. by Marco Poletti · 4 years, 5 months ago
  17. 9c1ac1e Add a more complex test case for name demangling. by Marco Poletti · 4 years, 9 months ago
  18. 4ded6e2 Migrate tests to absl.testing, mainly to make Bazel test sharding work. by Marco Poletti · 4 years, 11 months ago
  19. 1201945 Print the env for commands executed in tests, to help debugging env-related issues. This is mainly useful for Bazel due to sandboxing. by Marco Poletti · 4 years, 11 months ago
  20. 32ac073 Fix test failures in Bazel when using sandboxing. by Marco Poletti · 4 years, 11 months ago
  21. 45b3fff Fix test failures with recent versions of Bazel. by Marco Poletti · 4 years, 11 months ago
  22. cfcfcab Use Bazel's CC variable instead of hardcoding g++. by Marco Poletti · 5 years ago
  23. b8d0230 Set a 'toolchains' param in a BUILD rule. This is needed for the code to compile with the latest version of bazel. by Marco Poletti · 5 years ago
  24. dae4ab4 Fix an expected error regex to support the error format of GCC 9. by Marco Poletti · 5 years ago
  25. 5dba717 Fix some Python PEP 8 warnings, notably including some warnings that were printed in all test runs causing a lot of noise in the log. by Marco Poletti · 5 years ago
  26. bc7a2df Revert part of commit f06151, that part actually made Fruit slightly slower now that the hash table is bigger. by Marco Poletti · 6 years ago
  27. c2975cf Set timeout=long on pytest tests, otherwise they sometimes time out on Travis CI. by Marco Poletti · 6 years ago
  28. 5fbea5b Another attempt at improving the error messages for componentFunction() misuse when using MSVC. by Marco Poletti · 6 years ago
  29. 7a0a167 Revert "Slight change to componentFunction() so that the user gets a better error in MSVC when they try to pass a param type that's not movable." by Marco Poletti · 6 years ago
  30. dc2acf5 Slight change to componentFunction() so that the user gets a better error in MSVC when they try to pass a param type that's not movable. by Marco Poletti · 6 years ago
  31. 5ac0a30 Update the test infrastructure to allow type variable replacements in generic errors. by Marco Poletti · 6 years ago
  32. 2a24a06 Fix some macro issues introduced by the previous commit. by Marco Poletti · 6 years ago
  33. 066d689 Use #if instead of #ifdef for Fruit macros (apart from include guards). by Marco Poletti · 6 years ago
  34. b5614e9 Allow the error format of old versions of Clang in test_component_function_error_not_move_constructible_with_conversion(). by Marco Poletti · 6 years ago
  35. 63ad421 Add a test for the case where a non-ComponentFunction object is passed to installComponentFunctions(). by Marco Poletti · 6 years ago
  36. ef35710 Merge branch 'master' of github.com:google/fruit by Marco Poletti · 6 years ago
  37. 3c9c517 Add a PartialComponent::installComponentFunctions() method that allows to install a variable number of components (typically by expanding a template parameter pack). by Marco Poletti · 6 years ago
  38. 4f1aacf Also allow MSVC 2015's error message in test_move_partial_component. by Marco Poletti · 6 years ago
  39. 4d60dc9 Disable the test test_register_factory_abstract_class_with_no_virtual_destructor_error on MSVC since it no longer triggers a compile error with latest MSVC. (investigation pending) by Marco Poletti · 6 years ago
  40. ad11a85 Set the correct expected compile error for MSVC in test_move_partial_component. by Marco Poletti · 6 years ago
  41. ed5ec82 Make PartialComponent non-movable. This catches at compile-time some cases where PartialComponent is used for non-temporary values. See issue 67. by Marco Poletti · 6 years ago
  42. 7430589 Disable the check on the error message's line number in the test where we expect warnings. by Marco Poletti · 6 years ago
  43. 0d23b1c Ignore warnings in a test about a base class with no virtual destructor. Some versions of Clang can detect this warning before the Fruit static assert does. by Marco Poletti · 6 years ago
  44. d81f3dc Make Fruit injectors accessible concurrently from multiple threads. This commit is probably backwards-incompatible on some platforms (e.g. OS X), so I expect CI errors in some configurations. I'll add a CMake flag to allow switching this off in a separate commit. by Marco Poletti · 6 years ago
  45. 45abc58 Add a missing import to fix compilation of Fruit tests. by Marco Poletti · 6 years ago
  46. 1b959ab Add a .clang-format config file and reformat all C++ source code using that. Also added some documentation on the preferred style in CONTRIBUTING.md. by Marco Poletti · 6 years ago
  47. 0c60627 Make the Fruit tests pass with recent versions of Bazel (e.g. 0.7.0). by Marco Poletti · 7 years ago
  48. 59fe3a2 A few more fixes to make Fruit work under MSVC 2015 and 2017 in Appveyor. by Marco Poletti · 7 years ago
  49. 7cdc510 Added support for MSVC 14 (VS2015) by Clayton Lemons · 7 years ago
  50. ec29699 Remove a use of an undeclared field from a test. by Marco Poletti · 7 years ago
  51. e12e043 Amend some expected error regexes in tests to allow MSVC's error format. by Marco Poletti · 7 years ago
  52. 072be7b Remove some unused fields from test classes, this triggers a warning with Clang (that becomes an error with -Werror). by Marco Poletti · 7 years ago
  53. 4d26bed Report a compile time error when an class must have a virtual destructor but doesn't have one. by Marco Poletti · 7 years ago
  54. cce3c88 Amend the expected error regexes to accommodate GCC 7's error format. by Marco Poletti · 7 years ago
  55. b1ba283 Allow MSVC-style errors in expected error regexes (second attempt). by Marco Poletti · 7 years ago
  56. 6e774e6 Fix the expected error regexes to accomodate MSVC-style errors. by Marco Poletti · 7 years ago
  57. 666ed2a Make install() de-duplication and component replacements work across NormalizedComponent+Component. by Marco Poletti · 7 years ago
  58. 6ae9208 Change Injector's and NormalizedComponent's constructors to take a component function + args (like the new PartialComponent::install) instead of taking a Component<> directly. by Marco Poletti · 7 years ago
  59. 3a92133 Allow implicit conversions in the arguments passed to PartialComponent's install() and replace().with() methods. by Marco Poletti · 7 years ago
  60. b645d15 (Yet another attempt to) accept MSVC-style errors in tests. by Marco Poletti · 7 years ago
  61. 95cb811 Allow bind<I,C> when C was bound as a constant (and I is only needed as a constant). by Marco Poletti · 7 years ago
  62. 418e9bf Allow binding const references in bindInstance. by Marco Poletti · 7 years ago
  63. d1bd4cb (Another attempt to) accept MSVC-style errors in tests. by Marco Poletti · 7 years ago
  64. 0d55521 Remove Injector::unsafeGet. Also change Fruit tests to use a Fruit-internal version of that (that returns a const pointer, in preparation for supporting const-only bindings). by Marco Poletti · 7 years ago
  65. 01df12b Fix a couple typos in expected error regexes, that were causing test failures. by Marco Poletti · 7 years ago
  66. 075584a Amend expected error regexes in new tests to allow MSVC-style errors. by Marco Poletti · 7 years ago
  67. f46f8b1 Amend the expected error regexes in new tests to allow Clang's error format. by Marco Poletti · 7 years ago
  68. 0d7ed50 Fix a couple of tests that were failing with AppleClang because it requires explicit initializers for constants. by Marco Poletti · 7 years ago
  69. 8fc67bd Fix the regexes for expected compiler errors so that they are not locale-dependent. by Marco Poletti · 7 years ago
  70. c84c7de Allow Component, NormalizedComponent, Injector and Provider to specify that they only require/provide a const T (instead of requiring/providing a T). This is in preparation for allowing const bindings. by Marco Poletti · 7 years ago
  71. b95efcc Report better errors when attempting to bind/inject a type that can't be bound/injected. Also add more thorough tests for these cases, in preparation for supporting const bindings. by Marco Poletti · 7 years ago
  72. 508af7c Remove Component's copy constructor, conversion operator and install method. by Marco Poletti · 7 years ago
  73. eac5509 Document that replacements can be stacked and add tests for this case. by Marco Poletti · 7 years ago
  74. 6ae7b96 Remove support for GCC 4.8.x, GCC 5.0.0 is now the minimum supported version. GCC 4.8.x segfaults when compiling Fruit after the latest changes, and it's quite old at this point. by Marco Poletti · 7 years ago
  75. 102a707 Add a new PartialComponent feature: component replacement. by Marco Poletti · 7 years ago
  76. 629be9d Delete dead code (found in the coerage report). by Marco Poletti · 7 years ago
  77. 07cdd35 Add support for collecting test coverage, and document how to do it. by Marco Poletti · 7 years ago
  78. a8c2964 Use arena allocation for temporary collections created when normalizing a component and when initializing an injector, to improve performance. by Marco Poletti · 7 years ago
  79. ec8b01f Run tests with -Werror (/WX for Visual Studio), even in release mode. Before this change, we weren't able to test that the deprecation warnings are emitted when they should be (unless compiling in debug mode). by Marco Poletti · 7 years ago
  80. a3a2eb7 Accept MSVC's error format in test_install_component_functions_loop. by Marco Poletti · 7 years ago
  81. 589fdbc Fix the order of multibindings (that was knowingly broken in commit c563512e), and add tests to make sure all corner-cases wrt lazy components are covered. by Marco Poletti · 7 years ago
  82. 1ac6414 Deprecate Component's copy constructor. With the new-style install() syntax Components can be lightweight, so when a copy is desired they can just be re-created instead. This should be a very rare use case anyway. Removing this copy constructor will allow us (in the next major version of Fruit) to remove the code to copy components and lazy component arguments, reducing the object size for code using Fruit. by Marco Poletti · 7 years ago
  83. 5f439ab Fix a bug in the Fruit testing code that potentially caused some deprecation to be ignored in tests. by Marco Poletti · 7 years ago
  84. 22938ee Allow MSVC's type format in test_install_component_functions_loop (for real this time). by Marco Poletti · 7 years ago
  85. 464ec21 Allow MSVC's type format in test_install_component_functions_loop. by Marco Poletti · 7 years ago
  86. c6fea76 Implement de-duping and loop checking for the new-style install() method. by Marco Poletti · 7 years ago
  87. a2ba2bc Update the expected MSVC error in test_install_with_args_error_not_copy_constructible. by Marco Poletti · 7 years ago
  88. c3e8591 Use 4 xdist workers for each test when running tests with Bazel. This reduces the overall runtime by ~25%. by Marco Poletti · 7 years ago
  89. e59ecde (Actually) fix tests under Bazel. by Marco Poletti · 7 years ago
  90. e671f22 Set PATH_TO_COMPILED_FRUIT_LIB when running tests with Bazel too (it's now required, otherwise the tests will fail). by Marco Poletti · 7 years ago
  91. 37fa6da Make Fruit tests work again when using MinGW on Windows. by Marco Poletti · 7 years ago
  92. e303871 Fix syntax errors in the test_old_style_deprecation_error test, that were causing test failures on non-Valgrind test runs. by Marco Poletti · 7 years ago
  93. e583926 Fix a typo in fruit's testing code that was causing test failures when testing under Valgrind. by Marco Poletti · 7 years ago
  94. 8105223 Skip the test_old_style_deprecation_error test in release mode, warnings are not necessarily errors there. by Marco Poletti · 7 years ago
  95. fb3c202 Avoid copying testing files to the build directory. by Marco Poletti · 7 years ago
  96. 6526573 Skip the test test_defn_file_inclusion on Windows, it doesn't work. by Marco Poletti · 7 years ago
  97. bee4d5a Various test fixes: by Marco Poletti · 7 years ago
  98. 6b0ec35 Skip the test_old_style_deprecation_error test on GCC 4.8.x, it doesn't work (the code compiles cleanly instead of reporting a deprecation warning). by Marco Poletti · 7 years ago
  99. e00461f Migrate all Fruit tests to pytest, to improve parallelization. After this change, it's no longer possible to run Fruit tests via CTest. by Marco Poletti · 7 years ago
  100. 9694cc7 Match any character (.) when expecting an open/closed quote in compiler error messages. The quote character might be different depending on the locale. by Marco Poletti · 7 years ago