Permalink
Browse files

Merge branch 'approved-image-color' of github.com:x2on/gh-unit into a…

…pproved-image-color
  • Loading branch information...
x2on committed Jun 1, 2012
2 parents 4cde681 + b0038eb commit f21ae25b39ec4b1d2a1239bddb1f61e41c1d8548
@@ -94,8 +94,6 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
}
} else if ([node status] == GHTestStatusSucceeded) {
cell.textLabel.textColor = [UIColor blackColor];
- } else if ([node status] == GHTestStatusApproved) {
- cell.textLabel.textColor = [UIColor colorWithRed:0 green:0.392 blue:0 alpha:1.0];
} else if (node.isSelected) {
if (node.isSelected) cell.textLabel.textColor = [UIColor darkGrayColor];
}
@@ -119,7 +119,7 @@ - (void)testViewDidApproveChange:(GHUnitIOSTestView *)testView {
NSString *imageFilename = [testNode_.test.exception.userInfo objectForKey:@"ImageFilename"];
UIImage *renderedImage = [testNode_.test.exception.userInfo objectForKey:@"RenderedImage"];
[GHViewTestCase saveToDocumentsWithImage:renderedImage filename:imageFilename];
- testNode_.test.status = GHTestStatusApproved;
+ testNode_.test.status = GHTestStatusSucceeded;
[self _runTest];
}
@@ -85,8 +85,8 @@ - (void)loadView {
}
- (void) viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
- [self reload];
+ [super viewDidAppear:animated];
+ [self reload];
}
- (GHUnitIOSTableViewDataSource *)dataSource {
View
@@ -40,7 +40,6 @@ typedef enum {
GHTestStatusCancelled, //! Test was cancelled
GHTestStatusSucceeded, //! Test finished and succeeded
GHTestStatusErrored, //! Test finished and errored
- GHTestStatusApproved, //! Test was approved
} GHTestStatus;
enum {

0 comments on commit f21ae25

Please sign in to comment.