Testing views with screenshot. Using FBScreenshotTestCase.
4OBQTIPU5FTUJOH
View Slide
source 'https://github.com/CocoaPods/Specs.git'platform :ios, '6.0'inhibit_all_warnings!target 'UCZProgressView' doendtarget 'UCZProgressViewTests' dopod 'FBSnapshotTestCase'end
'#@3&'&3&/$&@*."(&@%*3la 4063$&@3005 130+&[email protected]/".&5FTUT3FGFSFODF*NBHFTa
- (void)testProgress50 {UCZProgressView *progressView =[[UCZProgressView alloc] initWithFrame:CGRectMake(0.0, 0.0, 320.0, 568.0)];progressView.progress = 0.50;FBSnapshotVerifyView(progressView, nil);}
progressView.progress = 0.70;progressView.showsText = YES;
progressView.progress = 0.70;progressView.showsText = YES;progressView.textColor = …;
progressView.progress = 0.70;progressView.showsText = YES;progressView.tintColor = …;progressView.textColor = …;progressView.lineWidth = …;progressView.radius = …;
progressView.indeterminate = YES;
progressView.progress = 1.00;
self.recordMode = YES;