reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -33,7 +33,7 @@ namespace observer {
|
||||
class TestInformationSchemaService : public ::testing::Test {
|
||||
typedef int (*schema_create_func)(share::schema::ObTableSchema& table_schema);
|
||||
|
||||
public:
|
||||
public:
|
||||
TestInformationSchemaService();
|
||||
virtual ~TestInformationSchemaService()
|
||||
{}
|
||||
@ -47,7 +47,7 @@ class TestInformationSchemaService : public ::testing::Test {
|
||||
|
||||
void fill_session();
|
||||
|
||||
protected:
|
||||
protected:
|
||||
// ObSchemaManager schema_manager_;
|
||||
ObArenaAllocator allocator_;
|
||||
sql::ObSQLSessionInfo session_info_;
|
||||
@ -117,7 +117,7 @@ void TestInformationSchemaService::fill_table_schema(
|
||||
}
|
||||
|
||||
class MockObSchemaGetterGuard : public ObSchemaGetterGuard {
|
||||
public:
|
||||
public:
|
||||
int add_database_schema(ObDatabaseSchema* database_schema);
|
||||
int add_table_schema(ObTableSchema* table_schema);
|
||||
MOCK_METHOD2(get_database_schemas_in_tenant,
|
||||
@ -128,7 +128,7 @@ class MockObSchemaGetterGuard : public ObSchemaGetterGuard {
|
||||
int get_table_schemas_from_database(
|
||||
const uint64_t tenant_id, const uint64_t database_id, ObIArray<const ObTableSchema*>& table_schemas);
|
||||
|
||||
private:
|
||||
private:
|
||||
ObSArray<const ObDatabaseSchema*> database_schemas_;
|
||||
ObSArray<const ObTableSchema*> table_schemas_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user