Migration to maven almost complete. At least everything builds and works
[utils] / support / src / test / java / org / wamblee / test / TestTransactionCallbackWithoutResult.java
diff --git a/support/src/test/java/org/wamblee/test/TestTransactionCallbackWithoutResult.java b/support/src/test/java/org/wamblee/test/TestTransactionCallbackWithoutResult.java
new file mode 100644 (file)
index 0000000..84e213f
--- /dev/null
@@ -0,0 +1,14 @@
+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;
+}