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

@ -31,7 +31,7 @@ namespace share {
namespace schema {
class GetBatchSchemasFuncs0 {
public:
public:
// return non schema
int get_batch_tenants(const int64_t schema_version, ObArray<uint64_t>& tenant_ids, ObISQLClient& client,
ObIArray<ObTenantSchema>& tenant_infos)
@ -102,7 +102,7 @@ class GetBatchSchemasFuncs0 {
};
class GetBatchSchemasFuncs1 {
public:
public:
// return one schema
int get_batch_tenants(const int64_t schema_version, ObArray<uint64_t>& tenant_ids, ObISQLClient& client,
ObIArray<ObTenantSchema>& tenant_infos)
@ -197,11 +197,11 @@ class GetBatchSchemasFuncs1 {
};
class TestSchemaCache : public ::testing::Test {
public:
public:
virtual void SetUp();
virtual void TearDown();
private:
private:
GetBatchSchemasFuncs0 get_batch_schemas_funcs0;
GetBatchSchemasFuncs1 get_batch_schemas_funcs1;
};
@ -399,7 +399,7 @@ using ::testing::_;
using ::testing::Invoke;
using ::testing::Return;
class MockSchemaServiceSQLImpl : public ObSchemaServiceSQLImpl {
public:
public:
MOCK_METHOD4(get_batch_tenants, int(const int64_t, ObArray<uint64_t>&, ObISQLClient&, ObIArray<ObTenantSchema>&));
MOCK_METHOD4(get_batch_users, int(const int64_t, ObArray<uint64_t>&, ObISQLClient&, ObIArray<ObUserInfo>&));
MOCK_METHOD4(get_batch_databases, int(const int64_t, ObArray<uint64_t>&, ObISQLClient&, ObIArray<ObDatabaseSchema>&));