From 692691bcdc05322301cce305461e5ae10e467dcd Mon Sep 17 00:00:00 2001 From: Ka-Hing Cheung Date: Wed, 7 Jan 2015 11:36:47 -0800 Subject: [PATCH] fix fs container validator test previoisly it was testing blob key validator instead of container name validator --- .../internal/FilesystemContainerNameValidatorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apis/filesystem/src/test/java/org/jclouds/filesystem/predicates/validators/internal/FilesystemContainerNameValidatorTest.java b/apis/filesystem/src/test/java/org/jclouds/filesystem/predicates/validators/internal/FilesystemContainerNameValidatorTest.java index 4f36f9a1f2..c8bdd61de6 100644 --- a/apis/filesystem/src/test/java/org/jclouds/filesystem/predicates/validators/internal/FilesystemContainerNameValidatorTest.java +++ b/apis/filesystem/src/test/java/org/jclouds/filesystem/predicates/validators/internal/FilesystemContainerNameValidatorTest.java @@ -20,7 +20,7 @@ import static org.testng.Assert.fail; import java.io.File; -import org.jclouds.filesystem.predicates.validators.FilesystemBlobKeyValidator; +import org.jclouds.filesystem.predicates.validators.FilesystemContainerNameValidator; import org.testng.annotations.Test; @@ -32,14 +32,14 @@ public class FilesystemContainerNameValidatorTest { @Test public void testNamesValidity() { - FilesystemBlobKeyValidator validator = new FilesystemBlobKeyValidatorImpl(); + FilesystemContainerNameValidator validator = new FilesystemContainerNameValidatorImpl(); validator.validate("all.img"); } @Test public void testInvalidNames() { - FilesystemBlobKeyValidator validator = new FilesystemBlobKeyValidatorImpl(); + FilesystemContainerNameValidator validator = new FilesystemContainerNameValidatorImpl(); try { validator.validate("");