initial version of support project with build support.
[utils] / test / org / wamblee / test / TestTransactionCallbackWithoutResult.java
diff --git a/test/org/wamblee/test/TestTransactionCallbackWithoutResult.java b/test/org/wamblee/test/TestTransactionCallbackWithoutResult.java
new file mode 100644 (file)
index 0000000..05a2357
--- /dev/null
@@ -0,0 +1,16 @@
+
+package org.wamblee.test;
+
+
+/**
+ * Transaction callback for testing.
+ * The test will fail if any type of exception is thrown.
+ */
+public interface TestTransactionCallbackWithoutResult {
+    /**
+     * Executes code within a transaction, causing the testcase to fail if any
+     * type of exception is thrown.
+     *
+     */
+    void execute(  ) throws Exception;
+}