Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #336 from pivotal/Xcode7
Browse files Browse the repository at this point in the history
Xcode7 compilation updates
  • Loading branch information
Brian Croom committed Jun 19, 2015
2 parents c818773 + 20fd99b commit dfab094
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
Expand Up @@ -62,6 +62,8 @@
ReferencedContainer = "container:Cedar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand All @@ -71,8 +73,10 @@
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AE248F9719DCD52500092C14"
Expand All @@ -90,7 +94,8 @@
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AE248F9719DCD52500092C14"
Expand Down
Expand Up @@ -48,6 +48,8 @@
ReferencedContainer = "container:Cedar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand All @@ -57,8 +59,10 @@
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "96B5F9F5144A81A7000A6A5D"
Expand All @@ -76,7 +80,8 @@
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "96B5F9F5144A81A7000A6A5D"
Expand Down
4 changes: 2 additions & 2 deletions Spec/CDRSpecFailureSpec.mm
Expand Up @@ -93,7 +93,7 @@
context(@"when file name and line number are specified in exception's userInfo", ^{
beforeEach(^{
NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:@"File.m", @"fileName", [NSNumber numberWithInt:123], @"lineNumber", nil];
NSException *exception = [NSException exceptionWithName:nil reason:@"exception reason" userInfo:userInfo];
NSException *exception = [NSException exceptionWithName:@"boo" reason:@"exception reason" userInfo:userInfo];
failure = [CDRSpecFailure specFailureWithRaisedObject:exception];
});

Expand All @@ -112,7 +112,7 @@

context(@"when file name and line number are not specified in userInfo of exception", ^{
beforeEach(^{
NSException *exception = [NSException exceptionWithName:nil reason:@"exception reason" userInfo:nil];
NSException *exception = [NSException exceptionWithName:@"boo" reason:@"exception reason" userInfo:nil];
failure = [CDRSpecFailure specFailureWithRaisedObject:exception];
});

Expand Down
1 change: 0 additions & 1 deletion Spec/Doubles/CedarDoubleARCSharedExamples.mm
Expand Up @@ -43,7 +43,6 @@ myDouble stub_method("methodWithBlock:").and_do(^(NSInvocation *invocation) {
});

while (!called) {
[[NSRunLoop currentRunLoop] addTimer:[NSTimer timerWithTimeInterval:0.1 invocation:nil repeats:NO] forMode:NSDefaultRunLoopMode];
NSDate *futureDate = [NSDate dateWithTimeIntervalSinceNow:0.1];
[[NSRunLoop currentRunLoop] runUntilDate:futureDate];
}
Expand Down

0 comments on commit dfab094

Please sign in to comment.