@Test public void testAddFeedView() throws Exception { pool.addFeedView(fv1); Thread.sleep(750); int maxCount = 15; while (time.get() < 3 && maxCount-- > 0) { Thread.yield(); Thread.sleep(100); } activeRenderer.getSemaphore().release(); activeRenderer.getSemaphore().acquire(); Assert.assertTrue(activeRenderer.isDone()); pool.removeFeedView(fv1); }
public void addFeedView(FeedView manifestation) throws IllegalArgumentException { activeFeedViews.add(manifestation); }
FeedRenderingPool { public void addFeedView(FeedView manifestation) throws IllegalArgumentException { activeFeedViews.add(manifestation); } }
FeedRenderingPool { public void addFeedView(FeedView manifestation) throws IllegalArgumentException { activeFeedViews.add(manifestation); } FeedRenderingPool(int paintRateInterval); }
FeedRenderingPool { public void addFeedView(FeedView manifestation) throws IllegalArgumentException { activeFeedViews.add(manifestation); } FeedRenderingPool(int paintRateInterval); void addFeedView(FeedView manifestation); void removeFeedView(FeedView manifestation); SynchronizationControl synchronizeTime(final long syncTime); }
FeedRenderingPool { public void addFeedView(FeedView manifestation) throws IllegalArgumentException { activeFeedViews.add(manifestation); } FeedRenderingPool(int paintRateInterval); void addFeedView(FeedView manifestation); void removeFeedView(FeedView manifestation); SynchronizationControl synchronizeTime(final long syncTime);  }