You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Ignasi Barrera <no...@github.com> on 2015/05/01 11:27:34 UTC
Re: [jclouds] replace ExpectTests with MockWebServerTests (#727)
> +
> +import org.jclouds.http.BaseMockWebServerTest;
> +import org.jclouds.http.config.JavaUrlHttpCommandExecutorServiceModule;
> +
> +import com.google.common.base.Charsets;
> +import com.google.common.base.Throwables;
> +import com.google.inject.Module;
> +import com.squareup.okhttp.mockwebserver.MockWebServer;
> +import com.squareup.okhttp.mockwebserver.RecordedRequest;
> +
> +/**
> + * Base class for all Docker mock tests.
> + */
> +public class BaseSoftLayerMockTest extends BaseMockWebServerTest {
> +
> + protected static final String API_VERSION = "1";
Better get an instance of the `SoftLayerApiMetadata` and get its version.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/727/files#r29495076