Add test for Sone downloader.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 7 Aug 2014 17:22:03 +0000 (19:22 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 7 Aug 2014 17:22:03 +0000 (19:22 +0200)
commitb2a3147c056a532558c9bfe676431f4597b7f8eb
treed0c789555b96e9b2c2cd5a331b616bc783d0b478
parentad0bc2de2393c76b47d849f6ae74e44faafefbb0
Add test for Sone downloader.
52 files changed:
src/test/java/net/pterodactylus/sone/core/SoneDownloaderTest.java
src/test/resources/net/pterodactylus/sone/core/sone-parser-missing-client-name.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-missing-client-version.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-missing-protocol-version.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-negative-protocol-version.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-no-payload.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-no-profile.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-no-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-not-xml.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-profile-duplicate-field-name.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-profile-empty-field-name.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-profile-missing-field-name.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-time-not-numeric.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-too-large-protocol-version.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-client-info.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-image.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-image-height.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-image-width.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-parent-album-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-post-reply-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-post-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-recipient.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-invalid-request-uri.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-liked-post-ids.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-liked-post-reply-ids.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-multiple-albums.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-profile.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-recipient.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-request-uri.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-valid-post-reply-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-valid-post-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-with-zero-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-album-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-album-title.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-albums.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-fields.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-height.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-key.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-title.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-image-width.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-images.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-liked-post-ids.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-liked-post-reply-ids.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-reply-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-reply-post-id.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-reply-text.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-reply-time.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-text.xml [new file with mode: 0644]
src/test/resources/net/pterodactylus/sone/core/sone-parser-without-post-time.xml [new file with mode: 0644]