reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -24,21 +24,21 @@ using namespace oceanbase::common;
|
||||
using namespace oceanbase::sql;
|
||||
|
||||
class TestRawExprCanonicalizer : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestRawExprCanonicalizer();
|
||||
virtual ~TestRawExprCanonicalizer();
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy
|
||||
DISALLOW_COPY_AND_ASSIGN(TestRawExprCanonicalizer);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// function members
|
||||
void canon(const char* expr, const char*& canon_expr);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// data members
|
||||
};
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ namespace test {
|
||||
})
|
||||
|
||||
class TestRawExprToStr : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestRawExprToStr()
|
||||
{}
|
||||
virtual ~TestRawExprToStr()
|
||||
@ -42,7 +42,7 @@ class TestRawExprToStr : public ::testing::Test {
|
||||
virtual void TearDown()
|
||||
{}
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy and assign
|
||||
TestRawExprToStr(const TestRawExprToStr& other);
|
||||
TestRawExprToStr& operator=(const TestRawExprToStr& ohter);
|
||||
|
||||
@ -18,19 +18,19 @@ using namespace oceanbase::common;
|
||||
using namespace oceanbase::sql;
|
||||
|
||||
class TestRawExprPrintVisitor : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestRawExprPrintVisitor();
|
||||
virtual ~TestRawExprPrintVisitor();
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy
|
||||
DISALLOW_COPY_AND_ASSIGN(TestRawExprPrintVisitor);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// function members
|
||||
protected:
|
||||
protected:
|
||||
// data members
|
||||
};
|
||||
|
||||
|
||||
@ -25,21 +25,21 @@ using namespace oceanbase::lib;
|
||||
using namespace oceanbase;
|
||||
|
||||
class TestRawExprResolver : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestRawExprResolver();
|
||||
virtual ~TestRawExprResolver();
|
||||
virtual void SetUp();
|
||||
virtual void TearDown();
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy
|
||||
DISALLOW_COPY_AND_ASSIGN(TestRawExprResolver);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// function members
|
||||
void resolve(const char* expr, const char*& json_expr);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// data members
|
||||
};
|
||||
|
||||
|
||||
@ -32,7 +32,7 @@ namespace test {
|
||||
})
|
||||
|
||||
class TestRawExprToStr : public ::testing::Test {
|
||||
public:
|
||||
public:
|
||||
TestRawExprToStr()
|
||||
{}
|
||||
virtual ~TestRawExprToStr()
|
||||
@ -42,7 +42,7 @@ class TestRawExprToStr : public ::testing::Test {
|
||||
virtual void TearDown()
|
||||
{}
|
||||
|
||||
private:
|
||||
private:
|
||||
// disallow copy and assign
|
||||
TestRawExprToStr(const TestRawExprToStr& other);
|
||||
TestRawExprToStr& operator=(const TestRawExprToStr& ohter);
|
||||
|
||||
Reference in New Issue
Block a user