From 4eccd20d1f132abc562fb04c8ef11dd2a4975775 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

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

diff --git a/opends/tests/functional-tests/shared/functions/utils.xml b/opends/tests/functional-tests/shared/functions/utils.xml
index 483be70..dcc8e2c 100755
--- a/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/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