-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
End of endless renaming and refactoring - StickyOf
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,19 +31,19 @@ | |
import org.junit.Test; | ||
|
||
/** | ||
* Test case for {@link StickyIterable}. | ||
* Test case for {@link StickyOf}. | ||
* | ||
* @author Yegor Bugayenko ([email protected]) | ||
* @version $Id$ | ||
* @since 0.8 | ||
* @checkstyle JavadocMethodCheck (500 lines) | ||
*/ | ||
public final class StickyIterableTest { | ||
public final class StickyOfTest { | ||
|
||
@Test | ||
public void ignoresChangesInIterable() throws Exception { | ||
final AtomicInteger size = new AtomicInteger(2); | ||
final Iterable<Integer> list = new StickyIterable<>( | ||
final Iterable<Integer> list = new StickyOf<>( | ||
new ListOf<>( | ||
() -> Collections.nCopies(size.incrementAndGet(), 0).iterator() | ||
) | ||
|