diff options
author | Guillaume Campagna <guillaume.campagna@gmail.com> | 2017-04-20 20:09:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-25 13:56:34 (GMT) |
commit | bfa92e5725121d2c770fa6f0f47383c0436d768a (patch) | |
tree | 2eb4a4c383411b1599eebd2ecf5b9bc6e4b3da01 /Tests/XCTest/StaticLibExampleTests | |
parent | b4d3cdc8c504ddc5d2618203a831c950f8d0102a (diff) | |
download | CMake-bfa92e5725121d2c770fa6f0f47383c0436d768a.zip CMake-bfa92e5725121d2c770fa6f0f47383c0436d768a.tar.gz CMake-bfa92e5725121d2c770fa6f0f47383c0436d768a.tar.bz2 |
XCTest: Add support for static frameworks
Fixes: #16636
Diffstat (limited to 'Tests/XCTest/StaticLibExampleTests')
-rw-r--r-- | Tests/XCTest/StaticLibExampleTests/Info.plist | 24 | ||||
-rw-r--r-- | Tests/XCTest/StaticLibExampleTests/StaticLibExampleTests.m | 16 |
2 files changed, 40 insertions, 0 deletions
diff --git a/Tests/XCTest/StaticLibExampleTests/Info.plist b/Tests/XCTest/StaticLibExampleTests/Info.plist new file mode 100644 index 0000000..6ad9a27 --- /dev/null +++ b/Tests/XCTest/StaticLibExampleTests/Info.plist @@ -0,0 +1,24 @@ +<?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>CFBundleDevelopmentRegion</key> + <string>en</string> + <key>CFBundleExecutable</key> + <string>StaticLibExampleTests</string> + <key>CFBundleIdentifier</key> + <string>org.cmake.StaticLibExampleTests</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>StaticLibExampleTests</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleVersion</key> + <string>1</string> +</dict> +</plist> diff --git a/Tests/XCTest/StaticLibExampleTests/StaticLibExampleTests.m b/Tests/XCTest/StaticLibExampleTests/StaticLibExampleTests.m new file mode 100644 index 0000000..5f8a769 --- /dev/null +++ b/Tests/XCTest/StaticLibExampleTests/StaticLibExampleTests.m @@ -0,0 +1,16 @@ +#import <XCTest/XCTest.h> + +#import "StaticLibExample/StaticLibExample.h" + +@interface StaticLibExampleTests : XCTestCase + +@end + +@implementation StaticLibExampleTests + +- (void)testFourtyFour { + // This is an example of a functional test case. + XCTAssertEqual(44, FourtyFour()); +} + +@end |