From 11d864a550eba914f3849bbc71bc298a4c32e4e5 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Mon, 16 Oct 2006 16:19:48 +0000
Subject: [PATCH] functional tests provide functions for test case start and end banners

---
 opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
index 483be70..dcc8e2c 100755
--- a/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opendj-sdk/opends/tests/functional-tests/shared/functions/utils.xml
@@ -232,4 +232,40 @@
 
   </function>
 
+  <function name="testCaseStartBanner">
+  
+    <function-prolog>
+    Pretty prints a banner at the start of a test.
+    </function-prolog>
+    
+    <function-no-args/>
+    
+    <sequence>
+    
+      <message>
+        '### Starting test case %s. ###' % STAXCurrentTestcase
+      </message>
+      
+    </sequence>
+      
+  </function>
+        
+  <function name="testCaseEndBanner">
+        
+    <function-prolog>
+      Pretty prints a banner at the end of a test.
+    </function-prolog>
+        
+    <function-no-args/>
+      
+      <sequence>
+      
+      <message>
+        '### Ending test case %s. ###' % STAXCurrentTestcase
+      </message>
+    
+    </sequence>
+  
+  </function>
+
 </stax>

--
Gitblit v1.10.0