Sample ASP Code


/ Published in: ASP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.