Stendhal Quest Testing: Difference between revisions
Content deleted Content added
imported>Kymara |
imported>Kymara |
||
Line 312:
== Trouble shooting ==
===ChatTestCreator===
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)
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>
▲:Solution: add the character name for the player who made the test to the LineAnalyser file
===Running Tests===
java.lang.NullPointerException
at utilities.PlayerTestHelper.equipWithStackableItem(PlayerTestHelper.java:217)
at utilities.PlayerTestHelper.equipWithMoney(PlayerTestHelper.java:190)
| |||