Stendhal Quest Testing: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
imported>Kymara
Line 164: Line 164:


== Trouble shooting ==
== Trouble shooting ==
===ChatTestCreator===
java games.stendhal.tools.test.ChatTestCreator chatlog.txt [chatlogtest.java]
java games.stendhal.tools.test.ChatTestCreator chatlog.txt [chatlogtest.java]
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
Line 173: Line 174:


*You didn't copy gamechat.log into the project folder for your eclipse workspace.
*You didn't copy gamechat.log into the project folder for your eclipse workspace.
===Running Tests===
java.lang.NullPointerException
at utilities.PlayerTestHelper.equipWithStackableItem(PlayerTestHelper.java:217)
at utilities.PlayerTestHelper.equipWithMoney(PlayerTestHelper.java:190)

*You need to put the stendhal project folder on your classpath for running tests