[ios] remove testCompassTap test

Fails on CI because KIF is unstable. Refs
61615a44fd, #2769, #2734
This commit is contained in:
Jason Wray
2016-01-14 17:58:09 -05:00
parent 0066637e58
commit 75ed155f4f

View File

@@ -76,32 +76,6 @@
@"compass rotation should indicate map rotation");
}
- (void)testCompassTap {
[self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{
[tester.mapView setDirection:180 animated:YES];
}];
XCTAssertEqual(tester.mapView.direction,
180,
@"setting direction should take effect");
[self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{
[tester.compass tap];
}];
XCTAssertEqual(tester.mapView.direction,
0,
@"tapping compass should reset map direction");
[tester waitForAnimationsToFinish];
XCTAssertEqual(tester.compass.alpha,
0,
@"compass should not be visible when map is unrotated");
XCTAssert(CGAffineTransformEqualToTransform(tester.compass.transform, CGAffineTransformIdentity),
@"compass rotation should indicate map rotation");
}
- (void)testDirectionReset {
[self waitForNotificationThatRegionDidChangeAnimatedWhileExecutingBlock:^{
[tester.mapView setDirection:90 animated:YES];