예제 #1
0
 @Test
 public void test4() {
   h.setPacketFactory(pf);
   h.setButtonsEnabled(true);
   h.getMouseListener().mouseClicked(me);
   h.getMouseListener().mouseEntered(me);
   h.getMouseListener().mouseExited(me);
   h.getMouseListener().mousePressed(me);
   h.getMouseListener().mouseReleased(me);
 }
예제 #2
0
 @Test
 public void test6() {
   h.setPacketFactory(pf);
   h.getMouseListener().mouseClicked(me_error);
 }
예제 #3
0
 @Test
 public void test5() {
   h.setPacketFactory(pf);
   h.setButtonsEnabled(true);
   h.getMouseListener().mouseClicked(me_error);
 }
예제 #4
0
 @Test(expected = IllegalStateException.class)
 public void test3() {
   h.setPacketFactory(pf);
   h.setPacketFactory(pf);
 }
예제 #5
0
 @Test
 public void test2() {
   h.setPacketFactory(pf);
   h.setCards(TestDataProvider.getSmallCardList());
   h.setButtonsEnabled(true);
 }
예제 #6
0
 @Test
 public void test() {
   h.setCards(TestDataProvider.getSmallCardList());
 }