mirror of https://github.com/apache/jclouds.git
refactored tests and internal code due to removing custom guava code
This commit is contained in:
parent
e31a42eab7
commit
6a728f8cb3
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
package org.jclouds.chef.test.config;
|
||||
|
||||
import static org.jclouds.rest.config.BinderUtils.bindClient;
|
||||
import static org.jclouds.rest.config.BinderUtils.bindBlockingApi;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.security.PrivateKey;
|
||||
|
@ -71,7 +71,7 @@ public class TransientChefApiModule extends AbstractModule {
|
|||
bind(ChefAsyncApi.class).to(TransientChefAsyncApi.class).asEagerSingleton();
|
||||
// forward all requests from TransientChefApi to ChefAsyncApi. needs above
|
||||
// binding as cannot proxy a class
|
||||
bindClient(binder(), TransientChefApi.class, ChefAsyncApi.class);
|
||||
bindBlockingApi(binder(), TransientChefApi.class, ChefAsyncApi.class);
|
||||
bind(ChefApi.class).to(TransientChefApi.class);
|
||||
|
||||
bind(LocalAsyncBlobStore.class).annotatedWith(Names.named("databags")).toInstance(
|
||||
|
|
|
@ -67,7 +67,7 @@ import org.testng.annotations.Test;
|
|||
import com.google.common.base.Supplier;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
import org.jclouds.reflect.Invokable;
|
||||
import com.google.common.reflect.Invokable;
|
||||
import com.google.inject.Module;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue