WIP: allow migrations for CoreStoreObjects

This commit is contained in:
John Estropia committed 2017-04-11 19:13:35 +09:00
1 parent e5ef4992d3
commit 9f3db61ff7
27 files changed
+1146 -691

No files matched your search

@@ -17,7 +17,7 @@ import CoreStore
class BaseTestDataTestCase: BaseTestCase {
@nonobjc
let dateFormatter: DateFormatter = {
let dateFormatter: DateFormatter = cs_lazy {
let formatter = DateFormatter()
formatter.locale = Locale(identifier: "en_US_POSIX")
@@ -25,7 +25,7 @@ class BaseTestDataTestCase: BaseTestCase {
formatter.calendar = Calendar(identifier: Calendar.Identifier.gregorian)
formatter.dateFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ssZ"
return formatter
}()
}
@nonobjc
func prepareTestDataForStack(_ stack: DataStack, configurations: [ModelConfiguration] = [nil]) {