1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/test
Alexander Wilms 6678aafbbb Update googletest submodule
Fixes the following warning, occurring during the linux-clang-test CI builds:

[824/832] Building CXX object test/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
In file included from /home/runner/work/vcmi/vcmi/test/googletest/googletest/src/gtest-all.cc:38:
In file included from /home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest.h:65:
In file included from /home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest-death-test.h:43:
In file included from /home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h:47:
In file included from /home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest-matchers.h:48:
/home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest-printers.h:532:9: warning: implicit conversion from 'int32_t' (aka 'int') to 'float' may lose precision [-Wimplicit-int-float-conversion]
  532 |     if (static_cast<int32_t>(val * mulfor6 + 0.5) / mulfor6 == val) return 6;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
/home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest-printers.h:551:17: note: in instantiation of function template specialization 'testing::internal::AppropriateResolution<float>' requested here
  551 |   os->precision(AppropriateResolution(f));
      |                 ^
/home/runner/work/vcmi/vcmi/test/googletest/googletest/include/gtest/gtest-printers.h:544:9: warning: implicit conversion from 'int32_t' (aka 'int') to 'float' may lose precision [-Wimplicit-int-float-conversion]
  544 |     if (static_cast<int32_t>(val / divfor6 + 0.5) * divfor6 == val) return 6;
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
2 warnings generated.
2024-08-02 15:09:48 +00:00
..
battle Use auto instead of redundant type in initializations using new 2024-01-16 21:40:53 +00:00
entity Split CTownHandler into smaller chunks 2024-07-21 18:21:48 +00:00
erm Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
events Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
game code review 2024-07-29 22:54:42 +02:00
googletest@b514bdc898 Update googletest submodule 2024-08-02 15:09:48 +00:00
map Fix test 2024-07-19 12:17:06 +00:00
mock Split CGeneralTextHandler file into 1 file per class form 2024-07-20 12:55:17 +00:00
netpacks Remove test for no longer existing logic 2024-06-01 12:18:09 +00:00
rmg Replace redundant types with auto for the lvalues of template factory functions for smart pointers 2024-01-17 12:50:00 +00:00
scripting lib now uses shared_ptr for entities. Removed manual memory management. 2024-05-17 15:04:05 +00:00
serializer vcmi: use std::optional 2023-04-17 00:43:13 +03:00
spells Remove usage of std::function from CRandomGenerator 2024-07-16 13:13:07 +00:00
testdata Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
vcai Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
CMakeLists.txt Remove test for no longer existing logic 2024-06-01 12:18:09 +00:00
CMemoryBufferTest.cpp
CVcmiTestConfig.cpp tests: disable settings.init() 2023-04-27 20:59:55 +03:00
CVcmiTestConfig.h Remove redundant virtual specifiers 2024-02-10 20:46:13 +01:00
JsonComparer.cpp Rename toJson to toString/toCompactString for consistency 2024-02-26 12:55:49 +02:00
JsonComparer.h Moved json files to new directory, split on per-class basis 2024-02-14 13:08:24 +02:00
main.cpp
StdInc.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
StdInc.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00