Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-04-17 09:24:26 +0000
committerEike Stepper2010-04-17 09:24:26 +0000
commitd50b0f61ebc6dabfd1d256b45ce37172abcc10e6 (patch)
tree660c63f909e3a1ca4c42641859c9b8a745a4778f /plugins
parentd4d3d5279a4b2ef8850f2fb2db687b28491fe82c (diff)
downloadcdo-d50b0f61ebc6dabfd1d256b45ce37172abcc10e6.tar.gz
cdo-d50b0f61ebc6dabfd1d256b45ce37172abcc10e6.tar.xz
cdo-d50b0f61ebc6dabfd1d256b45ce37172abcc10e6.zip
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/FailoverTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/FailoverTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/FailoverTest.java
index 6f40b1d96d..6af0d772ef 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/FailoverTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/FailoverTest.java
@@ -306,10 +306,13 @@ public class FailoverTest extends AbstractSyncingTest
company.setName("Test");
resource.getContents().add(company);
+ transaction.setCommitComment("Company created");
+ transaction.commit();
for (int i = 0; i < 10; i++)
{
company.getCategories().add(getModel1Factory().createCategory());
+ transaction.setCommitComment("Category added");
transaction.commit();
}
@@ -327,6 +330,7 @@ public class FailoverTest extends AbstractSyncingTest
for (int i = 0; i < 10; i++)
{
company.setName("AfterFailover-" + i);
+ transaction.setCommitComment("Name changed after failover");
transaction.commit();
}

Back to the top