Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2014-04-01 13:34:55 -0400
committerRyan D. Brooks2014-04-01 13:34:55 -0400
commit3aa4c2bda93bd8b366616b6ec3b4f14741929bb2 (patch)
treeb43b51c7aa55cd56bf63c035d7c8dbc31da53141 /plugins/org.eclipse.osee.x.server.integration.tests
parent0bb1f46ee4e5fa6c9850a9f5e344e36ac8f43cf4 (diff)
downloadorg.eclipse.osee-3aa4c2bda93bd8b366616b6ec3b4f14741929bb2.tar.gz
org.eclipse.osee-3aa4c2bda93bd8b366616b6ec3b4f14741929bb2.tar.xz
org.eclipse.osee-3aa4c2bda93bd8b366616b6ec3b4f14741929bb2.zip
refactor: Rename AccountAccess to AccountSession
Diffstat (limited to 'plugins/org.eclipse.osee.x.server.integration.tests')
-rw-r--r--plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/AccountClientTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/AccountClientTest.java b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/AccountClientTest.java
index 80b55798e1..d8ff687520 100644
--- a/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/AccountClientTest.java
+++ b/plugins/org.eclipse.osee.x.server.integration.tests/src/org/eclipse/osee/x/server/integration/tests/performance/AccountClientTest.java
@@ -19,7 +19,7 @@ import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import org.apache.commons.lang.math.RandomUtils;
import org.eclipse.osee.account.rest.client.AccountClient;
-import org.eclipse.osee.account.rest.model.AccountAccessData;
+import org.eclipse.osee.account.rest.model.AccountSessionDetailsData;
import org.eclipse.osee.account.rest.model.AccountDetailsData;
import org.eclipse.osee.account.rest.model.AccountInfoData;
import org.eclipse.osee.account.rest.model.AccountInput;
@@ -104,7 +104,7 @@ public class AccountClientTest {
assertEquals(accountId, session1.getAccountId());
assertNotNull(session1.getToken());
- AccountAccessData access = client.getAccountAccessDataByUniqueField(email).getExactlyOne();
+ AccountSessionDetailsData access = client.getAccountSessionDataByUniqueField(email).getExactlyOne();
assertEquals(accountId, access.getAccountId());
assertNotNull(access.getAccessDetails());
@@ -118,18 +118,18 @@ public class AccountClientTest {
assertEquals(false, session1.getToken().equals(session2.getToken()));
- ResultSet<AccountAccessData> result = client.getAccountAccessDataByUniqueField(email);
+ ResultSet<AccountSessionDetailsData> result = client.getAccountSessionDataByUniqueField(email);
assertEquals(2, result.size());
- Iterator<AccountAccessData> iterator = result.iterator();
- AccountAccessData access1 = iterator.next();
- AccountAccessData access2 = iterator.next();
+ Iterator<AccountSessionDetailsData> iterator = result.iterator();
+ AccountSessionDetailsData access1 = iterator.next();
+ AccountSessionDetailsData access2 = iterator.next();
assertEquals(accountId, access1.getAccountId());
assertEquals(accountId, access2.getAccountId());
assertEquals(true, client.logout(session1));
assertEquals(true, client.logout(session2));
- ResultSet<AccountAccessData> result2 = client.getAccountAccessDataByUniqueField(email);
+ ResultSet<AccountSessionDetailsData> result2 = client.getAccountSessionDataByUniqueField(email);
assertEquals(true, result2.isEmpty());
}

Back to the top