mirror of https://github.com/apache/jclouds.git
Test to check annotation processor finds the correct async client method
This commit is contained in:
parent
047662a4b1
commit
bae9633d23
|
@ -303,12 +303,10 @@ public class RestAnnotationProcessorTest extends BaseRestClientTest {
|
|||
|
||||
}
|
||||
|
||||
Caller caller = child.getInstance(Caller.class);
|
||||
|
||||
caller.getCallee().onePath("foo");
|
||||
caller.getCallee2().onePath("bar");
|
||||
// Note this used to result in "http://localhost:1111/client/1/foo/2"!
|
||||
caller.getCallee().onePath("foo");
|
||||
child.getInstance(Caller.class).getCallee().onePath("foo");
|
||||
child.getInstance(Caller.class).getCallee2().onePath("bar");
|
||||
// Note if wrong method is picked up, we'll see "http://localhost:1111/client/1/foo/2"!
|
||||
child.getInstance(Caller.class).getCallee().onePath("foo");
|
||||
}
|
||||
|
||||
public void testAsyncDelegateIsLazyLoadedAndRequestIncludesEndpointVersionAndPath() throws InterruptedException,
|
||||
|
|
Loading…
Reference in New Issue