reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
namespace oceanbase {
|
||||
namespace common {
|
||||
class TestBase64Encoder : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
virtual void SetUp()
|
||||
{}
|
||||
virtual void TearDown()
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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()
|
||||
|
@ -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 {}
|
||||
|
||||
|
Reference in New Issue
Block a user