Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel committed Sep 8, 2011
1 parent fa89865 commit 354fbe0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Classes-iOS/GHUnitIOSTestViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ - (void)dealloc {
- (void)loadView {
textView_ = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)];
textView_.font = [UIFont fontWithName:@"Courier New-Bold" size:12];
textView_.backgroundColor = [UIColor colorWithWhite:0.96 alpha:1.0];
textView_.backgroundColor = [UIColor colorWithWhite:0.96f alpha:1.0f];
textView_.textColor = [UIColor blackColor];
textView_.editable = NO;
textView_.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
Expand Down
2 changes: 1 addition & 1 deletion Classes-iOS/GHUnitIOSView.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ - (id)initWithFrame:(CGRect)frame {
[tableView_ release];

footerView_ = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 36)];
footerView_.backgroundColor = [UIColor colorWithWhite:0.9 alpha:1.0];
footerView_.backgroundColor = [UIColor colorWithWhite:0.9f alpha:1.0f];

// Status label
statusLabel_ = [[UILabel alloc] initWithFrame:CGRectMake(5, 0, 310, 36)];
Expand Down
2 changes: 1 addition & 1 deletion Classes-iOS/GHUnitIOSViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 36.0;
return 36.0f;
}

#pragma mark Delegates (UIScrollView)
Expand Down
2 changes: 1 addition & 1 deletion Classes/GHTest/NSValue+GHValueFormatter.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ - (NSString *)ghu_contentDescription {
return [NSString stringWithFormat:@"%u", scalarValue];
}
case 'f': {
float scalarValue = 0.0;
float scalarValue = 0.0f;
[self getValue:(void *)&scalarValue];
return [NSString stringWithFormat:@"%f", scalarValue];
}
Expand Down
2 changes: 2 additions & 0 deletions Classes/Mock/GHUNSObject+Swizzle.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
// OTHER DEALINGS IN THE SOFTWARE.
//

#import <Foundation/Foundation.h>

/*!
Method swizzling.
*/
Expand Down
2 changes: 1 addition & 1 deletion Classes/SharedUI/GHTestViewModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)registerNode:(GHTestNode *)node {
node.delegate = self;
}

- (GHTestNode *)findTestNode:(id<GHTest>)test {
- (GHTestNode *)findTestNodeForTest:(id<GHTest>)test {
return [map_ objectForKey:[test identifier]];
}

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VERSION=$(shell cat XcodeConfig/Shared.xcconfig | grep "GHUNIT_VERSION =" | cut

docs:
rm -rf Documentation/output
Documentation/appledoc/appledoc -t Documentation/appledoc/Templates -o Documentation/output -p $(NAME) -v $(VERSION) -c "$(NAME)" --company-id "$(COMPANY_ID)" --warn-undocumented-object --warn-undocumented-member --warn-empty-description --warn-unknown-directive --warn-invalid-crossref --warn-missing-arg --no-repeat-first-par --keep-intermediate-files --docset-feed-url $(GITHUB_DOC_URL)/publish/%DOCSETATOMFILENAME --docset-package-url $(GITHUB_DOC_URL)/publish/%DOCSETPACKAGEFILENAME --publish-docset --index-desc Documentation/index_desc.txt --include Documentation/appledoc_include/ --include Documentation/index-template.markdown --verbose=3 --create-html --create-docset --install-docset=0 --publish-docset --exit-threshold 2 Classes/ Classes-iOS/ Classes-MacOSX/
Documentation/appledoc/appledoc -t Documentation/appledoc/Templates -o Documentation/output -p $(NAME) -v $(VERSION) -c "$(NAME)" --company-id "$(COMPANY_ID)" --warn-undocumented-object --warn-undocumented-member --warn-empty-description --warn-unknown-directive --warn-invalid-crossref --warn-missing-arg --no-repeat-first-par --keep-intermediate-files --docset-feed-url $(GITHUB_DOC_URL)/publish/%DOCSETATOMFILENAME --docset-package-url $(GITHUB_DOC_URL)/publish/%DOCSETPACKAGEFILENAME --publish-docset --index-desc Documentation/index_desc.txt --include Documentation/appledoc_include/ --include Documentation/index-template.markdown --verbose=4 --create-html --create-docset --publish-docset --exit-threshold 2 Classes/ Classes-iOS/ Classes-MacOSX/

gh-pages: docs
rm -rf ../doctmp
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ It can be used standalone or with other testing frameworks like SenTestingKit or
## Links

- [Online documentation](http://gabriel.github.com/gh-unit/)
- [How to install, create and run tests](http://gabriel.github.com/gh-unit/docs/index.html)
- [Google Group](http://groups.google.com/group/ghunit)

## Mac OS X
Expand Down

0 comments on commit 354fbe0

Please sign in to comment.