Searched refs:testDatabaseDir (Results 1 – 6 of 6) sorted by relevance
| /expo/packages/expo-updates/ios/Tests/ |
| H A D | DatabaseIntegrityCheckSpec.swift | 17 var testDatabaseDir: URL! in spec() variable 22 testDatabaseDir = applicationSupportDir!.appendingPathComponent("UpdatesDatabaseTests") in spec() 24 try? FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 26 if !FileManager.default.fileExists(atPath: testDatabaseDir.path) { in spec() 27 …try! FileManager.default.createDirectory(atPath: testDatabaseDir.path, withIntermediateDirectories… in spec() 32 try! db.openDatabase(inDirectory: testDatabaseDir) in spec() 41 try! FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 90 …try! UpdatesDatabaseIntegrityCheck().run(withDatabase: db, directory: testDatabaseDir, config: con… in spec() 153 directory: testDatabaseDir, in spec()
|
| H A D | AppLauncherWithDatabaseSpec.swift | 39 var testDatabaseDir: URL! in spec() variable 44 testDatabaseDir = applicationSupportDir!.appendingPathComponent("UpdatesDatabaseTests") in spec() 46 try? FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 48 if !FileManager.default.fileExists(atPath: testDatabaseDir.path) { in spec() 49 …try! FileManager.default.createDirectory(atPath: testDatabaseDir.path, withIntermediateDirectories… in spec() 54 try! db.openDatabase(inDirectory: testDatabaseDir) in spec() 63 try! FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 118 directory: testDatabaseDir, in spec()
|
| H A D | DatabaseInitializationSpec.swift | 287 var testDatabaseDir: URL! in spec() variable 330 inDirectory: testDatabaseDir, in spec() 397 inDirectory: testDatabaseDir, in spec() 482 inDirectory: testDatabaseDir, in spec() 513 inDirectory: testDatabaseDir, in spec() 592 inDirectory: testDatabaseDir, in spec() 623 inDirectory: testDatabaseDir, in spec() 699 inDirectory: testDatabaseDir, in spec() 719 inDirectory: testDatabaseDir, in spec() 735 inDirectory: testDatabaseDir, in spec() [all …]
|
| H A D | FileDownloaderSpec.swift | 11 var testDatabaseDir: URL! in spec() variable 16 testDatabaseDir = applicationSupportDir!.appendingPathComponent("UpdatesDatabaseTests") in spec() 18 try? FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 20 if !FileManager.default.fileExists(atPath: testDatabaseDir.path) { in spec() 21 …try! FileManager.default.createDirectory(atPath: testDatabaseDir.path, withIntermediateDirectories… in spec() 26 try! db.openDatabase(inDirectory: testDatabaseDir) in spec() 35 try! FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec()
|
| H A D | UpdatesBuildDataSpec.swift | 13 var testDatabaseDir: URL! in spec() variable 27 testDatabaseDir = applicationSupportDir!.appendingPathComponent("UpdatesDatabaseTests") in spec() 29 try? FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 31 if !FileManager.default.fileExists(atPath: testDatabaseDir.path) { in spec() 32 …try! FileManager.default.createDirectory(atPath: testDatabaseDir.path, withIntermediateDirectories… in spec() 37 try! db.openDatabase(inDirectory: testDatabaseDir) in spec() 92 try! FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec()
|
| H A D | UpdatesDatabaseSpec.swift | 10 var testDatabaseDir: URL! in spec() variable 17 testDatabaseDir = applicationSupportDir!.appendingPathComponent("UpdatesDatabaseTests") in spec() 19 try? FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec() 21 if !FileManager.default.fileExists(atPath: testDatabaseDir.path) { in spec() 22 …try! FileManager.default.createDirectory(atPath: testDatabaseDir.path, withIntermediateDirectories… in spec() 27 try! db.openDatabase(inDirectory: testDatabaseDir) in spec() 47 try! FileManager.default.removeItem(atPath: testDatabaseDir.path) in spec()
|