tests: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-19 21:22:56 -05:00
parent 9fd312ce04
commit 0a64bb6f9b
108 changed files with 505 additions and 647 deletions

View File

@ -9,8 +9,7 @@
#include "include/base/cef_logging.h"
#include "include/base/cef_macros.h"
namespace client {
namespace performance_test {
namespace client::performance_test {
// Default number of iterations.
extern const int kDefaultIterations;
@ -35,7 +34,7 @@ typedef PERF_TEST_RESULT(PerfTest(PERF_TEST_PARAMS));
class CefTimer {
public:
CefTimer() : running_(false) {}
CefTimer() = default;
bool IsRunning() { return running_; }
@ -57,7 +56,7 @@ class CefTimer {
}
private:
bool running_;
bool running_ = false;
CefTime start_;
CefTime stop_;
@ -96,7 +95,6 @@ struct PerfTestEntry {
extern const PerfTestEntry kPerfTests[];
extern const int kPerfTestsCount;
} // namespace performance_test
} // namespace client
} // namespace client::performance_test
#endif // CEF_TESTS_CEFCLIENT_RENDERER_PERFORMANCE_TEST_H_