From: Astrid S. <ast...@us...> - 2008-05-30 21:14:00
|
Update of /cvsroot/arianne/stendhal/tests/games/stendhal/server/entity In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3751/tests/games/stendhal/server/entity Modified Files: RPEntityTest.java Log Message: method names start with lower case. reduced visibility of methods removed unused methods Index: RPEntityTest.java =================================================================== RCS file: /cvsroot/arianne/stendhal/tests/games/stendhal/server/entity/RPEntityTest.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** RPEntityTest.java 30 May 2008 14:49:15 -0000 1.8 --- RPEntityTest.java 30 May 2008 21:14:06 -0000 1.9 *************** *** 386,390 **** StendhalRPZone zone = new StendhalRPZone("testzone"); RPEntity attacker = new MockRPentity(); ! assertFalse("attacktarget = null", attacker.isAttacking()) ; RPEntity defender = new MockRPentity(); --- 386,390 ---- StendhalRPZone zone = new StendhalRPZone("testzone"); RPEntity attacker = new MockRPentity(); ! assertFalse("attacktarget = null", attacker.isAttacking()); RPEntity defender = new MockRPentity(); *************** *** 393,399 **** attacker.setTarget(defender); defender.setHP(1); ! assertTrue(attacker.isAttacking()) ; defender.setHP(0); ! assertFalse(attacker.isAttacking()) ; } --- 393,399 ---- attacker.setTarget(defender); defender.setHP(1); ! assertTrue(attacker.isAttacking()); defender.setHP(0); ! assertFalse(attacker.isAttacking()); } |