summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Campo2008-02-29 06:42:58 (EST)
committerChristian Campo2008-02-29 06:42:58 (EST)
commita5f1f907e2a4819c7ff24e7b578ff48dea7f35ab (patch)
tree8068a750b8b98a6ed178bb45f0577a863e2948cd
parent177263cae4c132f2b8344cbd437a2fb4735cb8ca (diff)
downloadorg.eclipse.riena-a5f1f907e2a4819c7ff24e7b578ff48dea7f35ab.zip
org.eclipse.riena-a5f1f907e2a4819c7ff24e7b578ff48dea7f35ab.tar.gz
org.eclipse.riena-a5f1f907e2a4819c7ff24e7b578ff48dea7f35ab.tar.bz2
restructure ObjectTransaction tests, add AllTests
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/AllTests.java (renamed from org.eclipse.riena.tests/src/org/eclipse/riena/tests/AllTests.java)3
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/AllTests.java46
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionInterfTest.java (renamed from org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionTest.java)2
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousNoRegTest.java (renamed from org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousTest.java)2
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionSimpleTest.java (renamed from org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionTest.java)2
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousSimpleTest.java (renamed from org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousTest.java)2
6 files changed, 52 insertions, 5 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/tests/AllTests.java b/org.eclipse.riena.tests/src/org/eclipse/riena/AllTests.java
index a2b1e95..ab734c0 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/tests/AllTests.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/AllTests.java
@@ -8,7 +8,7 @@
* Contributors:
* compeople AG - initial API and implementation
*******************************************************************************/
-package org.eclipse.riena.tests;
+package org.eclipse.riena;
import junit.framework.Test;
import junit.framework.TestCase;
@@ -24,6 +24,7 @@ public class AllTests extends TestCase {
suite.addTest(org.eclipse.riena.core.AllTests.suite());
suite.addTest(org.eclipse.riena.exceptionmanager.AllTests.suite());
suite.addTest(org.eclipse.riena.security.AllTests.suite());
+ suite.addTest(org.eclipse.riena.objecttransaction.AllTests.suite());
return suite;
}
}
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/AllTests.java b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/AllTests.java
new file mode 100644
index 0000000..7bf7bb2
--- /dev/null
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/AllTests.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2007 compeople AG and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.riena.objecttransaction;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.eclipse.riena.objecttransaction.interf.ObjectTransactionInterfTest;
+import org.eclipse.riena.objecttransaction.list.ObjectTransactionListTest;
+import org.eclipse.riena.objecttransaction.noreg.ObjectTransactionVariousNoRegTest;
+import org.eclipse.riena.objecttransaction.noreg.ObjectTransactionWithoutTransactionTest;
+import org.eclipse.riena.objecttransaction.simple.ObjectTransactionDisallowRegisterTest;
+import org.eclipse.riena.objecttransaction.simple.ObjectTransactionSimpleTest;
+import org.eclipse.riena.objecttransaction.simple.ObjectTransactionVariousSimpleTest;
+import org.eclipse.riena.objecttransaction.simple.StateMachineTest;
+
+/**
+ * Tests all test cases within package:
+ *
+ * org.eclipse.riena.exceptionmanager.test.internal
+ */
+public class AllTests extends TestCase {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite(AllTests.class.getName());
+ suite.addTestSuite(ObjectTransactionInterfTest.class);
+ suite.addTestSuite(ObjectTransactionListTest.class);
+ suite.addTestSuite(ObjectTransactionVariousNoRegTest.class);
+ suite.addTestSuite(ObjectTransactionWithoutTransactionTest.class);
+ suite.addTestSuite(ObjectTransactionDisallowRegisterTest.class);
+ suite.addTestSuite(ObjectTransactionSimpleTest.class);
+ suite.addTestSuite(ObjectTransactionVariousSimpleTest.class);
+ suite.addTestSuite(StateMachineTest.class);
+ return suite;
+ }
+
+}
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionInterfTest.java
index 96edc6f..9c89e30 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/interf/ObjectTransactionInterfTest.java
@@ -17,7 +17,7 @@ import org.eclipse.riena.tests.RienaTestCase;
*
* @author Christian Campo
*/
-public class ObjectTransactionTest extends RienaTestCase {
+public class ObjectTransactionInterfTest extends RienaTestCase {
public void setUp() throws Exception {
super.setUp();
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousNoRegTest.java
index 4b06bf8..8c39535 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/noreg/ObjectTransactionVariousNoRegTest.java
@@ -10,7 +10,7 @@ import org.eclipse.riena.tests.RienaTestCase;
*
* @author Christian Campo
*/
-public class ObjectTransactionVariousTest extends RienaTestCase {
+public class ObjectTransactionVariousNoRegTest extends RienaTestCase {
public void setUp() throws Exception {
super.setUp();
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionSimpleTest.java
index 2bb745e..7af65da 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionSimpleTest.java
@@ -15,7 +15,7 @@ import org.eclipse.riena.tests.RienaTestCase;
*
* @author Christian Campo
*/
-public class ObjectTransactionTest extends RienaTestCase {
+public class ObjectTransactionSimpleTest extends RienaTestCase {
public void setUp() throws Exception {
super.setUp();
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousSimpleTest.java
index 6f5adec..fcbabde 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/objecttransaction/simple/ObjectTransactionVariousSimpleTest.java
@@ -17,7 +17,7 @@ import org.eclipse.riena.tests.RienaTestCase;
*
* @author Christian Campo
*/
-public class ObjectTransactionVariousTest extends RienaTestCase {
+public class ObjectTransactionVariousSimpleTest extends RienaTestCase {
public void setUp() throws Exception {
super.setUp();