Пример #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);
 }