Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2016-03-20 16:18:00 -0400
committerRyan D. Brooks2016-03-20 16:18:00 -0400
commite32808ee6889bab4a670eff4a5099b57a6a4ff9f (patch)
tree527f3bcb49249955c1902c4ff2276b8383fd2f65 /plugins/org.eclipse.osee.orcs.db.test
parent6a06492b77f5147d712462432f5bab83923e4f49 (diff)
downloadorg.eclipse.osee-e32808ee6889bab4a670eff4a5099b57a6a4ff9f.tar.gz
org.eclipse.osee-e32808ee6889bab4a670eff4a5099b57a6a4ff9f.tar.xz
org.eclipse.osee-e32808ee6889bab4a670eff4a5099b57a6a4ff9f.zip
refinement: Consolidate osee.application.server constants
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.db.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/intergration/OseeInfoDataAccessorTest.java4
-rw-r--r--plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/resource/AttributeProviderTest.java7
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/intergration/OseeInfoDataAccessorTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/intergration/OseeInfoDataAccessorTest.java
index c7057f27bc..0460b0fe86 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/intergration/OseeInfoDataAccessorTest.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/intergration/OseeInfoDataAccessorTest.java
@@ -10,12 +10,12 @@
*******************************************************************************/
package org.eclipse.osee.orcs.db.intergration;
+import org.eclipse.osee.framework.core.data.OseeClient;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.type.OseeStateException;
import org.eclipse.osee.orcs.core.ds.DataStoreConstants;
import org.eclipse.osee.orcs.db.internal.SqlProvider;
import org.eclipse.osee.orcs.db.internal.accessor.OseeInfoDataAccessor;
-import org.eclipse.osee.orcs.db.internal.resource.ResourceConstants;
import org.eclipse.osee.orcs.db.mocks.MockLog;
/**
@@ -30,7 +30,7 @@ public class OseeInfoDataAccessorTest {
OseeInfoDataAccessor accessor = new OseeInfoDataAccessor();
accessor.setLogger(new MockLog());
- accessor.putValue(ResourceConstants.BINARY_DATA_PATH, "dummy");
+ accessor.putValue(OseeClient.OSEE_APPLICATION_SERVER_DATA, "dummy");
}
@org.junit.Test(expected = OseeStateException.class)
diff --git a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/resource/AttributeProviderTest.java b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/resource/AttributeProviderTest.java
index 031e58b9fd..b950b88f46 100644
--- a/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/resource/AttributeProviderTest.java
+++ b/plugins/org.eclipse.osee.orcs.db.test/src/org/eclipse/osee/orcs/db/internal/resource/AttributeProviderTest.java
@@ -19,6 +19,7 @@ import java.net.URI;
import java.net.URISyntaxException;
import java.util.Arrays;
import java.util.Collection;
+import org.eclipse.osee.framework.core.data.OseeClient;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.type.PropertyStore;
import org.eclipse.osee.framework.jdk.core.util.Lib;
@@ -38,7 +39,7 @@ import org.junit.rules.TemporaryFolder;
/**
* Test Case for {@link AttributeProvider}
- *
+ *
* @author Roberto E. Escobar
*/
public class AttributeProviderTest {
@@ -79,7 +80,7 @@ public class AttributeProviderTest {
MockSystemPreferences preferences = new MockSystemPreferences() {
@Override
public String getValue(String key) {
- Assert.assertEquals(ResourceConstants.BINARY_DATA_PATH, key);
+ Assert.assertEquals(OseeClient.OSEE_APPLICATION_SERVER_DATA, key);
return null;
}
};
@@ -97,7 +98,7 @@ public class AttributeProviderTest {
SystemPreferences preferences = new MockSystemPreferences() {
@Override
public String getValue(String key) {
- Assert.assertEquals(ResourceConstants.BINARY_DATA_PATH, key);
+ Assert.assertEquals(OseeClient.OSEE_APPLICATION_SERVER_DATA, key);
return folder.getRoot().getAbsolutePath();
}
};

Back to the top