From 694f29b025f9f4adc657ceba572b3188c5500787 Mon Sep 17 00:00:00 2001
From: ugaston <ugaston@localhost>
Date: Fri, 18 May 2007 10:49:53 +0000
Subject: [PATCH] Setting execution granularity at Suite level: Part 3

---
 opends/tests/functional-tests/testcases/backends/import.xml |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/opends/tests/functional-tests/testcases/backends/import.xml b/opends/tests/functional-tests/testcases/backends/import.xml
index 1f0f943..a17f609 100644
--- a/opends/tests/functional-tests/testcases/backends/import.xml
+++ b/opends/tests/functional-tests/testcases/backends/import.xml
@@ -39,6 +39,8 @@
         <sequence>
   
           <script>
+            if not CurrentTestPath.has_key('group'):
+              CurrentTestPath['group']='backends'						  
             CurrentTestPath['suite']=STAXCurrentBlock
           </script>
                       
@@ -53,7 +55,13 @@
           #@TestScript          import.xml
           #@TestHTMLLink        http://opends.dev.java.net/
           -->
-     
+
+
+          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+            file="'%s/testcases/backends/backend_setup.xml' % (TESTS_DIR)"/>
+          <call function="'backend_setup'"> { 'startDS' : False } </call>
+				
+						     
           <!--- Test Case information
           #@TestMarker          Backend Import Tests
           #@TestName            Backend: Import: LDIF Default
@@ -1190,7 +1198,14 @@
           -->
     
           <!-- Need to know what the error codes are -->
-    
+
+			
+
+          <import machine="'%s' % (STAF_LOCAL_HOSTNAME)"
+            file="'%s/testcases/backends/backend_cleanup.xml' % (TESTS_DIR)"/>
+          <call function="'backend_cleanup'"> { 'stopDS' : False } </call>			  	
+			
+						    
           <call function="'testSuite_Postamble'"/>
   
         </sequence>

--
Gitblit v1.10.0