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 2016/08/01 10:25:36 UTC

Re: [jclouds/jclouds] JCLOUDS-482: WIP ArbitraryCpuRam base case (#984)

> @@ -44,6 +49,9 @@
>  @Test(groups = "integration,live")
>  public abstract class BaseTemplateBuilderLiveTest extends BaseComputeServiceContextLiveTest {
>  
> +   public static final Object[][] NO_INVOCATIONS = new Object[0][0];
> +   public static final Object[][] SINGLE_NO_ARG_INVOCATION = { new Object[0] };

This is a recurring pattern. Move these constants to the [TestUtils](https://github.com/jclouds/jclouds/blob/master/core/src/test/java/org/jclouds/utils/TestUtils.java) class, and also remove them from the filesystem provider and other classes, so all data providers using this pattern use the same constants.

---
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/pull/984/files/9fb02ff7a884ee2d21aa55ee07c1d23a0ebf358a#r72955188