summaryrefslogtreecommitdiffstats
path: root/keystone-client/src/test
diff options
context:
space:
mode:
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-02 09:42:55 -0400
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>2019-05-07 10:02:17 -0400
commit3f9a0c3183480d150089c0d5a6e507c877f7d121 (patch)
treeb3db04cbe2cef23f81503177a50edc5360ffa486 /keystone-client/src/test
parente153f0adfbed711ce1e215748594a4d04fd1edaf (diff)
Enhance Openstack Client
Update Openstack Client to support additional fields Updat all formatting issues Issue-ID: SO-1844 Change-Id: I1369e0c18cc25274db8df7e12855a020b8da38da Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
Diffstat (limited to 'keystone-client/src/test')
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/KeystoneTest.java4
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/EndpointsResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/RolesResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/ServicesResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/TenantsResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/TokensResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/api/UsersResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneTokenProviderTest.java7
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneUtilsTest.java4
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/KeystoneTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/DomainsResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GenericResourceTest.java3
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GroupsResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectGroupRolesResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectUserRolesResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectsResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/RolesResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/TokensResourceTest.java2
-rw-r--r--keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/UsersResourceTest.java2
20 files changed, 21 insertions, 36 deletions
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/KeystoneTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/KeystoneTest.java
index 7a00fd4..ae61d98 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/KeystoneTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/KeystoneTest.java
@@ -21,9 +21,7 @@ package com.woorea.openstack.keystone;
import com.woorea.openstack.base.client.OpenStackClientConnector;
import org.junit.Test;
-
import javax.swing.table.TableStringConverter;
-
import static org.junit.Assert.*;
public class KeystoneTest {
@@ -60,4 +58,4 @@ public class KeystoneTest {
keystone.endpoints();
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/EndpointsResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/EndpointsResourceTest.java
index 324dc3c..08886a7 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/EndpointsResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/EndpointsResourceTest.java
@@ -21,7 +21,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.Endpoint;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class EndpointsResourceTest {
@@ -48,4 +47,4 @@ public class EndpointsResourceTest {
endpointsResource.delete("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/RolesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/RolesResourceTest.java
index d8d851a..8031ce0 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/RolesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/RolesResourceTest.java
@@ -21,7 +21,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.Role;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class RolesResourceTest {
@@ -43,4 +42,4 @@ public class RolesResourceTest {
rolesResource.delete("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/ServicesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/ServicesResourceTest.java
index 25de26e..a74f376 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/ServicesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/ServicesResourceTest.java
@@ -21,7 +21,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.Service;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class ServicesResourceTest {
@@ -48,4 +47,4 @@ public class ServicesResourceTest {
servicesResource.delete("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TenantsResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TenantsResourceTest.java
index 8d208f9..5323f27 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TenantsResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TenantsResourceTest.java
@@ -22,7 +22,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.Metadata;
import com.woorea.openstack.keystone.model.Tenant;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class TenantsResourceTest {
@@ -104,4 +103,4 @@ public class TenantsResourceTest {
tenantsResource.deleteMetadataItem("123", "key");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TokensResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TokensResourceTest.java
index 9ad711e..77c26a9 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TokensResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/TokensResourceTest.java
@@ -21,7 +21,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.Authentication;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class TokensResourceTest {
@@ -63,4 +62,4 @@ public class TokensResourceTest {
public void withTenantNameTest() {
authenticate.withTenantName("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/UsersResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/UsersResourceTest.java
index 547458b..881eb92 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/api/UsersResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/api/UsersResourceTest.java
@@ -21,7 +21,6 @@ package com.woorea.openstack.keystone.api;
import com.woorea.openstack.keystone.model.User;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class UsersResourceTest {
@@ -53,4 +52,4 @@ public class UsersResourceTest {
usersResource.delete("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneTokenProviderTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneTokenProviderTest.java
index 0523f2f..5e51ebc 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneTokenProviderTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneTokenProviderTest.java
@@ -20,14 +20,11 @@
package com.woorea.openstack.keystone.utils;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class KeystoneTokenProviderTest {
- KeystoneTokenProvider keystoneTokenProvider = new KeystoneTokenProvider("endpoint",
- "username",
- "password");
+ KeystoneTokenProvider keystoneTokenProvider = new KeystoneTokenProvider("endpoint", "username", "password");
@Test(expected = NullPointerException.class)
public void getAccessByTenant() throws Exception {
@@ -44,4 +41,4 @@ public class KeystoneTokenProviderTest {
keystoneTokenProvider.getProviderByTenant("id-123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneUtilsTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneUtilsTest.java
index 2b65a91..2a7a8e1 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneUtilsTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/utils/KeystoneUtilsTest.java
@@ -21,10 +21,8 @@ package com.woorea.openstack.keystone.utils;
import com.woorea.openstack.keystone.model.Access.Service;
import org.junit.Test;
-
import java.util.Arrays;
import java.util.List;
-
import static org.junit.Assert.*;
public class KeystoneUtilsTest {
@@ -35,4 +33,4 @@ public class KeystoneUtilsTest {
KeystoneUtils.findEndpointURL(services, "type", "region", "facing");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/KeystoneTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/KeystoneTest.java
index 0be1a9e..a8e5dee 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/KeystoneTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/KeystoneTest.java
@@ -23,7 +23,6 @@ import com.woorea.openstack.base.client.OpenStackClientConnector;
import com.woorea.openstack.base.client.OpenStackRequest;
import com.woorea.openstack.base.client.OpenStackResponse;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class KeystoneTest {
@@ -70,4 +69,4 @@ public class KeystoneTest {
keystone.endpoints();
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/DomainsResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/DomainsResourceTest.java
index 1ba5b4f..0f83a4f 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/DomainsResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/DomainsResourceTest.java
@@ -35,4 +35,4 @@ public class DomainsResourceTest {
domainsResource.groupRoles("test", "test");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GenericResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GenericResourceTest.java
index 4cd1959..75e8bd5 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GenericResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GenericResourceTest.java
@@ -22,7 +22,6 @@ package com.woorea.openstack.keystone.v3.api;
import com.woorea.openstack.keystone.v3.model.User;
import com.woorea.openstack.keystone.v3.model.Users;
import org.junit.Test;
-
import static org.junit.Assert.*;
public class GenericResourceTest {
@@ -54,4 +53,4 @@ public class GenericResourceTest {
genericResource.delete("123");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GroupsResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GroupsResourceTest.java
index 8864758..8ce7cd3 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GroupsResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/GroupsResourceTest.java
@@ -30,4 +30,4 @@ public class GroupsResourceTest {
groupsResource.userRoles("test", "test");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectGroupRolesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectGroupRolesResourceTest.java
index dda74d2..58dfeab 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectGroupRolesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectGroupRolesResourceTest.java
@@ -46,4 +46,4 @@ public class ProjectGroupRolesResourceTest {
projectGroupRolesResource.delete("test");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResourceTest.java
index b529579..4b0d70e 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectRolesResourceTest.java
@@ -35,4 +35,4 @@ public class ProjectRolesResourceTest {
projectRolesResource.remove("test");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectUserRolesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectUserRolesResourceTest.java
index e0aed69..23518a2 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectUserRolesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectUserRolesResourceTest.java
@@ -35,4 +35,4 @@ public class ProjectUserRolesResourceTest {
projectUserRolesResource.remove("roleid");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectsResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectsResourceTest.java
index 8759ed3..2e6cb67 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectsResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/ProjectsResourceTest.java
@@ -40,4 +40,4 @@ public class ProjectsResourceTest {
projectsResource.groupRoles("pid", "gid");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/RolesResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/RolesResourceTest.java
index c45e2ed..a8b0ee9 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/RolesResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/RolesResourceTest.java
@@ -30,4 +30,4 @@ public class RolesResourceTest {
rolesResource.users("domainid", "userid");
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/TokensResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/TokensResourceTest.java
index d06c823..ddcfc6c 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/TokensResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/TokensResourceTest.java
@@ -36,4 +36,4 @@ public class TokensResourceTest {
tokensResource.show();
}
-} \ No newline at end of file
+}
diff --git a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/UsersResourceTest.java b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/UsersResourceTest.java
index 2c64f06..247101c 100644
--- a/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/UsersResourceTest.java
+++ b/keystone-client/src/test/java/com/woorea/openstack/keystone/v3/api/UsersResourceTest.java
@@ -40,4 +40,4 @@ public class UsersResourceTest {
usersResource.roles("uid");
}
-} \ No newline at end of file
+}