Use XML files for all error conditions, expand test for complete Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 24 Oct 2013 19:53:15 +0000 (21:53 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:25:35 +0000 (22:25 +0100)
commitb7f0920c8296ab5b59c856e67c101c47fc2a3f14
treec40edd8032d8447d8aa9865cd1635d60ea002d56
parent7e13058ca6ce810fe443d91e747f725753cb93b2
Use XML files for all error conditions, expand test for complete Sone.
src/test/java/net/pterodactylus/sone/core/SoneParserTest.java
src/test/resources/sone-parser/missing-client.xml [new file with mode: 0644]
src/test/resources/sone-parser/missing-time.xml [new file with mode: 0644]
src/test/resources/sone-parser/negative-protocol-version.xml [new file with mode: 0644]
src/test/resources/sone-parser/too-large-protocol-version.xml [new file with mode: 0644]