Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove GHTestStatusApproved

Code conventions
  • Loading branch information...
commit b0038ebde0e15e69c8167811c3f59db9d4b010a0 1 parent 885bd67
@x2on x2on authored
View
2  Classes-iOS/GHUnitIOSTableViewDataSource.m
@@ -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];
}
View
2  Classes-iOS/GHUnitIOSTestViewController.m
@@ -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];
}
View
4 Classes-iOS/GHUnitIOSViewController.m
@@ -85,8 +85,8 @@ - (void)loadView {
}
- (void) viewDidAppear:(BOOL)animated {
- [super viewDidAppear:animated];
- [self reload];
+ [super viewDidAppear:animated];
+ [self reload];
}
- (GHUnitIOSTableViewDataSource *)dataSource {
View
1  Classes/GHTest/GHTest.h
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.