refactored tests and internal code due to removing custom guava code

This commit is contained in:
Adrian Cole 2013-01-08 20:37:13 -08:00
parent e31a42eab7
commit 6a728f8cb3
2 changed files with 3 additions and 3 deletions

View File

@ -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(

View File

@ -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;
/**