| package org.wordpress.android.mocks; |
| |
| import org.xmlrpc.android.XMLRPCCallback; |
| import org.xmlrpc.android.XMLRPCClientInterface; |
| import org.xmlrpc.android.XMLRPCException; |
| |
| import java.io.File; |
| import java.net.URI; |
| |
| public class XMLRPCClientEmptyMock implements XMLRPCClientInterface { |
| public XMLRPCClientEmptyMock(URI uri, String httpUser, String httpPassword) { |
| } |
| |
| public void addQuickPostHeader(String type) { |
| } |
| |
| public void setAuthorizationHeader(String authToken) { |
| } |
| |
| public Object call(String method, Object[] params) throws XMLRPCException { |
| return null; |
| } |
| |
| public Object call(String method) throws XMLRPCException { |
| return null; |
| } |
| |
| public Object call(String method, Object[] params, File tempFile) throws XMLRPCException { |
| return null; |
| } |
| |
| public long callAsync(XMLRPCCallback listener, String methodName, Object[] params) { |
| return 0; |
| } |
| |
| public long callAsync(XMLRPCCallback listener, String methodName, Object[] params, File tempFile) { |
| return 0; |
| } |
| |
| public String getResponse() { |
| return null; |
| } |
| } |