Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Commit

Permalink
JCLOUDS-534: Upgrade to Guava 17.0-rc2
Browse files Browse the repository at this point in the history
This commit accommodates changes to Predicates.and.toString and
PublicSuffixPatterns.EXACT.  Release notes:

https://code.google.com/p/guava-libraries/wiki/Release17
  • Loading branch information
gaul committed Apr 15, 2014
1 parent 6a5306b commit 82e9e9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -684,7 +684,7 @@ public void testDefaultLocationWithUnmatchedPredicateExceptionMessageAndLocation
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);
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Expand Up @@ -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>
Expand Down
Expand Up @@ -68,6 +68,6 @@ public void testDomainNameNullHasDecentMessage() {

@Test(expectedExceptions = IllegalArgumentException.class)
public void testDomainNameIsInvalidThrowsIllegalArgument() {
new SoftLayerTemplateOptions().domainName("foo");
new SoftLayerTemplateOptions().domainName("notapublicsuffix");
}
}

0 comments on commit 82e9e9e

Please sign in to comment.