summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar De Groot2011-04-04 05:10:46 (EDT)
committerCaspar De Groot2011-04-04 05:10:46 (EDT)
commitf2400aa3df9614e5177df7111dd829047530e718 (patch)
treea85f13cc9824fba7bac235a4335c442fae06c360
parent1b86b99641a351d1bf7813e9ed898b5732cf473b (diff)
downloadcdo-f2400aa3df9614e5177df7111dd829047530e718.zip
cdo-f2400aa3df9614e5177df7111dd829047530e718.tar.gz
cdo-f2400aa3df9614e5177df7111dd829047530e718.tar.bz2
[Bug 338894] [DB][Mysql] Exception when CDO is idle for a while
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338894
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/RepositoryTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/RepositoryTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/RepositoryTest.java
index f6cf242..521a036 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/RepositoryTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/RepositoryTest.java
@@ -58,9 +58,9 @@ public class RepositoryTest extends AbstractCDOTest
expected.put("STRING", "Arbitrary text");
InternalStore store = getRepository().getStore();
- store.setPropertyValues(expected);
+ store.setPersistentProperties(expected);
- Map<String, String> actual = store.getPropertyValues(expected.keySet());
+ Map<String, String> actual = store.getPersistentProperties(expected.keySet());
assertEquals(expected, actual);
}
@@ -74,16 +74,16 @@ public class RepositoryTest extends AbstractCDOTest
expected.put("STRING", "Arbitrary text");
InternalStore store = getRepository().getStore();
- store.setPropertyValues(expected);
+ store.setPersistentProperties(expected);
expected.put("BOOLEAN", "false");
expected.put("INTEGER", "555555");
expected.put("LONG", "5555555555555555");
expected.put("DOUBLE", "555555.555555");
expected.put("STRING", "Different text");
- store.setPropertyValues(expected);
+ store.setPersistentProperties(expected);
- Map<String, String> actual = store.getPropertyValues(expected.keySet());
+ Map<String, String> actual = store.getPersistentProperties(expected.keySet());
assertEquals(expected, actual);
}
@@ -97,17 +97,17 @@ public class RepositoryTest extends AbstractCDOTest
expected.put("STRING", "Arbitrary text");
InternalStore store = getRepository().getStore();
- store.setPropertyValues(expected);
+ store.setPersistentProperties(expected);
- Map<String, String> actual = store.getPropertyValues(expected.keySet());
+ Map<String, String> actual = store.getPersistentProperties(expected.keySet());
assertEquals(expected, actual);
Set<String> names = new HashSet<String>(Arrays.asList(new String[] { "INTEGER", "DOUBLE" }));
- store.removePropertyValues(names);
+ store.removePersistentProperties(names);
expected.remove("INTEGER");
expected.remove("DOUBLE");
- actual = store.getPropertyValues(expected.keySet());
+ actual = store.getPersistentProperties(expected.keySet());
assertEquals(expected, actual);
}