jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 skeleton and bucket ops (#270)
Date Tue, 24 May 2016 22:59:19 GMT
> +public class BaseB2ApiLiveTest extends BaseApiLiveTest<B2Api> {
> +
> +   protected BaseB2ApiLiveTest() {
> +      provider = "b2";
> +   }
> +
> +   @Override
> +   protected ApiMetadata createApiMetadata() {
> +      return new B2ApiMetadata();
> +   }
> +
> +   @Override
> +   protected B2Api create(Properties props, Iterable<Module> modules) {
> +      Injector injector = newBuilder().modules(modules).overrides(props).buildInjector();
> +      return injector.getInstance(B2Api.class);
> +   }

Done.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/270/files/8bb355e1b286b2bbf77fd8d3cb75cd2d1aa6bc69#r64490032
Mime
View raw message