Class CommonGoalCardTest

java.lang.Object
it.polimi.ingsw.Server.Model.CommonGoalCardTest

public class CommonGoalCardTest extends Object
Test for CommonGoalCard class
  • Constructor Details

    • CommonGoalCardTest

      public CommonGoalCardTest()
  • Method Details

    • testAttributeEmptyShelf

      @Test void testAttributeEmptyShelf() throws Exception
      Throws:
      Exception
    • testWrongCardType_WrongNumOfPlayers

      @Test void testWrongCardType_WrongNumOfPlayers() throws Exception
      Throws:
      Exception
    • testAttributeCard1

      @Test void testAttributeCard1() throws Exception
      Throws:
      Exception
    • testAttributeCard1_invalidPattern

      @Test void testAttributeCard1_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard2_invalidPattern

      @Test void testAttributeCard2_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard2_invalidPattern2

      @Test void testAttributeCard2_invalidPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard2_ValidPattern3

      @Test void testAttributeCard2_ValidPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard3_invalidPattern1

      @Test void testAttributeCard3_invalidPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern1

      @Test void testAttributeCard3_validPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern2

      @Test void testAttributeCard3_validPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern3

      @Test void testAttributeCard3_validPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern4

      @Test void testAttributeCard3_validPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern5

      @Test void testAttributeCard3_validPattern5() throws Exception
      Throws:
      Exception
    • testAttributeCard3_validPattern6

      @Test void testAttributeCard3_validPattern6() throws Exception
      Throws:
      Exception
    • testAttributeCard4_invalidPattern

      @Test void testAttributeCard4_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard4_validPattern

      @Test void testAttributeCard4_validPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard4_invalidPattern2

      @Test void testAttributeCard4_invalidPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard5_invalidPattern

      @Test void testAttributeCard5_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard5_invalidPattern2

      @Test void testAttributeCard5_invalidPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard5_invalidPattern3

      @Test void testAttributeCard5_invalidPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard5_validPattern4

      @Test void testAttributeCard5_validPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard6_validPattern2

      @Test void testAttributeCard6_validPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard8_validPattern1

      @Test void testAttributeCard8_validPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard8_invalidPattern1

      @Test void testAttributeCard8_invalidPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard9_invalidPattern1

      @Test void testAttributeCard9_invalidPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard9_validPattern

      @Test void testAttributeCard9_validPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard10_validPattern

      @Test void testAttributeCard10_validPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard10_validPattern2

      @Test void testAttributeCard10_validPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard10_invalidPattern

      @Test void testAttributeCard10_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard7_invalidPattern2

      @Test void testAttributeCard7_invalidPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard7_invalidPattern3

      @Test void testAttributeCard7_invalidPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard7_validPattern1

      @Test void testAttributeCard7_validPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard12_validPattern1

      @Test void testAttributeCard12_validPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard12_validPattern2

      @Test void testAttributeCard12_validPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard12_validPattern3

      @Test void testAttributeCard12_validPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard12_validPattern4

      @Test void testAttributeCard12_validPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard12_invalidPattern

      @Test void testAttributeCard12_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard12_invalidPattern1

      @Test void testAttributeCard12_invalidPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard11_validPattern1

      @Test void testAttributeCard11_validPattern1() throws Exception
      Throws:
      Exception
    • testAttributeCard11_validPattern2

      @Test void testAttributeCard11_validPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard11_validPattern3

      @Test void testAttributeCard11_validPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard11_validPattern4

      @Test void testAttributeCard11_validPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard11_invalidPattern

      @Test void testAttributeCard11_invalidPattern() throws Exception
      Throws:
      Exception
    • testAttributeCard11_invalidPattern2

      @Test void testAttributeCard11_invalidPattern2() throws Exception
      Throws:
      Exception
    • testAttributeCard11_invalidPattern3

      @Test void testAttributeCard11_invalidPattern3() throws Exception
      Throws:
      Exception
    • testAttributeCard11_invalidPattern4

      @Test void testAttributeCard11_invalidPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard4_validPattern4

      @Test void testAttributeCard4_validPattern4() throws Exception
      Throws:
      Exception
    • testAttributeCard4_validPattern5

      @Test void testAttributeCard4_validPattern5() throws Exception
      Throws:
      Exception