Add unit test for get sones command, fix some problems
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 14 Jan 2017 23:40:14 +0000 (00:40 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 14 Jan 2017 23:40:14 +0000 (00:40 +0100)
commit18423dd893c8d4f1ef7d3a82ae229f5544b7616e
tree7cc2800967e38806a2c8a317c972d463be3c05be
parent284a781c6d0539232763ea572854d44a62241863
Add unit test for get sones command, fix some problems

a) Unify the reply of all sone-related commands.
b) Add a prefix for get sones command.
src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java
src/main/java/net/pterodactylus/sone/fcp/GetSonesCommand.java
src/test/kotlin/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.kt
src/test/kotlin/net/pterodactylus/sone/fcp/GetSonesCommandTest.kt [new file with mode: 0644]
src/test/kotlin/net/pterodactylus/sone/fcp/SoneCommandTest.kt