Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #14 from rgordon/master

Add required methods to test case mocks to allow compilation
  • Loading branch information...
commit 550cbf85ed9f368084c4e524679d31575665852f 2 parents d582800 + 552a1ac
@flbulgarelli flbulgarelli authored
View
7 core/src/test/java/com/zaubersoftware/gnip4j/http/ReconnectionTest.java
@@ -147,6 +147,13 @@ public InputStream getResource(final URI uri)
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
}
class MockExecutorService implements ExecutorService {
View
7 core/src/test/java/com/zaubersoftware/gnip4j/jmx/JMXTest.java
@@ -61,6 +61,13 @@ public InputStream getResource(final URI uri) throws AuthenticationGnipException
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
};
final GnipFacade f = new DefaultGnipFacade(resources);
final GnipStream stream = f.createStream("acme", "stream", observer);
Please sign in to comment.
Something went wrong with that request. Please try again.