reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -22,7 +22,7 @@
namespace oceanbase {
namespace common {
class TestBase64Encoder : public ::testing::Test {
public:
public:
virtual void SetUp()
{}
virtual void TearDown()

View File

@ -19,18 +19,18 @@ using namespace common;
#define OK(value) ASSERT_EQ(OB_SUCCESS, (value))
class ObDiagnoseInfoTest : public ::testing::Test {
public:
public:
ObDiagnoseInfoTest();
virtual ~ObDiagnoseInfoTest();
virtual void SetUp();
virtual void TearDown();
private:
private:
// disallow copy
ObDiagnoseInfoTest(const ObDiagnoseInfoTest& other);
ObDiagnoseInfoTest& operator=(const ObDiagnoseInfoTest& other);
protected:
protected:
// data members
};

View File

@ -24,7 +24,7 @@ using namespace oceanbase::transaction;
namespace test {
class ObEndTransCallbacksTest : public ::testing::Test {
public:
public:
ObEndTransCallbacksTest()
{}
virtual ~ObEndTransCallbacksTest()
@ -34,12 +34,12 @@ class ObEndTransCallbacksTest : public ::testing::Test {
virtual void TearDown()
{}
private:
private:
// disallow copy
ObEndTransCallbacksTest(const ObEndTransCallbacksTest& other);
ObEndTransCallbacksTest& operator=(const ObEndTransCallbacksTest& other);
private:
private:
// data members
};
TEST_F(ObEndTransCallbacksTest, signal_wait)

View File

@ -19,7 +19,7 @@ using namespace oceanbase::sql;
using namespace oceanbase::common;
namespace test {
class ObSQLUtilsTest : public ::testing::Test {
public:
public:
ObSQLUtilsTest()
{}
virtual ~ObSQLUtilsTest()
@ -29,12 +29,12 @@ class ObSQLUtilsTest : public ::testing::Test {
virtual void TearDown()
{}
private:
private:
// disallow copy
ObSQLUtilsTest(const ObSQLUtilsTest& other);
ObSQLUtilsTest& operator=(const ObSQLUtilsTest& other);
private:
private:
// data members
};
TEST_F(ObSQLUtilsTest, make_field_name)

View File

@ -22,7 +22,7 @@ namespace test {
const int64_t SER_BUF_LEN = 10001;
const int64_t ITEM_CNT = 5;
class TestRowkey : public ::testing::Test {
public:
public:
TestRowkey()
{}
~TestRowkey()

View File

@ -32,7 +32,7 @@ using std::endl;
namespace oceanbase {
namespace common {
class TestAllocator : public ObIAllocator {
public:
public:
virtual void* alloc(const int64_t size) override
{
return std::malloc(size);
@ -47,7 +47,7 @@ class TestAllocator : public ObIAllocator {
}
};
class TestURowID {
public:
public:
// void SetUp() override {}
// void TearDown() override {}