import java.io.IOException;
import junit.framework.TestCase;
-import net.pterodactylus.util.fcp.message.ClientHello;
-import net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName;
-import net.pterodactylus.util.fcp.message.GenerateSSK;
-import net.pterodactylus.util.fcp.message.NodeHello;
/**
* Tests various commands and the FCP connection.
* Tests the FCP connection be simply {@link #setUp() setting it up} and
* {@link #tearDown() tearing it down} again.
*
- * @throws FcpException
- * if an FCP error occurs
* @throws IOException
* if an I/O error occurs
*/
- public void testFcpConnection() throws FcpException, IOException {
+ public void testFcpConnection() throws IOException {
/* do nothing. */
}
/**
* Generates an SSK key pair.
*
- * @throws FcpException
- * if an FCP error occurs
* @throws IOException
* if an I/O error occurs
* @throws InterruptedException
* if {@link Object#wait()} wakes up spuriously
*/
- public void testGenerateSSK() throws IOException, FcpException, InterruptedException {
+ public void testGenerateSSK() throws IOException, InterruptedException {
final boolean[] result = new boolean[1];
FcpAdapter fcpAdapter = new FcpAdapter() {
/**
* @see net.pterodactylus.util.fcp.FcpAdapter#receivedNodeHello(net.pterodactylus.util.fcp.FcpConnection,
- * net.pterodactylus.util.fcp.message.NodeHello)
+ * net.pterodactylus.util.fcp.NodeHello)
*/
@Override
public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
/**
* @see net.pterodactylus.util.fcp.FcpAdapter#receivedCloseConnectionDuplicateClientName(net.pterodactylus.util.fcp.FcpConnection,
- * net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName)
+ * net.pterodactylus.util.fcp.CloseConnectionDuplicateClientName)
*/
@Override
public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {