mirror of https://github.com/apache/jclouds.git
JCLOUDS-534: Upgrade to Guava 17.0-rc2
This commit accommodates changes to Predicates.and.toString and PublicSuffixPatterns.EXACT. Release notes: https://code.google.com/p/guava-libraries/wiki/Release17
This commit is contained in:
parent
6a5306b5f1
commit
82e9e9e42f
|
@ -684,7 +684,7 @@ public class TemplateBuilderImplTest {
|
|||
fail("Expected NoSuchElementException");
|
||||
} catch (NoSuchElementException e) {
|
||||
// make sure big data is not in the exception message
|
||||
assertEquals(e.getMessage(), "no image matched predicate: And(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),imageDescription(notDescription))");
|
||||
assertEquals(e.getMessage(), "no image matched predicate: Predicates.and(nullEqualToIsParentOrIsGrandparentOfCurrentLocation(),imageDescription(notDescription))");
|
||||
}
|
||||
|
||||
verify(defaultOptions, optionsProvider, templateBuilderProvider);
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>16.0.1</version>
|
||||
<version>17.0-rc2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
|
|
|
@ -68,6 +68,6 @@ public class SoftLayerTemplateOptionsTest {
|
|||
|
||||
@Test(expectedExceptions = IllegalArgumentException.class)
|
||||
public void testDomainNameIsInvalidThrowsIllegalArgument() {
|
||||
new SoftLayerTemplateOptions().domainName("foo");
|
||||
new SoftLayerTemplateOptions().domainName("notapublicsuffix");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue