Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions Tests/ASCollectionViewTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -182,18 +182,6 @@ - (void)setUp
[ASConfigurationManager test_resetWithConfiguration:config];
}

- (void)tearDown
{
// We can't prevent the system from retaining windows, but we can at least clear them out to avoid
// pollution between test cases.
for (UIWindow *window in [UIApplication sharedApplication].windows) {
for (UIView *subview in window.subviews) {
[subview removeFromSuperview];
}
}
[super tearDown];
}

- (void)testDataSourceImplementsNecessaryMethods
{
UICollectionViewFlowLayout *layout = [[UICollectionViewFlowLayout alloc] init];
Expand Down