/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type LoggerPlugin, type PlainObject, LogService, AbstractPluginManager } from '@finos/legend-shared'; import type { PureGraphManagerPlugin } from '../PureGraphManagerPlugin.js'; import { GraphManagerState } from '../GraphManagerState.js'; import type { GraphManagerPluginManager } from '../GraphManagerPluginManager.js'; import type { PureProtocolProcessorPlugin } from '../protocol/pure/PureProtocolProcessorPlugin.js'; import type { Entity } from '@finos/legend-storage'; import type { GraphBuilderOptions } from '../AbstractPureGraphManager.js'; import type { PureGraphPlugin } from '../../graph/PureGraphPlugin.js'; export declare class TEST__GraphManagerPluginManager extends AbstractPluginManager implements GraphManagerPluginManager { protected loggerPlugins: LoggerPlugin[]; private pureProtocolProcessorPlugins; private pureGraphManagerPlugins; private pureGraphPlugins; registerLoggerPlugin(plugin: LoggerPlugin): void; registerPureGraphManagerPlugin(plugin: PureGraphManagerPlugin): void; registerPureProtocolProcessorPlugin(plugin: PureProtocolProcessorPlugin): void; registerPureGraphPlugin(plugin: PureGraphPlugin): void; getPureGraphManagerPlugins(): PureGraphManagerPlugin[]; getPureProtocolProcessorPlugins(): PureProtocolProcessorPlugin[]; getPureGraphPlugins(): PureGraphPlugin[]; getLoggerPlugins(): LoggerPlugin[]; } export declare const TEST__getTestGraphManagerState: (pluginManager?: GraphManagerPluginManager, logService?: LogService) => GraphManagerState; export declare const TEST__excludeSectionIndex: (entities: Entity[]) => Entity[]; export declare const TEST_DEBUG__expectToIncludeSameEntities: (expected: Entity[], actual: Entity[]) => void; export declare const TEST__ensureObjectFieldsAreSortedAlphabetically: (obj: PlainObject | unknown[]) => void; export declare const TEST__buildGraphWithEntities: (graphManagerState: GraphManagerState, entities: Entity[], options?: GraphBuilderOptions) => Promise; export declare const TEST__checkGraphHashUnchanged: (graphManagerState: GraphManagerState, entities: Entity[]) => Promise; export declare const TEST__checkBuildingElementsRoundtrip: (entities: Entity[], pluginManager?: GraphManagerPluginManager) => Promise; export declare const TEST__checkBuildingResolvedElements: (entities: Entity[], resolvedEntities: Entity[]) => Promise; //# sourceMappingURL=GraphManagerTestUtils.d.ts.map