This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update OCMock library from pre compiled to xcframework (#1813)
- Loading branch information
1 parent
eeb90aa
commit 3dcb965
Showing
115 changed files
with
8,391 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>AvailableLibraries</key> | ||
<array> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>OCMock.framework/Versions/A/OCMock</string> | ||
<key>DebugSymbolsPath</key> | ||
<string>dSYMs</string> | ||
<key>LibraryIdentifier</key> | ||
<string>macos-arm64_x86_64</string> | ||
<key>LibraryPath</key> | ||
<string>OCMock.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>macos</string> | ||
</dict> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>OCMock.framework/OCMock</string> | ||
<key>DebugSymbolsPath</key> | ||
<string>dSYMs</string> | ||
<key>LibraryIdentifier</key> | ||
<string>tvos-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>OCMock.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>tvos</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>OCMock.framework/OCMock</string> | ||
<key>DebugSymbolsPath</key> | ||
<string>dSYMs</string> | ||
<key>LibraryIdentifier</key> | ||
<string>watchos-arm64_i386_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>OCMock.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>i386</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>watchos</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>OCMock.framework/OCMock</string> | ||
<key>DebugSymbolsPath</key> | ||
<string>dSYMs</string> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64</string> | ||
<key>LibraryPath</key> | ||
<string>OCMock.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
</dict> | ||
<dict> | ||
<key>BinaryPath</key> | ||
<string>OCMock.framework/OCMock</string> | ||
<key>DebugSymbolsPath</key> | ||
<string>dSYMs</string> | ||
<key>LibraryIdentifier</key> | ||
<string>ios-arm64_x86_64-simulator</string> | ||
<key>LibraryPath</key> | ||
<string>OCMock.framework</string> | ||
<key>SupportedArchitectures</key> | ||
<array> | ||
<string>arm64</string> | ||
<string>x86_64</string> | ||
</array> | ||
<key>SupportedPlatform</key> | ||
<string>ios</string> | ||
<key>SupportedPlatformVariant</key> | ||
<string>simulator</string> | ||
</dict> | ||
</array> | ||
<key>CFBundlePackageType</key> | ||
<string>XFWK</string> | ||
<key>XCFrameworkFormatVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
2 changes: 1 addition & 1 deletion
2
...CMock/NSNotificationCenter+OCMAdditions.h → ...aders/NSNotificationCenter+OCMAdditions.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
Libraries/OCMock/OCMock.xcframework/ios-arm64/OCMock.framework/Headers/OCMQuantifier.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* Copyright (c) 2016-2021 Erik Doernenburg and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
* not use these files except in compliance with the License. You may obtain | ||
* a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
* License for the specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@interface OCMQuantifier : NSObject | ||
{ | ||
NSUInteger expectedCount; | ||
} | ||
|
||
+ (instancetype)never; | ||
+ (instancetype)exactly:(NSUInteger)count; | ||
+ (instancetype)atLeast:(NSUInteger)count; | ||
+ (instancetype)atMost:(NSUInteger)count; | ||
|
||
- (BOOL)isValidCount:(NSUInteger)count; | ||
|
||
- (NSString *)description; | ||
|
||
@end | ||
|
||
|
||
#define OCMNever() ([OCMQuantifier never]) | ||
#define OCMTimes(n) ([OCMQuantifier exactly:(n)]) | ||
#define OCMAtLeast(n) ([OCMQuantifier atLeast:(n)]) | ||
#define OCMAtMost(n) ([OCMQuantifier atMost:(n)]) | ||
|
||
#ifndef OCM_DISABLE_SHORT_QSYNTAX | ||
#define never() OCMNever() | ||
#define times(n) OCMTimes(n) | ||
#define atLeast(n) OCMAtLeast(n) | ||
#define atMost(n) OCMAtMost(n) | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.