mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-31 19:24:55 +01:00
Make test cases run again.
This commit is contained in:
parent
5a852c1615
commit
1b49788a0a
@ -2998,7 +2998,6 @@
|
||||
baseConfigurationReference = D5907CDD2002F0BE005947E5 /* NetNewsWire_project_debug.xcconfig */;
|
||||
buildSettings = {
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
@ -3007,7 +3006,6 @@
|
||||
baseConfigurationReference = D5907CDC2002F0BE005947E5 /* NetNewsWire_project_release.xcconfig */;
|
||||
buildSettings = {
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.14;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
@ -3045,6 +3043,7 @@
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = D5907CDF2002F0F9005947E5 /* NetNewsWireTests_target.xcconfig */;
|
||||
buildSettings = {
|
||||
CODE_SIGN_IDENTITY = "-";
|
||||
PRODUCT_NAME = NetNewsWireTests;
|
||||
};
|
||||
name = Debug;
|
||||
|
@ -31,7 +31,7 @@ class AppleScriptXCTestCase: XCTestCase {
|
||||
func doIndividualScript(filename:String) -> NSAppleEventDescriptor? {
|
||||
var errorDict: NSDictionary? = nil
|
||||
let testBundle = Bundle(for: type(of: self))
|
||||
let url = testBundle.url(forResource:filename, withExtension:"applescript", subdirectory:"TestScripts")
|
||||
let url = testBundle.url(forResource:filename, withExtension:"scpt")
|
||||
guard let testScriptUrl = url else {
|
||||
XCTFail("Failed Getting script URL")
|
||||
return nil
|
||||
|
@ -22,7 +22,7 @@ extension NSAppleEventDescriptor {
|
||||
print ("error: usrfDictionary() expected input to be a record")
|
||||
return [:]
|
||||
}
|
||||
guard let usrfList = self.forKeyword("usrf".FourCharCode()) else {
|
||||
guard let usrfList = self.forKeyword("usrf".fourCharCode()) else {
|
||||
print ("error: usrfDictionary() couldn't find usrf")
|
||||
return [:]
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
COMBINE_HIDPI_IMAGES = YES
|
||||
BUNDLE_LOADER = $(TEST_HOST)
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks
|
||||
INFOPLIST_FILE = NetNewsWireTests/Info.plist
|
||||
INFOPLIST_FILE = Tests/NetNewsWireTests/Info.plist
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.ranchero.NetNewsWireTests
|
||||
PRODUCT_NAME = $(TARGET_NAME)
|
||||
TEST_HOST = $(BUILT_PRODUCTS_DIR)/NetNewsWire.app/Contents/MacOS/NetNewsWire
|
||||
|
Loading…
x
Reference in New Issue
Block a user