reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -22,7 +22,7 @@ using namespace oceanbase::common;
|
||||
ObMemAttr attr;
|
||||
|
||||
class TestBlockSet : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestBlockSet() : tallocator_(500)
|
||||
{}
|
||||
virtual void SetUp()
|
||||
@ -53,7 +53,7 @@ class TestBlockSet : public ::testing::Test {
|
||||
// ASSERT_EQ(56, (uint64_t)p & 0xFF) << ((uint64_t)p & 0xFF);
|
||||
}
|
||||
|
||||
protected:
|
||||
protected:
|
||||
ObTenantCtxAllocator tallocator_;
|
||||
BlockSet cs_;
|
||||
};
|
||||
|
||||
@ -27,7 +27,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
class TestChunkMgr : public ::testing::Test, public AChunkMgr {
|
||||
public:
|
||||
public:
|
||||
virtual void SetUp()
|
||||
{}
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
class TestMallocHook : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
virtual void SetUp()
|
||||
{}
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
class TestObjectMgr : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
void* Malloc(uint64_t size)
|
||||
{
|
||||
// void *p = NULL;
|
||||
|
||||
@ -24,7 +24,7 @@ ObMemAttr attr;
|
||||
|
||||
class TestObjectSet : public ::testing::Test {
|
||||
class ObjecSetLocker : public ISetLocker {
|
||||
public:
|
||||
public:
|
||||
ObjecSetLocker()
|
||||
{}
|
||||
void lock() override
|
||||
@ -37,7 +37,7 @@ class TestObjectSet : public ::testing::Test {
|
||||
}
|
||||
};
|
||||
|
||||
public:
|
||||
public:
|
||||
TestObjectSet() : tallocator_(500), os_locker_(), bs_(), os_()
|
||||
{}
|
||||
|
||||
@ -96,7 +96,7 @@ class TestObjectSet : public ::testing::Test {
|
||||
UNUSED(ptr);
|
||||
}
|
||||
|
||||
protected:
|
||||
protected:
|
||||
ObTenantCtxAllocator tallocator_;
|
||||
ObjecSetLocker os_locker_;
|
||||
BlockSet bs_;
|
||||
|
||||
Reference in New Issue
Block a user