From 20fc1f465a357700b34edb1d5415432cf840e88d Mon Sep 17 00:00:00 2001
From: smaguin <smaguin@localhost>
Date: Mon, 20 Aug 2007 13:37:17 +0000
Subject: [PATCH] add funtoin to  set the tests status

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

diff --git a/opends/tests/functional-tests/shared/functions/utils.xml b/opends/tests/functional-tests/shared/functions/utils.xml
index 557d0a5..c143f9a 100755
--- a/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opends/tests/functional-tests/shared/functions/utils.xml
@@ -139,6 +139,37 @@
     </sequence>
   </function>
 
+	
+<!-- testisPASS  -->
+<!-- Set the test status to PASS -->	 
+	
+ <function name="testIsPASS">
+    <function-prolog>
+      This function set the status of the tests: PASS
+    </function-prolog>
+
+    <sequence>
+	   <message>'Set test status to PASS'</message>
+       <tcstatus result="'pass'"/>				  
+    </sequence>
+ </function>
+		
+
+<!-- testisFAIL -->
+<!-- Set the test status to  FAIL -->	 
+	
+ <function name="testIsFAIL">
+    <function-prolog>
+      This function set the status of the tests: FAIL
+    </function-prolog>
+
+    <sequence>
+	   <message>'Set test status to FAIL'</message>
+       <tcstatus result="'fail'"/>				  
+    </sequence>
+  </function>
+		
+<!-- checktestString -->	
   <function name="checktestString">
     <function-prolog>
       This function checks the return string against an expected return substring for a testcase
@@ -417,7 +448,6 @@
           <script>
             ldapRC=RC
           </script>
-
           <call function="'Sleep'">
             { 'sleepForMilliSeconds'  : noOfMilliSeconds }
           </call>

--
Gitblit v1.10.0