Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2013-10-14 17:10:55 -0400
committerGerrit Code Review @ Eclipse.org2013-10-16 13:29:23 -0400
commit444058deb46104aecb7e50cff1bbe02166628458 (patch)
treec62dec99bc0d03f057c651b59e60bd01988c3e2e /plugins/org.eclipse.osee.orcs.core.test
parent62a3f7d4d4753d6cc0e7a14406c7edbba8f5384f (diff)
downloadorg.eclipse.osee-444058deb46104aecb7e50cff1bbe02166628458.tar.gz
org.eclipse.osee-444058deb46104aecb7e50cff1bbe02166628458.tar.xz
org.eclipse.osee-444058deb46104aecb7e50cff1bbe02166628458.zip
refactor: Remove includeCache option from query API
Diffstat (limited to 'plugins/org.eclipse.osee.orcs.core.test')
-rw-r--r--plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/ds/OptionsUtilTest.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/ds/OptionsUtilTest.java b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/ds/OptionsUtilTest.java
index d1f27ec328..ac9a209682 100644
--- a/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/ds/OptionsUtilTest.java
+++ b/plugins/org.eclipse.osee.orcs.core.test/src/org/eclipse/osee/orcs/core/ds/OptionsUtilTest.java
@@ -39,7 +39,6 @@ public class OptionsUtilTest {
assertEquals(LoadLevel.SHALLOW, OptionsUtil.getLoadLevel(defaults));
assertEquals(false, OptionsUtil.areDeletedIncluded(defaults));
- assertEquals(false, OptionsUtil.isCacheIncluded(defaults));
assertEquals(true, OptionsUtil.isHeadTransaction(defaults));
assertEquals(false, OptionsUtil.isHistorical(defaults));
}
@@ -84,26 +83,15 @@ public class OptionsUtilTest {
}
@Test
- public void testSetGetIncludeCache() {
- assertEquals(false, OptionsUtil.isCacheIncluded(options));
-
- OptionsUtil.setIncludeCache(options, true);
-
- assertEquals(true, OptionsUtil.isCacheIncluded(options));
- }
-
- @Test
public void testReset() {
OptionsUtil.setFromTransaction(options, 1231);
OptionsUtil.setLoadLevel(options, LoadLevel.ATTRIBUTE);
OptionsUtil.setIncludeDeleted(options, true);
- OptionsUtil.setIncludeCache(options, true);
assertEquals(1231, OptionsUtil.getFromTransaction(options));
assertEquals(DeletionFlag.INCLUDE_DELETED, OptionsUtil.getIncludeDeleted(options));
assertEquals(LoadLevel.ATTRIBUTE, OptionsUtil.getLoadLevel(options));
assertEquals(true, OptionsUtil.areDeletedIncluded(options));
- assertEquals(true, OptionsUtil.isCacheIncluded(options));
assertEquals(false, OptionsUtil.isHeadTransaction(options));
assertEquals(true, OptionsUtil.isHistorical(options));
@@ -113,7 +101,6 @@ public class OptionsUtilTest {
assertEquals(DeletionFlag.EXCLUDE_DELETED, OptionsUtil.getIncludeDeleted(options));
assertEquals(LoadLevel.SHALLOW, OptionsUtil.getLoadLevel(options));
assertEquals(false, OptionsUtil.areDeletedIncluded(options));
- assertEquals(false, OptionsUtil.isCacheIncluded(options));
assertEquals(true, OptionsUtil.isHeadTransaction(options));
assertEquals(false, OptionsUtil.isHistorical(options));
}

Back to the top