UNPKG

delta-sync

Version:

A lightweight framework for bi-directional database synchronization with automatic version tracking and conflict resolution.

46 lines (45 loc) 1.21 kB
import { DatabaseAdapter } from '../core/types'; export declare class AdapterFunctionTester { private adapter; private testStoreName; private testFileContent; constructor(adapter: DatabaseAdapter, testStoreName?: string); runAllTests(): Promise<{ success: boolean; results: Record<string, { success: boolean; message: string; }>; }>; testInitialization(): Promise<{ success: boolean; message: string; }>; testAvailability(): Promise<{ success: boolean; message: string; }>; testBasicCrud(): Promise<{ success: boolean; message: string; }>; testBulkOperations(): Promise<{ success: boolean; message: string; }>; testBatchFileOperations(): Promise<{ success: boolean; message: string; }>; testLargeFileOperations(): Promise<{ success: boolean; message: string; }>; } export declare function testAdapterFunctionality(adapter: DatabaseAdapter, testStoreName?: string): Promise<{ success: boolean; results: Record<string, { success: boolean; message: string; }>; }>;