Posted By

udayrayala on 02/23/08


Tagged

code ASP sample


Versions (?)

Sample ASP Code


 / Published in: ASP
 

  1. public void testRefreshAddsCurrentElementAtTopAndRemovesLastContentIfClipBoardContentsAreChangedAndOfMaxSize() {
  2. queue = mockClipBoardQueue(true, "New Content");
  3.  
  4. insertDummyValuesIntoQueue(2);
  5. assertTrue(queue.refresh());
  6.  
  7. assertEquals(3, queue.getQueue().size());
  8. assertEquals("New Content", queue.getQueue().getFirst());
  9. }
  10.  

Report this snippet  

You need to login to post a comment.