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

@ -41,7 +41,7 @@ using namespace std;
#define IO_CNT 1
class QHandler : public ObiReqQHandler {
public:
public:
QHandler(ObMultiVersionSchemaService* schema_service) : mp_(schema_service)
{
mp_.init();
@ -72,14 +72,14 @@ class QHandler : public ObiReqQHandler {
return true;
}
private:
private:
ObGetAllSchemaP mp_;
ObRpcSessionHandler shandler_;
ObRpcReqContext ctx_;
};
class ObTestDeliver : public rpc::frame::ObReqDeliver {
public:
public:
ObTestDeliver(ObMultiVersionSchemaService* schema_service) : handler_(schema_service)
{}
int init()
@ -101,13 +101,13 @@ class ObTestDeliver : public rpc::frame::ObReqDeliver {
queue_.wait();
}
protected:
protected:
ObReqQueueThread queue_;
QHandler handler_;
};
class TestSchemaServiceRpcProxy : public ::testing::Test {
public:
public:
TestSchemaServiceRpcProxy() : port_(3100), handler_(server_), server_(&schema_service_), transport_(NULL)
{}
@ -199,7 +199,7 @@ class TestSchemaServiceRpcProxy : public ::testing::Test {
return transport_->send(req, res);
}
protected:
protected:
int port_;
rpc::frame::ObNetEasy net_;
obrpc::ObRpcHandler handler_;