Example #1
0
        public static void BeforeEveryTest()
        {
            TestAssetLocalStorageLmdbCtor.RebuildLocalStorageFolder(DATABASE_FOLDER_PATH, TestStorageManager.WRITE_CACHE_FILE_PATH);

            _localStorage = _localStorageLmdb = new AssetLocalStorageLmdb(
                _chattelConfigRead,
                DATABASE_MAX_SIZE_BYTES
                );
        }
Example #2
0
 public static void Startup()
 {
     // Folder has to be there or the config fails.
     TestAssetLocalStorageLmdbCtor.RebuildLocalStorageFolder(DATABASE_FOLDER_PATH, TestStorageManager.WRITE_CACHE_FILE_PATH);
     _chattelConfigRead = new ChattelConfiguration(DATABASE_FOLDER_PATH);
 }