mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -20,7 +20,7 @@ using TestFunction = Function<void()>;
|
|||
|
||||
class TestCase : public RefCounted<TestCase> {
|
||||
public:
|
||||
TestCase(const String& name, TestFunction&& fn, bool is_benchmark)
|
||||
TestCase(String const& name, TestFunction&& fn, bool is_benchmark)
|
||||
: m_name(name)
|
||||
, m_function(move(fn))
|
||||
, m_is_benchmark(is_benchmark)
|
||||
|
@ -28,8 +28,8 @@ public:
|
|||
}
|
||||
|
||||
bool is_benchmark() const { return m_is_benchmark; }
|
||||
const String& name() const { return m_name; }
|
||||
const TestFunction& func() const { return m_function; }
|
||||
String const& name() const { return m_name; }
|
||||
TestFunction const& func() const { return m_function; }
|
||||
|
||||
private:
|
||||
String m_name;
|
||||
|
@ -38,7 +38,7 @@ private:
|
|||
};
|
||||
|
||||
// Helper to hide implementation of TestSuite from users
|
||||
void add_test_case_to_suite(const NonnullRefPtr<TestCase>& test_case);
|
||||
void add_test_case_to_suite(NonnullRefPtr<TestCase> const& test_case);
|
||||
void set_suite_setup_function(Function<void()> setup);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue