jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-1072 (#912)
Date Tue, 02 Feb 2016 22:50:47 GMT
> +      role.getEnvRunList().get(env).add("does.not.matter");
> +   }
> +
> +   public void rolesWithSameEnvRunListAreEqual() {
> +      String env = "env";
> +      String entry = "entry";
> +
> +      Role role1 = Role.builder().envRunListElement(env, entry).build();
> +      Role role2 = Role.builder().envRunListElement(env, entry).build();
> +
> +      assertEquals(role1.hashCode(), role2.hashCode(), "hashCodes should be equal");
> +      assertEquals(role1, role2, "role1 should equal role2");
> +      assertEquals(role2, role1, "role2 should equal role1");
> +   }
> +
> +   public void rolesWithDifferentEnvRunListAreEqual() {

Typo: "AreNotEqual".

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/912/files#r51649875
Mime
View raw message