mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Goodbye OCTest, Hello XCTest
Some tests are still failing after the new key datastore transition.
This commit is contained in:
parent
ad6ff23618
commit
675956f792
|
@ -382,6 +382,7 @@
|
||||||
AA0C8E498E2046B0B81EEE6E /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8313AE91B4954215858A5662 /* libPods.a */; };
|
AA0C8E498E2046B0B81EEE6E /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8313AE91B4954215858A5662 /* libPods.a */; };
|
||||||
B62686301964AE3D00D2D697 /* LogSubmit.m in Sources */ = {isa = PBXBuildFile; fileRef = B626862F1964AE3D00D2D697 /* LogSubmit.m */; };
|
B62686301964AE3D00D2D697 /* LogSubmit.m in Sources */ = {isa = PBXBuildFile; fileRef = B626862F1964AE3D00D2D697 /* LogSubmit.m */; };
|
||||||
B67EBF5D19194AC60084CCFD /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = B67EBF5C19194AC60084CCFD /* Settings.bundle */; };
|
B67EBF5D19194AC60084CCFD /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = B67EBF5C19194AC60084CCFD /* Settings.bundle */; };
|
||||||
|
B69CD25119773E79005CE69A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B69CD25019773E79005CE69A /* XCTest.framework */; };
|
||||||
B6B1013C196D213F007E3930 /* SGNKeychainUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = B6B1013B196D213F007E3930 /* SGNKeychainUtil.m */; };
|
B6B1013C196D213F007E3930 /* SGNKeychainUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = B6B1013B196D213F007E3930 /* SGNKeychainUtil.m */; };
|
||||||
B6B6C3C71919440C00C0B76B /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = B6B6C3C51919440C00C0B76B /* Localizable.strings */; };
|
B6B6C3C71919440C00C0B76B /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = B6B6C3C51919440C00C0B76B /* Localizable.strings */; };
|
||||||
B90418E6183E9DD40038554A /* DateUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = B90418E5183E9DD40038554A /* DateUtil.m */; };
|
B90418E6183E9DD40038554A /* DateUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = B90418E5183E9DD40038554A /* DateUtil.m */; };
|
||||||
|
@ -421,7 +422,6 @@
|
||||||
D221A090169C9E5E00537ABF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08F169C9E5E00537ABF /* Foundation.framework */; };
|
D221A090169C9E5E00537ABF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08F169C9E5E00537ABF /* Foundation.framework */; };
|
||||||
D221A092169C9E5E00537ABF /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A091169C9E5E00537ABF /* CoreGraphics.framework */; };
|
D221A092169C9E5E00537ABF /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A091169C9E5E00537ABF /* CoreGraphics.framework */; };
|
||||||
D221A09A169C9E5E00537ABF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D221A099169C9E5E00537ABF /* main.m */; };
|
D221A09A169C9E5E00537ABF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D221A099169C9E5E00537ABF /* main.m */; };
|
||||||
D221A0AC169C9E5F00537ABF /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A0AB169C9E5F00537ABF /* SenTestingKit.framework */; };
|
|
||||||
D221A0AD169C9E5F00537ABF /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08D169C9E5E00537ABF /* UIKit.framework */; };
|
D221A0AD169C9E5F00537ABF /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08D169C9E5E00537ABF /* UIKit.framework */; };
|
||||||
D221A0AE169C9E5F00537ABF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08F169C9E5E00537ABF /* Foundation.framework */; };
|
D221A0AE169C9E5F00537ABF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A08F169C9E5E00537ABF /* Foundation.framework */; };
|
||||||
D221A0E8169DFFC500537ABF /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A0E7169DFFC500537ABF /* AVFoundation.framework */; };
|
D221A0E8169DFFC500537ABF /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D221A0E7169DFFC500537ABF /* AVFoundation.framework */; };
|
||||||
|
@ -622,6 +622,20 @@
|
||||||
remoteGlobalIDString = A1FDCBF916DBC57D00868894;
|
remoteGlobalIDString = A1FDCBF916DBC57D00868894;
|
||||||
remoteInfo = speex;
|
remoteInfo = speex;
|
||||||
};
|
};
|
||||||
|
B6913FF419773C5000AE2BF5 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = D221A080169C9E5E00537ABF /* Project object */;
|
||||||
|
proxyType = 1;
|
||||||
|
remoteGlobalIDString = D221A088169C9E5E00537ABF;
|
||||||
|
remoteInfo = Signal;
|
||||||
|
};
|
||||||
|
B6913FF619773C5100AE2BF5 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = D221A080169C9E5E00537ABF /* Project object */;
|
||||||
|
proxyType = 1;
|
||||||
|
remoteGlobalIDString = D221A088169C9E5E00537ABF;
|
||||||
|
remoteInfo = Signal;
|
||||||
|
};
|
||||||
D221A0AF169C9E5F00537ABF /* PBXContainerItemProxy */ = {
|
D221A0AF169C9E5F00537ABF /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = D221A080169C9E5E00537ABF /* Project object */;
|
containerPortal = D221A080169C9E5E00537ABF /* Project object */;
|
||||||
|
@ -1093,6 +1107,7 @@
|
||||||
B626862F1964AE3D00D2D697 /* LogSubmit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LogSubmit.m; sourceTree = "<group>"; };
|
B626862F1964AE3D00D2D697 /* LogSubmit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LogSubmit.m; sourceTree = "<group>"; };
|
||||||
B657DDC91911A40500F45B0C /* Signal.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Signal.entitlements; sourceTree = "<group>"; };
|
B657DDC91911A40500F45B0C /* Signal.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Signal.entitlements; sourceTree = "<group>"; };
|
||||||
B67EBF5C19194AC60084CCFD /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = SettingsBundle/Settings.bundle; sourceTree = SOURCE_ROOT; };
|
B67EBF5C19194AC60084CCFD /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Settings.bundle; path = SettingsBundle/Settings.bundle; sourceTree = SOURCE_ROOT; };
|
||||||
|
B69CD25019773E79005CE69A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
B6B1013A196D213F007E3930 /* SGNKeychainUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SGNKeychainUtil.h; sourceTree = "<group>"; };
|
B6B1013A196D213F007E3930 /* SGNKeychainUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SGNKeychainUtil.h; sourceTree = "<group>"; };
|
||||||
B6B1013B196D213F007E3930 /* SGNKeychainUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SGNKeychainUtil.m; sourceTree = "<group>"; };
|
B6B1013B196D213F007E3930 /* SGNKeychainUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SGNKeychainUtil.m; sourceTree = "<group>"; };
|
||||||
B6B6C3C61919440C00C0B76B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
|
B6B6C3C61919440C00C0B76B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
|
||||||
|
@ -1139,8 +1154,7 @@
|
||||||
D221A095169C9E5E00537ABF /* Signal-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Signal-Info.plist"; sourceTree = "<group>"; };
|
D221A095169C9E5E00537ABF /* Signal-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Signal-Info.plist"; sourceTree = "<group>"; };
|
||||||
D221A099169C9E5E00537ABF /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
D221A099169C9E5E00537ABF /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||||
D221A09B169C9E5E00537ABF /* Signal-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Signal-Prefix.pch"; sourceTree = "<group>"; };
|
D221A09B169C9E5E00537ABF /* Signal-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Signal-Prefix.pch"; sourceTree = "<group>"; };
|
||||||
D221A0AA169C9E5F00537ABF /* SignalTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SignalTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
|
D221A0AA169C9E5F00537ABF /* SignalTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SignalTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
D221A0AB169C9E5F00537ABF /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
|
|
||||||
D221A0E7169DFFC500537ABF /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = ../../../../../../System/Library/Frameworks/AVFoundation.framework; sourceTree = "<group>"; };
|
D221A0E7169DFFC500537ABF /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = ../../../../../../System/Library/Frameworks/AVFoundation.framework; sourceTree = "<group>"; };
|
||||||
D24B5BD4169F568C00681372 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = ../../../../../../System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<group>"; };
|
D24B5BD4169F568C00681372 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = ../../../../../../System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<group>"; };
|
||||||
D2AEACDB16C426DA00C364C0 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
|
D2AEACDB16C426DA00C364C0 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
|
||||||
|
@ -1340,6 +1354,7 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
B69CD25119773E79005CE69A /* XCTest.framework in Frameworks */,
|
||||||
E1368CBE18A1C36B00109378 /* MessageUI.framework in Frameworks */,
|
E1368CBE18A1C36B00109378 /* MessageUI.framework in Frameworks */,
|
||||||
A10FDF79184FB4BB007FF963 /* MediaPlayer.framework in Frameworks */,
|
A10FDF79184FB4BB007FF963 /* MediaPlayer.framework in Frameworks */,
|
||||||
A1A018531805C60D00A052A6 /* CoreGraphics.framework in Frameworks */,
|
A1A018531805C60D00A052A6 /* CoreGraphics.framework in Frameworks */,
|
||||||
|
@ -1351,7 +1366,6 @@
|
||||||
D202868316DBE0FC009068E9 /* CoreTelephony.framework in Frameworks */,
|
D202868316DBE0FC009068E9 /* CoreTelephony.framework in Frameworks */,
|
||||||
D202868216DBE0F4009068E9 /* SystemConfiguration.framework in Frameworks */,
|
D202868216DBE0F4009068E9 /* SystemConfiguration.framework in Frameworks */,
|
||||||
D202868116DBE0E7009068E9 /* CFNetwork.framework in Frameworks */,
|
D202868116DBE0E7009068E9 /* CFNetwork.framework in Frameworks */,
|
||||||
D221A0AC169C9E5F00537ABF /* SenTestingKit.framework in Frameworks */,
|
|
||||||
D221A0AD169C9E5F00537ABF /* UIKit.framework in Frameworks */,
|
D221A0AD169C9E5F00537ABF /* UIKit.framework in Frameworks */,
|
||||||
D221A0AE169C9E5F00537ABF /* Foundation.framework in Frameworks */,
|
D221A0AE169C9E5F00537ABF /* Foundation.framework in Frameworks */,
|
||||||
AA0C8E498E2046B0B81EEE6E /* libPods.a in Frameworks */,
|
AA0C8E498E2046B0B81EEE6E /* libPods.a in Frameworks */,
|
||||||
|
@ -2460,7 +2474,7 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
D221A089169C9E5E00537ABF /* Signal.app */,
|
D221A089169C9E5E00537ABF /* Signal.app */,
|
||||||
D221A0AA169C9E5F00537ABF /* SignalTests.octest */,
|
D221A0AA169C9E5F00537ABF /* SignalTests.xctest */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -2468,6 +2482,7 @@
|
||||||
D221A08C169C9E5E00537ABF /* Frameworks */ = {
|
D221A08C169C9E5E00537ABF /* Frameworks */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
B69CD25019773E79005CE69A /* XCTest.framework */,
|
||||||
70377AAA1918450100CAF501 /* MobileCoreServices.framework */,
|
70377AAA1918450100CAF501 /* MobileCoreServices.framework */,
|
||||||
B9EB5ABC1884C002007CBB57 /* MessageUI.framework */,
|
B9EB5ABC1884C002007CBB57 /* MessageUI.framework */,
|
||||||
A1C32D4D17A0652C000A904E /* AddressBook.framework */,
|
A1C32D4D17A0652C000A904E /* AddressBook.framework */,
|
||||||
|
@ -2486,7 +2501,6 @@
|
||||||
D221A08D169C9E5E00537ABF /* UIKit.framework */,
|
D221A08D169C9E5E00537ABF /* UIKit.framework */,
|
||||||
D221A08F169C9E5E00537ABF /* Foundation.framework */,
|
D221A08F169C9E5E00537ABF /* Foundation.framework */,
|
||||||
D221A091169C9E5E00537ABF /* CoreGraphics.framework */,
|
D221A091169C9E5E00537ABF /* CoreGraphics.framework */,
|
||||||
D221A0AB169C9E5F00537ABF /* SenTestingKit.framework */,
|
|
||||||
8313AE91B4954215858A5662 /* libPods.a */,
|
8313AE91B4954215858A5662 /* libPods.a */,
|
||||||
);
|
);
|
||||||
name = Frameworks;
|
name = Frameworks;
|
||||||
|
@ -2659,11 +2673,13 @@
|
||||||
);
|
);
|
||||||
dependencies = (
|
dependencies = (
|
||||||
D221A0B0169C9E5F00537ABF /* PBXTargetDependency */,
|
D221A0B0169C9E5F00537ABF /* PBXTargetDependency */,
|
||||||
|
B6913FF519773C5000AE2BF5 /* PBXTargetDependency */,
|
||||||
|
B6913FF719773C5100AE2BF5 /* PBXTargetDependency */,
|
||||||
);
|
);
|
||||||
name = SignalTests;
|
name = SignalTests;
|
||||||
productName = RedPhoneTests;
|
productName = RedPhoneTests;
|
||||||
productReference = D221A0AA169C9E5F00537ABF /* SignalTests.octest */;
|
productReference = D221A0AA169C9E5F00537ABF /* SignalTests.xctest */;
|
||||||
productType = "com.apple.product-type.bundle";
|
productType = "com.apple.product-type.bundle.unit-test";
|
||||||
};
|
};
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
|
@ -2671,7 +2687,7 @@
|
||||||
D221A080169C9E5E00537ABF /* Project object */ = {
|
D221A080169C9E5E00537ABF /* Project object */ = {
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastTestingUpgradeCheck = 0510;
|
LastTestingUpgradeCheck = 0600;
|
||||||
LastUpgradeCheck = 0500;
|
LastUpgradeCheck = 0500;
|
||||||
ORGANIZATIONNAME = "Open Whisper Systems";
|
ORGANIZATIONNAME = "Open Whisper Systems";
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
|
@ -2686,6 +2702,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
D221A0A9169C9E5F00537ABF = {
|
||||||
|
TestTargetID = D221A088169C9E5E00537ABF;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
buildConfigurationList = D221A083169C9E5E00537ABF /* Build configuration list for PBXProject "Signal" */;
|
buildConfigurationList = D221A083169C9E5E00537ABF /* Build configuration list for PBXProject "Signal" */;
|
||||||
|
@ -3411,6 +3430,16 @@
|
||||||
name = speex;
|
name = speex;
|
||||||
targetProxy = 70B800AD190C54870042E3F0 /* PBXContainerItemProxy */;
|
targetProxy = 70B800AD190C54870042E3F0 /* PBXContainerItemProxy */;
|
||||||
};
|
};
|
||||||
|
B6913FF519773C5000AE2BF5 /* PBXTargetDependency */ = {
|
||||||
|
isa = PBXTargetDependency;
|
||||||
|
target = D221A088169C9E5E00537ABF /* Signal */;
|
||||||
|
targetProxy = B6913FF419773C5000AE2BF5 /* PBXContainerItemProxy */;
|
||||||
|
};
|
||||||
|
B6913FF719773C5100AE2BF5 /* PBXTargetDependency */ = {
|
||||||
|
isa = PBXTargetDependency;
|
||||||
|
target = D221A088169C9E5E00537ABF /* Signal */;
|
||||||
|
targetProxy = B6913FF619773C5100AE2BF5 /* PBXContainerItemProxy */;
|
||||||
|
};
|
||||||
D221A0B0169C9E5F00537ABF /* PBXTargetDependency */ = {
|
D221A0B0169C9E5F00537ABF /* PBXTargetDependency */ = {
|
||||||
isa = PBXTargetDependency;
|
isa = PBXTargetDependency;
|
||||||
target = D221A088169C9E5E00537ABF /* Signal */;
|
target = D221A088169C9E5E00537ABF /* Signal */;
|
||||||
|
@ -3568,6 +3597,8 @@
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
||||||
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
||||||
|
"$(inherited)",
|
||||||
|
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||||
);
|
);
|
||||||
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
||||||
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
||||||
|
@ -3601,8 +3632,7 @@
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = SignalTests;
|
PRODUCT_NAME = SignalTests;
|
||||||
TEST_HOST = "$(BUNDLE_LOADER)";
|
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||||
VALID_ARCHS = "arm64 armv7s armv7 i386";
|
VALID_ARCHS = "arm64 armv7s armv7 i386 x86_64";
|
||||||
WRAPPER_EXTENSION = octest;
|
|
||||||
};
|
};
|
||||||
name = "Ad-Hoc Distribution";
|
name = "Ad-Hoc Distribution";
|
||||||
};
|
};
|
||||||
|
@ -3851,6 +3881,8 @@
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
||||||
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
||||||
|
"$(inherited)",
|
||||||
|
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||||
);
|
);
|
||||||
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
||||||
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
||||||
|
@ -3884,8 +3916,7 @@
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = SignalTests;
|
PRODUCT_NAME = SignalTests;
|
||||||
TEST_HOST = "$(BUNDLE_LOADER)";
|
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||||
VALID_ARCHS = "arm64 armv7s armv7 i386";
|
VALID_ARCHS = "arm64 armv7s armv7 i386 x86_64";
|
||||||
WRAPPER_EXTENSION = octest;
|
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -3897,6 +3928,8 @@
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
"\"$(SDKROOT)/Developer/Library/Frameworks\"",
|
||||||
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
"\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"",
|
||||||
|
"$(inherited)",
|
||||||
|
"$(DEVELOPER_FRAMEWORKS_DIR)",
|
||||||
);
|
);
|
||||||
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
GCC_GENERATE_TEST_COVERAGE_FILES = NO;
|
||||||
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES;
|
||||||
|
@ -3930,8 +3963,7 @@
|
||||||
);
|
);
|
||||||
PRODUCT_NAME = SignalTests;
|
PRODUCT_NAME = SignalTests;
|
||||||
TEST_HOST = "$(BUNDLE_LOADER)";
|
TEST_HOST = "$(BUNDLE_LOADER)";
|
||||||
VALID_ARCHS = "arm64 armv7s armv7 i386";
|
VALID_ARCHS = "arm64 armv7s armv7 i386 x86_64";
|
||||||
WRAPPER_EXTENSION = octest;
|
|
||||||
};
|
};
|
||||||
name = "App Store Release";
|
name = "App Store Release";
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
if (!previousVersion) {
|
if (!previousVersion) {
|
||||||
DDLogError(@"No previous version found. Possibly first launch since install.");
|
DDLogError(@"No previous version found. Possibly first launch since install.");
|
||||||
|
[Environment setCurrent:[Release releaseEnvironmentWithLogging:nil]];
|
||||||
[Environment resetAppData]; // We clean previous keychain entries in case their are some entries remaining.
|
[Environment resetAppData]; // We clean previous keychain entries in case their are some entries remaining.
|
||||||
} else if ([currentVersion compare:previousVersion options:NSNumericSearch] == NSOrderedDescending) {
|
} else if ([currentVersion compare:previousVersion options:NSNumericSearch] == NSOrderedDescending) {
|
||||||
// The application was updated
|
// The application was updated
|
||||||
|
|
|
@ -2,14 +2,15 @@
|
||||||
#import "DiscardingLog.h"
|
#import "DiscardingLog.h"
|
||||||
#import "Release.h"
|
#import "Release.h"
|
||||||
|
|
||||||
|
|
||||||
NSObject* churnLock(void);
|
NSObject* churnLock(void);
|
||||||
bool _testChurnHelper(int (^condition)(), NSTimeInterval delay);
|
bool _testChurnHelper(int (^condition)(), NSTimeInterval delay);
|
||||||
|
|
||||||
#define testPhoneNumber1 [PhoneNumber phoneNumberFromE164:@"+19027777777"]
|
#define testPhoneNumber1 [PhoneNumber phoneNumberFromE164:@"+19027777777"]
|
||||||
#define testPhoneNumber2 [PhoneNumber phoneNumberFromE164:@"+19028888888"]
|
#define testPhoneNumber2 [PhoneNumber phoneNumberFromE164:@"+19028888888"]
|
||||||
|
|
||||||
#define test(expressionExpectedToBeTrue) STAssertTrue(expressionExpectedToBeTrue, @"")
|
#define test(expressionExpectedToBeTrue) XCTAssert(expressionExpectedToBeTrue, @"")
|
||||||
#define testThrows(expressionExpectedToThrow) STAssertThrows(expressionExpectedToThrow, @"")
|
#define testThrows(expressionExpectedToThrow) XCTAssertThrows(expressionExpectedToThrow, @"")
|
||||||
#define testDoesNotThrow(expressionExpectedToNotThrow) expressionExpectedToNotThrow
|
#define testDoesNotThrow(expressionExpectedToNotThrow) expressionExpectedToNotThrow
|
||||||
#define testEnv [Release unitTestEnvironment:@[]]
|
#define testEnv [Release unitTestEnvironment:@[]]
|
||||||
#define testEnvWith(options) [Release unitTestEnvironment:(@[options])]
|
#define testEnvWith(options) [Release unitTestEnvironment:(@[options])]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface AsyncUtilTest : SenTestCase
|
@interface AsyncUtilTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface FutureSourceTest : SenTestCase
|
@interface FutureSourceTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface ObservableTest : SenTestCase
|
@interface ObservableTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface AudioFrameTest : SenTestCase
|
@interface AudioFrameTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface AudioRemoteIOTest : SenTestCase
|
@interface AudioRemoteIOTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface AudioStretcherTest : SenTestCase
|
@interface AudioStretcherTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface JitterQueueTest : SenTestCase
|
@interface JitterQueueTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface SpeexCodecTest : SenTestCase
|
@interface SpeexCodecTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
#import "TestUtil.h"
|
#import "TestUtil.h"
|
||||||
#import "ContactsManager.h"
|
#import "ContactsManager.h"
|
||||||
|
|
||||||
@interface ContactManagerTest : SenTestCase
|
@interface ContactManagerTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface IpAddressTest : SenTestCase
|
@interface IpAddressTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface IpEndPointTest : SenTestCase
|
@interface IpEndPointTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface DnsManagerTest : SenTestCase
|
@interface DnsManagerTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface HttpRequestResponseTest : SenTestCase
|
@interface HttpRequestResponseTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
#import "RtpPacket.h"
|
#import "RtpPacket.h"
|
||||||
|
|
||||||
@interface RtpPacketTests : SenTestCase
|
@interface RtpPacketTests : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface SecureStreamTest : SenTestCase
|
@interface SecureStreamTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface SequenceCounterTest : SenTestCase
|
@interface SequenceCounterTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
uint16_t nextShortId = (uint16_t)(nextLongId & 0xFFFF);
|
uint16_t nextShortId = (uint16_t)(nextLongId & 0xFFFF);
|
||||||
int64_t actualNextLongId = [s convertNext:nextShortId];
|
int64_t actualNextLongId = [s convertNext:nextShortId];
|
||||||
if (nextLongId != actualNextLongId) {
|
if (nextLongId != actualNextLongId) {
|
||||||
STFail(@"Bad transition: %lld, %lld + %lld -> %lld, %lld != %lld", (long long)prevShortId, (long long)prevLongId, (long long)delta, (long long)nextShortId, (long long)actualNextLongId, (long long)nextLongId);
|
XCTFail(@"Bad transition: %lld, %lld + %lld -> %lld, %lld != %lld", (long long)prevShortId, (long long)prevLongId, (long long)delta, (long long)nextShortId, (long long)actualNextLongId, (long long)nextLongId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
prevLongId = nextLongId;
|
prevLongId = nextLongId;
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
// Copyright (c) 2013 Twisted Oak Studios. All rights reserved.
|
// Copyright (c) 2013 Twisted Oak Studios. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface DH3KAgreerTest : SenTestCase
|
@interface DH3KAgreerTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
#import "TestUtil.h"
|
#import "TestUtil.h"
|
||||||
#import "EC25KeyAgreementParticipant.h"
|
#import "EC25KeyAgreementParticipant.h"
|
||||||
#import "EC25KeyAgreementProtocol.h"
|
#import "EC25KeyAgreementProtocol.h"
|
||||||
|
|
||||||
@interface EC25AgreerTest : SenTestCase{
|
@interface EC25AgreerTest : XCTestCase{
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface HandshakePacketTest : SenTestCase
|
@interface HandshakePacketTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface HashChainTest : SenTestCase
|
@interface HashChainTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface MasterSecretTest : SenTestCase
|
@interface MasterSecretTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface ShortAuthenticationStringGeneratorTest : SenTestCase
|
@interface ShortAuthenticationStringGeneratorTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
#import "ZrtpManager.h"
|
#import "ZrtpManager.h"
|
||||||
#import "HelloPacket.h"
|
#import "HelloPacket.h"
|
||||||
#import "ConfirmPacket.h"
|
#import "ConfirmPacket.h"
|
||||||
|
@ -12,6 +12,6 @@
|
||||||
#import "ZrtpResponder.h"
|
#import "ZrtpResponder.h"
|
||||||
#import "ZrtpInitiator.h"
|
#import "ZrtpInitiator.h"
|
||||||
|
|
||||||
@interface ZrtpTest : SenTestCase
|
@interface ZrtpTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface LowLatencyConnectorTest : SenTestCase
|
@interface LowLatencyConnectorTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface NetworkStreamTest : SenTestCase
|
@interface NetworkStreamTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface SecureEndPointTest : SenTestCase
|
@interface SecureEndPointTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface UdpSocketTest : SenTestCase
|
@interface UdpSocketTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface PhoneNumberTest : SenTestCase
|
@interface PhoneNumberTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface SessionDescriptorTest : SenTestCase
|
@interface SessionDescriptorTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface DecayingSampleEstimatorTest : SenTestCase
|
@interface DecayingSampleEstimatorTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface EventWindowTest : SenTestCase
|
@interface EventWindowTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface BloomFilterTest : SenTestCase
|
@interface BloomFilterTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface CancelTokenTest : SenTestCase
|
@interface CancelTokenTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface ConversionsTest : SenTestCase
|
@interface ConversionsTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface Crc32Test : SenTestCase
|
@interface Crc32Test : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface CryptoUtilTest : SenTestCase
|
@interface CryptoUtilTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface CyclicalBufferTest : SenTestCase
|
@interface CyclicalBufferTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface ExceptionsTest : SenTestCase
|
@interface ExceptionsTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
require(1 + 1 == 2);
|
require(1 + 1 == 2);
|
||||||
@try {
|
@try {
|
||||||
require(1 + 1 == 3);
|
require(1 + 1 == 3);
|
||||||
STFail(@"");
|
XCTFail(@"");
|
||||||
} @catch (BadArgument* ex) {
|
} @catch (BadArgument* ex) {
|
||||||
test([[ex reason] hasPrefix:@"require 1 + 1 == 3"]);
|
test([[ex reason] hasPrefix:@"require 1 + 1 == 3"]);
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
requireState(1 + 1 == 2);
|
requireState(1 + 1 == 2);
|
||||||
@try {
|
@try {
|
||||||
requireState(1 + 1 == 3);
|
requireState(1 + 1 == 3);
|
||||||
STFail(@"");
|
XCTFail(@"");
|
||||||
} @catch (BadState* ex) {
|
} @catch (BadState* ex) {
|
||||||
test([[ex reason] hasPrefix:@"required state: 1 + 1 == 3"]);
|
test([[ex reason] hasPrefix:@"required state: 1 + 1 == 3"]);
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
checkOperationDescribe(1 + 1 == 2, @"addition.");
|
checkOperationDescribe(1 + 1 == 2, @"addition.");
|
||||||
@try {
|
@try {
|
||||||
checkOperationDescribe(1 + 1 == 3, @"addition.");
|
checkOperationDescribe(1 + 1 == 3, @"addition.");
|
||||||
STFail(@"");
|
XCTFail(@"");
|
||||||
} @catch (OperationFailed* ex) {
|
} @catch (OperationFailed* ex) {
|
||||||
test([[ex reason] hasPrefix:@"Operation failed: addition. Expected: 1 + 1 == 3"]);
|
test([[ex reason] hasPrefix:@"Operation failed: addition. Expected: 1 + 1 == 3"]);
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
checkOperation(1 + 1 == 2);
|
checkOperation(1 + 1 == 2);
|
||||||
@try {
|
@try {
|
||||||
checkOperation(1 + 1 == 3);
|
checkOperation(1 + 1 == 3);
|
||||||
STFail(@"");
|
XCTFail(@"");
|
||||||
} @catch (OperationFailed* ex) {
|
} @catch (OperationFailed* ex) {
|
||||||
test([[ex reason] hasPrefix:@"Operation failed. Expected: 1 + 1 == 3"]);
|
test([[ex reason] hasPrefix:@"Operation failed. Expected: 1 + 1 == 3"]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface FunctionalUtilTest : SenTestCase
|
@interface FunctionalUtilTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface PriorityQueueTest : SenTestCase
|
@interface PriorityQueueTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface QueueTest : SenTestCase
|
@interface QueueTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#import <SenTestingKit/SenTestingKit.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@interface UtilTest : SenTestCase
|
@interface UtilTest : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -276,8 +276,8 @@
|
||||||
NSString* b = [d encodedAsBase64];
|
NSString* b = [d encodedAsBase64];
|
||||||
NSData* d2 = [b decodedAsBase64Data];
|
NSData* d2 = [b decodedAsBase64Data];
|
||||||
if (![d isEqualToData:d2]) {
|
if (![d isEqualToData:d2]) {
|
||||||
STFail([d description]);
|
XCTFail(@"%@",[d description]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
-(void) testToRegex {
|
-(void) testToRegex {
|
||||||
|
|
Loading…
Reference in a new issue