Stendhal Quest Testing: Difference between revisions
Content deleted Content added
imported>Kymara |
imported>Kymara |
||
Line 312:
== Trouble shooting ==
===ChatTestCreator===
;Problem: ArrayIndexOutOfBoundsException
java games.stendhal.tools.test.ChatTestCreator chatlog.txt [chatlogtest.java]
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at games.stendhal.tools.test.ChatTestCreator.main(ChatTestCreator.java:75)
; Problem: FileNotFoundException
Exception in thread "main" java.io.FileNotFoundException: gamechat.log (No such file or directory)
;Problem: Test doesn't look anything like example, there's no <code>en.step(player</code> lines and only <code>assertEquals</code>
===Running Tests===
;Problem:NullPointerException
java.lang.NullPointerException
at utilities.PlayerTestHelper.equipWithStackableItem(PlayerTestHelper.java:217)
at utilities.PlayerTestHelper.equipWithMoney(PlayerTestHelper.java:190)
| |||