Preview of clang-format changes and CI

This commit is contained in:
Alexander Grund 2020-09-05 14:37:48 +02:00
parent bfd1701fcb
commit 805e3b02bf
No known key found for this signature in database
GPG key ID: E92C451FC21EF13F
98 changed files with 6339 additions and 11357 deletions

View file

@ -8,17 +8,13 @@
#include <turtle/mock.hpp>
namespace
{
MOCK_CLASS( my_class )
{
MOCK_METHOD_EXT( my_method, 1, void( int ), my_method )
};
bool constraint( int, int );
namespace {
MOCK_CLASS(my_class){MOCK_METHOD_EXT(my_method, 1, void(int), my_method)};
bool constraint(int, int);
void test_case()
{
my_class c;
MOCK_EXPECT( c.my_method ).with( &constraint );
}
void test_case()
{
my_class c;
MOCK_EXPECT(c.my_method).with(&constraint);
}
} // namespace