From 86a33ff057d3cd431113a99e82747ceba527a739 Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 18 Jan 2003 14:11:26 +0000 Subject: [PATCH] Initial revision. Unit tests for document transaction type --- tests/documentmanagement/documentTransactions.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+), 0 deletions(-) create mode 100644 tests/documentmanagement/documentTransactions.php diff --git a/tests/documentmanagement/documentTransactions.php b/tests/documentmanagement/documentTransactions.php new file mode 100644 index 0000000..719e8b4 --- /dev/null +++ b/tests/documentmanagement/documentTransactions.php @@ -0,0 +1,20 @@ +owl_fs_root/lib/documentmanagement/Document.inc"); + require_once("$default->owl_fs_root/lib/documentmanagement/DocumentTransaction.inc"); + require_once("$default->owl_fs_root/lib/foldermanagement/FolderLib.inc"); + require_once("$default->owl_fs_root/lib/foldermanagement/FolderManager.inc"); + + $oDocTransaction = & new DocumentTransaction(11, 'Test transaction', 1); + echo "DB create successful? " . ($oDocTransaction->create() ? "Yes" : "No"); +} +?> -- libgit2 0.21.4