mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-27 19:02:37 +01:00
CSInto unit tests
This commit is contained in:
1 parent
11d428c05c
commit
82887b1dd2
7 files changed
+479
-337
No files matched your search
@@ -41,6 +41,17 @@ import CoreData
|
||||
*/
|
||||
public struct Into<T: NSManagedObject>: Hashable {
|
||||
|
||||
/**
|
||||
The associated `NSManagedObject` entity class
|
||||
*/
|
||||
public let entityClass: AnyClass
|
||||
|
||||
/**
|
||||
The `NSPersistentStore` configuration name to associate objects from.
|
||||
May contain a `String` to pertain to a named configuration, or `nil` to pertain to the default configuration
|
||||
*/
|
||||
public let configuration: String?
|
||||
|
||||
/**
|
||||
Initializes an `Into` clause.
|
||||
```
|
||||
@@ -145,8 +156,6 @@ public struct Into<T: NSManagedObject>: Hashable {
|
||||
return "PF_DEFAULT_CONFIGURATION_NAME"
|
||||
}
|
||||
|
||||
internal let entityClass: AnyClass
|
||||
internal let configuration: String?
|
||||
internal let inferStoreIfPossible: Bool
|
||||
|
||||
internal func upcast() -> Into<NSManagedObject> {
|
||||
|
||||
Reference in new issue
Block a user