From f2b82a393f856881e89f7af8557d0296439e172c Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Tue, 24 Jul 2018 08:25:02 -0400 Subject: [PATCH] [xtro][foundation] Move some API to common-Foundation.ignore since they are now common across all OS (#4494) --- tests/xtro-sharpie/common-Foundation.ignore | 55 ++++++++++++++++++++- tests/xtro-sharpie/iOS-Foundation.todo | 51 ------------------- tests/xtro-sharpie/macOS-Foundation.ignore | 51 ------------------- tests/xtro-sharpie/tvOS-Foundation.todo | 52 ------------------- tests/xtro-sharpie/watchOS-Foundation.todo | 52 ------------------- 5 files changed, 54 insertions(+), 207 deletions(-) delete mode 100644 tests/xtro-sharpie/iOS-Foundation.todo delete mode 100644 tests/xtro-sharpie/tvOS-Foundation.todo delete mode 100644 tests/xtro-sharpie/watchOS-Foundation.todo diff --git a/tests/xtro-sharpie/common-Foundation.ignore b/tests/xtro-sharpie/common-Foundation.ignore index ab974b7a5e..ace4e4c9c1 100644 --- a/tests/xtro-sharpie/common-Foundation.ignore +++ b/tests/xtro-sharpie/common-Foundation.ignore @@ -882,4 +882,57 @@ !unknown-type! NSObject bound ## Used 'INSFastEnumeration' placeholer (just so we can start flagging things) -!missing-protocol-conformance! NSDictionary should conform to NSFastEnumeration (defined in 'NSGenericFastEnumeraiton' category) \ No newline at end of file +!missing-protocol-conformance! NSDictionary should conform to NSFastEnumeration (defined in 'NSGenericFastEnumeraiton' category) + +## never bound (or requested) for macOS, added to iOS/tvOS/watchOS in xcode10 +!missing-field! NSNonOwnedPointerHashCallBacks not bound +!missing-field! NSNonOwnedPointerMapKeyCallBacks not bound +!missing-field! NSNonOwnedPointerMapValueCallBacks not bound +!missing-field! NSNonOwnedPointerOrNullMapKeyCallBacks not bound +!missing-field! NSNonRetainedObjectHashCallBacks not bound +!missing-field! NSNonRetainedObjectMapKeyCallBacks not bound +!missing-field! NSNonRetainedObjectMapValueCallBacks not bound +!missing-field! NSObjectHashCallBacks not bound +!missing-field! NSObjectMapKeyCallBacks not bound +!missing-field! NSObjectMapValueCallBacks not bound +!missing-field! NSOwnedObjectIdentityHashCallBacks not bound +!missing-field! NSOwnedPointerHashCallBacks not bound +!missing-field! NSOwnedPointerMapKeyCallBacks not bound +!missing-field! NSOwnedPointerMapValueCallBacks not bound +!missing-field! NSPointerToStructHashCallBacks not bound +!missing-pinvoke! NSAllHashTableObjects is not bound +!missing-pinvoke! NSAllMapTableKeys is not bound +!missing-pinvoke! NSAllMapTableValues is not bound +!missing-pinvoke! NSCompareHashTables is not bound +!missing-pinvoke! NSCompareMapTables is not bound +!missing-pinvoke! NSCopyHashTableWithZone is not bound +!missing-pinvoke! NSCopyMapTableWithZone is not bound +!missing-pinvoke! NSCountHashTable is not bound +!missing-pinvoke! NSCountMapTable is not bound +!missing-pinvoke! NSCreateHashTable is not bound +!missing-pinvoke! NSCreateHashTableWithZone is not bound +!missing-pinvoke! NSCreateMapTable is not bound +!missing-pinvoke! NSCreateMapTableWithZone is not bound +!missing-pinvoke! NSEndHashTableEnumeration is not bound +!missing-pinvoke! NSEndMapTableEnumeration is not bound +!missing-pinvoke! NSEnumerateHashTable is not bound +!missing-pinvoke! NSEnumerateMapTable is not bound +!missing-pinvoke! NSFreeHashTable is not bound +!missing-pinvoke! NSFreeMapTable is not bound +!missing-pinvoke! NSHashGet is not bound +!missing-pinvoke! NSHashInsert is not bound +!missing-pinvoke! NSHashInsertIfAbsent is not bound +!missing-pinvoke! NSHashInsertKnownAbsent is not bound +!missing-pinvoke! NSHashRemove is not bound +!missing-pinvoke! NSMapGet is not bound +!missing-pinvoke! NSMapInsert is not bound +!missing-pinvoke! NSMapInsertIfAbsent is not bound +!missing-pinvoke! NSMapInsertKnownAbsent is not bound +!missing-pinvoke! NSMapMember is not bound +!missing-pinvoke! NSMapRemove is not bound +!missing-pinvoke! NSNextHashEnumeratorItem is not bound +!missing-pinvoke! NSNextMapEnumeratorPair is not bound +!missing-pinvoke! NSResetHashTable is not bound +!missing-pinvoke! NSResetMapTable is not bound +!missing-pinvoke! NSStringFromHashTable is not bound +!missing-pinvoke! NSStringFromMapTable is not bound diff --git a/tests/xtro-sharpie/iOS-Foundation.todo b/tests/xtro-sharpie/iOS-Foundation.todo deleted file mode 100644 index 380fe73561..0000000000 --- a/tests/xtro-sharpie/iOS-Foundation.todo +++ /dev/null @@ -1,51 +0,0 @@ -!missing-field! NSNonOwnedPointerHashCallBacks not bound -!missing-field! NSNonOwnedPointerMapKeyCallBacks not bound -!missing-field! NSNonOwnedPointerMapValueCallBacks not bound -!missing-field! NSNonOwnedPointerOrNullMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectHashCallBacks not bound -!missing-field! NSNonRetainedObjectMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectMapValueCallBacks not bound -!missing-field! NSObjectHashCallBacks not bound -!missing-field! NSObjectMapKeyCallBacks not bound -!missing-field! NSObjectMapValueCallBacks not bound -!missing-field! NSOwnedObjectIdentityHashCallBacks not bound -!missing-field! NSOwnedPointerHashCallBacks not bound -!missing-field! NSOwnedPointerMapKeyCallBacks not bound -!missing-field! NSOwnedPointerMapValueCallBacks not bound -!missing-field! NSPointerToStructHashCallBacks not bound -!missing-pinvoke! NSAllHashTableObjects is not bound -!missing-pinvoke! NSAllMapTableKeys is not bound -!missing-pinvoke! NSAllMapTableValues is not bound -!missing-pinvoke! NSCompareHashTables is not bound -!missing-pinvoke! NSCompareMapTables is not bound -!missing-pinvoke! NSCopyHashTableWithZone is not bound -!missing-pinvoke! NSCopyMapTableWithZone is not bound -!missing-pinvoke! NSCountHashTable is not bound -!missing-pinvoke! NSCountMapTable is not bound -!missing-pinvoke! NSCreateHashTable is not bound -!missing-pinvoke! NSCreateHashTableWithZone is not bound -!missing-pinvoke! NSCreateMapTable is not bound -!missing-pinvoke! NSCreateMapTableWithZone is not bound -!missing-pinvoke! NSEndHashTableEnumeration is not bound -!missing-pinvoke! NSEndMapTableEnumeration is not bound -!missing-pinvoke! NSEnumerateHashTable is not bound -!missing-pinvoke! NSEnumerateMapTable is not bound -!missing-pinvoke! NSFreeHashTable is not bound -!missing-pinvoke! NSFreeMapTable is not bound -!missing-pinvoke! NSHashGet is not bound -!missing-pinvoke! NSHashInsert is not bound -!missing-pinvoke! NSHashInsertIfAbsent is not bound -!missing-pinvoke! NSHashInsertKnownAbsent is not bound -!missing-pinvoke! NSHashRemove is not bound -!missing-pinvoke! NSMapGet is not bound -!missing-pinvoke! NSMapInsert is not bound -!missing-pinvoke! NSMapInsertIfAbsent is not bound -!missing-pinvoke! NSMapInsertKnownAbsent is not bound -!missing-pinvoke! NSMapMember is not bound -!missing-pinvoke! NSMapRemove is not bound -!missing-pinvoke! NSNextHashEnumeratorItem is not bound -!missing-pinvoke! NSNextMapEnumeratorPair is not bound -!missing-pinvoke! NSResetHashTable is not bound -!missing-pinvoke! NSResetMapTable is not bound -!missing-pinvoke! NSStringFromHashTable is not bound -!missing-pinvoke! NSStringFromMapTable is not bound diff --git a/tests/xtro-sharpie/macOS-Foundation.ignore b/tests/xtro-sharpie/macOS-Foundation.ignore index ed0c10547c..209355f79a 100644 --- a/tests/xtro-sharpie/macOS-Foundation.ignore +++ b/tests/xtro-sharpie/macOS-Foundation.ignore @@ -76,22 +76,7 @@ !missing-field! NSNegativeCurrencyFormatString not bound !missing-field! NSNextDayDesignations not bound !missing-field! NSNextNextDayDesignations not bound -!missing-field! NSNonOwnedPointerHashCallBacks not bound -!missing-field! NSNonOwnedPointerMapKeyCallBacks not bound -!missing-field! NSNonOwnedPointerMapValueCallBacks not bound -!missing-field! NSNonOwnedPointerOrNullMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectHashCallBacks not bound -!missing-field! NSNonRetainedObjectMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectMapValueCallBacks not bound -!missing-field! NSObjectHashCallBacks not bound -!missing-field! NSObjectMapKeyCallBacks not bound -!missing-field! NSObjectMapValueCallBacks not bound !missing-field! NSOperationNotSupportedForKeyException not bound -!missing-field! NSOwnedObjectIdentityHashCallBacks not bound -!missing-field! NSOwnedPointerHashCallBacks not bound -!missing-field! NSOwnedPointerMapKeyCallBacks not bound -!missing-field! NSOwnedPointerMapValueCallBacks not bound -!missing-field! NSPointerToStructHashCallBacks not bound !missing-field! NSPositiveCurrencyFormatString not bound !missing-field! NSPriorDayDesignations not bound !missing-field! NSShortDateFormatString not bound @@ -112,40 +97,16 @@ !missing-field! NSZeroRect not bound !missing-field! NSZeroSize not bound !missing-field! NSZombieEnabled not bound -!missing-pinvoke! NSAllHashTableObjects is not bound -!missing-pinvoke! NSAllMapTableKeys is not bound -!missing-pinvoke! NSAllMapTableValues is not bound !missing-pinvoke! NSAllocateCollectable is not bound -!missing-pinvoke! NSCompareHashTables is not bound -!missing-pinvoke! NSCompareMapTables is not bound !missing-pinvoke! NSContainsRect is not bound -!missing-pinvoke! NSCopyHashTableWithZone is not bound -!missing-pinvoke! NSCopyMapTableWithZone is not bound !missing-pinvoke! NSCountFrames is not bound -!missing-pinvoke! NSCountHashTable is not bound -!missing-pinvoke! NSCountMapTable is not bound -!missing-pinvoke! NSCreateHashTable is not bound -!missing-pinvoke! NSCreateHashTableWithZone is not bound -!missing-pinvoke! NSCreateMapTable is not bound -!missing-pinvoke! NSCreateMapTableWithZone is not bound !missing-pinvoke! NSDivideRect is not bound !missing-pinvoke! NSEdgeInsetsEqual is not bound -!missing-pinvoke! NSEndHashTableEnumeration is not bound -!missing-pinvoke! NSEndMapTableEnumeration is not bound -!missing-pinvoke! NSEnumerateHashTable is not bound -!missing-pinvoke! NSEnumerateMapTable is not bound !missing-pinvoke! NSEqualPoints is not bound !missing-pinvoke! NSEqualRects is not bound !missing-pinvoke! NSEqualSizes is not bound !missing-pinvoke! NSFileTypeForHFSTypeCode is not bound !missing-pinvoke! NSFrameAddress is not bound -!missing-pinvoke! NSFreeHashTable is not bound -!missing-pinvoke! NSFreeMapTable is not bound -!missing-pinvoke! NSHashGet is not bound -!missing-pinvoke! NSHashInsert is not bound -!missing-pinvoke! NSHashInsertIfAbsent is not bound -!missing-pinvoke! NSHashInsertKnownAbsent is not bound -!missing-pinvoke! NSHashRemove is not bound !missing-pinvoke! NSHFSTypeCodeFromFileType is not bound !missing-pinvoke! NSHFSTypeOfFile is not bound !missing-pinvoke! NSInsetRect is not bound @@ -155,27 +116,15 @@ !missing-pinvoke! NSIntersectsRect is not bound !missing-pinvoke! NSIsEmptyRect is not bound !missing-pinvoke! NSIsFreedObject is not bound -!missing-pinvoke! NSMapGet is not bound -!missing-pinvoke! NSMapInsert is not bound -!missing-pinvoke! NSMapInsertIfAbsent is not bound -!missing-pinvoke! NSMapInsertKnownAbsent is not bound -!missing-pinvoke! NSMapMember is not bound -!missing-pinvoke! NSMapRemove is not bound !missing-pinvoke! NSMouseInRect is not bound -!missing-pinvoke! NSNextHashEnumeratorItem is not bound -!missing-pinvoke! NSNextMapEnumeratorPair is not bound !missing-pinvoke! NSOffsetRect is not bound !missing-pinvoke! NSPointFromString is not bound !missing-pinvoke! NSPointInRect is not bound !missing-pinvoke! NSReallocateCollectable is not bound !missing-pinvoke! NSRecordAllocationEvent is not bound !missing-pinvoke! NSRectFromString is not bound -!missing-pinvoke! NSResetHashTable is not bound -!missing-pinvoke! NSResetMapTable is not bound !missing-pinvoke! NSReturnAddress is not bound !missing-pinvoke! NSSizeFromString is not bound -!missing-pinvoke! NSStringFromHashTable is not bound -!missing-pinvoke! NSStringFromMapTable is not bound !missing-pinvoke! NSStringFromPoint is not bound !missing-pinvoke! NSStringFromRect is not bound !missing-pinvoke! NSStringFromSize is not bound diff --git a/tests/xtro-sharpie/tvOS-Foundation.todo b/tests/xtro-sharpie/tvOS-Foundation.todo deleted file mode 100644 index e9a688a6e6..0000000000 --- a/tests/xtro-sharpie/tvOS-Foundation.todo +++ /dev/null @@ -1,52 +0,0 @@ -!missing-field! NSNonOwnedPointerHashCallBacks not bound -!missing-field! NSNonOwnedPointerMapKeyCallBacks not bound -!missing-field! NSNonOwnedPointerMapValueCallBacks not bound -!missing-field! NSNonOwnedPointerOrNullMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectHashCallBacks not bound -!missing-field! NSNonRetainedObjectMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectMapValueCallBacks not bound -!missing-field! NSObjectHashCallBacks not bound -!missing-field! NSObjectMapKeyCallBacks not bound -!missing-field! NSObjectMapValueCallBacks not bound -!missing-field! NSOwnedObjectIdentityHashCallBacks not bound -!missing-field! NSOwnedPointerHashCallBacks not bound -!missing-field! NSOwnedPointerMapKeyCallBacks not bound -!missing-field! NSOwnedPointerMapValueCallBacks not bound -!missing-field! NSPointerToStructHashCallBacks not bound -!missing-pinvoke! NSAllHashTableObjects is not bound -!missing-pinvoke! NSAllMapTableKeys is not bound -!missing-pinvoke! NSAllMapTableValues is not bound -!missing-pinvoke! NSCompareHashTables is not bound -!missing-pinvoke! NSCompareMapTables is not bound -!missing-pinvoke! NSCopyHashTableWithZone is not bound -!missing-pinvoke! NSCopyMapTableWithZone is not bound -!missing-pinvoke! NSCountHashTable is not bound -!missing-pinvoke! NSCountMapTable is not bound -!missing-pinvoke! NSCreateHashTable is not bound -!missing-pinvoke! NSCreateHashTableWithZone is not bound -!missing-pinvoke! NSCreateMapTable is not bound -!missing-pinvoke! NSCreateMapTableWithZone is not bound -!missing-pinvoke! NSEndHashTableEnumeration is not bound -!missing-pinvoke! NSEndMapTableEnumeration is not bound -!missing-pinvoke! NSEnumerateHashTable is not bound -!missing-pinvoke! NSEnumerateMapTable is not bound -!missing-pinvoke! NSFreeHashTable is not bound -!missing-pinvoke! NSFreeMapTable is not bound -!missing-pinvoke! NSHashGet is not bound -!missing-pinvoke! NSHashInsert is not bound -!missing-pinvoke! NSHashInsertIfAbsent is not bound -!missing-pinvoke! NSHashInsertKnownAbsent is not bound -!missing-pinvoke! NSHashRemove is not bound -!missing-pinvoke! NSMapGet is not bound -!missing-pinvoke! NSMapInsert is not bound -!missing-pinvoke! NSMapInsertIfAbsent is not bound -!missing-pinvoke! NSMapInsertKnownAbsent is not bound -!missing-pinvoke! NSMapMember is not bound -!missing-pinvoke! NSMapRemove is not bound -!missing-pinvoke! NSNextHashEnumeratorItem is not bound -!missing-pinvoke! NSNextMapEnumeratorPair is not bound -!missing-pinvoke! NSResetHashTable is not bound -!missing-pinvoke! NSResetMapTable is not bound -!missing-pinvoke! NSStringFromHashTable is not bound -!missing-pinvoke! NSStringFromMapTable is not bound - diff --git a/tests/xtro-sharpie/watchOS-Foundation.todo b/tests/xtro-sharpie/watchOS-Foundation.todo deleted file mode 100644 index e9a688a6e6..0000000000 --- a/tests/xtro-sharpie/watchOS-Foundation.todo +++ /dev/null @@ -1,52 +0,0 @@ -!missing-field! NSNonOwnedPointerHashCallBacks not bound -!missing-field! NSNonOwnedPointerMapKeyCallBacks not bound -!missing-field! NSNonOwnedPointerMapValueCallBacks not bound -!missing-field! NSNonOwnedPointerOrNullMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectHashCallBacks not bound -!missing-field! NSNonRetainedObjectMapKeyCallBacks not bound -!missing-field! NSNonRetainedObjectMapValueCallBacks not bound -!missing-field! NSObjectHashCallBacks not bound -!missing-field! NSObjectMapKeyCallBacks not bound -!missing-field! NSObjectMapValueCallBacks not bound -!missing-field! NSOwnedObjectIdentityHashCallBacks not bound -!missing-field! NSOwnedPointerHashCallBacks not bound -!missing-field! NSOwnedPointerMapKeyCallBacks not bound -!missing-field! NSOwnedPointerMapValueCallBacks not bound -!missing-field! NSPointerToStructHashCallBacks not bound -!missing-pinvoke! NSAllHashTableObjects is not bound -!missing-pinvoke! NSAllMapTableKeys is not bound -!missing-pinvoke! NSAllMapTableValues is not bound -!missing-pinvoke! NSCompareHashTables is not bound -!missing-pinvoke! NSCompareMapTables is not bound -!missing-pinvoke! NSCopyHashTableWithZone is not bound -!missing-pinvoke! NSCopyMapTableWithZone is not bound -!missing-pinvoke! NSCountHashTable is not bound -!missing-pinvoke! NSCountMapTable is not bound -!missing-pinvoke! NSCreateHashTable is not bound -!missing-pinvoke! NSCreateHashTableWithZone is not bound -!missing-pinvoke! NSCreateMapTable is not bound -!missing-pinvoke! NSCreateMapTableWithZone is not bound -!missing-pinvoke! NSEndHashTableEnumeration is not bound -!missing-pinvoke! NSEndMapTableEnumeration is not bound -!missing-pinvoke! NSEnumerateHashTable is not bound -!missing-pinvoke! NSEnumerateMapTable is not bound -!missing-pinvoke! NSFreeHashTable is not bound -!missing-pinvoke! NSFreeMapTable is not bound -!missing-pinvoke! NSHashGet is not bound -!missing-pinvoke! NSHashInsert is not bound -!missing-pinvoke! NSHashInsertIfAbsent is not bound -!missing-pinvoke! NSHashInsertKnownAbsent is not bound -!missing-pinvoke! NSHashRemove is not bound -!missing-pinvoke! NSMapGet is not bound -!missing-pinvoke! NSMapInsert is not bound -!missing-pinvoke! NSMapInsertIfAbsent is not bound -!missing-pinvoke! NSMapInsertKnownAbsent is not bound -!missing-pinvoke! NSMapMember is not bound -!missing-pinvoke! NSMapRemove is not bound -!missing-pinvoke! NSNextHashEnumeratorItem is not bound -!missing-pinvoke! NSNextMapEnumeratorPair is not bound -!missing-pinvoke! NSResetHashTable is not bound -!missing-pinvoke! NSResetMapTable is not bound -!missing-pinvoke! NSStringFromHashTable is not bound -!missing-pinvoke! NSStringFromMapTable is not bound -