File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ class TestNSPredicate: XCTestCase {
19
19
( " test_filterNSMutableSet " , test_filterNSMutableSet) ,
20
20
( " test_filterNSOrderedSet " , test_filterNSOrderedSet) ,
21
21
( " test_filterNSMutableOrderedSet " , test_filterNSMutableOrderedSet) ,
22
- ( " test_NSCoding " , test_NSCoding) ,
23
22
( " test_copy " , test_copy) ,
24
23
]
25
24
}
@@ -89,15 +88,6 @@ class TestNSPredicate: XCTestCase {
89
88
XCTAssertEqual ( expectedOrderedSet, orderedSet)
90
89
}
91
90
92
- func test_NSCoding( ) {
93
- let predicateA = NSPredicate ( value: true )
94
- let predicateB = NSKeyedUnarchiver . unarchiveObject ( with: NSKeyedArchiver . archivedData ( withRootObject: predicateA) ) as! NSPredicate
95
- XCTAssertEqual ( predicateA, predicateB, " Archived then unarchived uuid must be equal. " )
96
- let predicateC = NSPredicate ( value: false )
97
- let predicateD = NSKeyedUnarchiver . unarchiveObject ( with: NSKeyedArchiver . archivedData ( withRootObject: predicateC) ) as! NSPredicate
98
- XCTAssertEqual ( predicateC, predicateD, " Archived then unarchived uuid must be equal. " )
99
- }
100
-
101
91
func test_copy( ) {
102
92
let predicate = NSPredicate ( value: true )
103
93
XCTAssert ( predicate. isEqual ( predicate. copy ( ) ) )
You can’t perform that action at this time.
0 commit comments