Examples of PieceDef


Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testHero() {
    try {
      PieceDef piece = loadPiece("hero.xml");

      assertTrue(piece.getName() == Pieces.HERO);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testKing() {
    try {
      PieceDef piece = loadPiece("king.xml");

      assertTrue(piece.getName() == Pieces.KING);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testMage() {
    try {
      PieceDef piece = loadPiece("mage.xml");

      assertTrue(piece.getName() == Pieces.MAGE);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testOliphant() {
    try {
      PieceDef piece = loadPiece("oliphant.xml");

      assertTrue(piece.getName() == Pieces.OLIPHANT);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testPaladin() {
    try {
      PieceDef piece = loadPiece("paladin.xml");

      assertTrue(piece.getName() == Pieces.PALADIN);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testSylph() {
    try {
      PieceDef piece = loadPiece("sylph.xml");

      assertTrue(piece.getName() == Pieces.SYLPH);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testThief() {
    try {
      PieceDef piece = loadPiece("thief.xml");

      assertTrue(piece.getName() == Pieces.THIEF);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testUnicorn() {
    try {
      PieceDef piece = loadPiece("unicorn.xml");

      assertTrue(piece.getName() == Pieces.UNICORN);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here

Examples of org.darkhelm.dragonchess.server.piece.PieceDef

  }

  @Test
  public void testWarrior() {
    try {
      PieceDef piece = loadPiece("warrior.xml");

      assertTrue(piece.getName() == Pieces.WARRIOR);

    } catch (JiBXException e) {
      fail(e.getMessage());
      e.printStackTrace();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.