Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add required methods to test case mocks to allow compilation #14

Merged
merged 1 commit into from

2 participants

@rgordon

I just added stub methods to the mocks so it will compile. they're not used at this time.

@flbulgarelli flbulgarelli merged commit 550cbf8 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 27, 2012
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.