]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Use stepRef instead of step bean name.
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 6 Oct 2008 06:55:51 +0000 (06:55 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 6 Oct 2008 06:55:51 +0000 (06:55 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1716 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.agent/src/main/java/org/argeo/slc/lib/detached/DetachedTestDefinition.java

index 7039420d702e5d22396229a8730c3b0cac7a5a31..af392f2b78ce930d871bdfc7cb66ddd41cdb9084 100644 (file)
@@ -40,12 +40,12 @@ public class DetachedTestDefinition extends TreeSRelatedHelper implements
        // Spring properties
        private String testDefBeanName = null;
        private BeanDefinitionRegistry beanDefinitionRegistry = null;
-       private String stepBeanName = null;
+       private String stepRef = null;
 
        public void execute(TestRun testRun) {
                // Look for step bean name
                String stepBeanNameT = null;
-               if (this.stepBeanName == null && step != null) {
+               if (this.stepRef == null && step != null) {
                        if (step instanceof UiStep) {
                                stepBeanNameT = ((UiStep) step).getBeanName();
                        } else {
@@ -58,8 +58,8 @@ public class DetachedTestDefinition extends TreeSRelatedHelper implements
                                BeanReference ref = (BeanReference) stepBeanRef;
                                stepBeanNameT = ref.getBeanName();
                        }
-               } else if (this.stepBeanName != null) {
-                       stepBeanNameT = this.stepBeanName;
+               } else if (this.stepRef != null) {
+                       stepBeanNameT = this.stepRef;
                }
 
                // Execute
@@ -136,8 +136,8 @@ public class DetachedTestDefinition extends TreeSRelatedHelper implements
                this.client = client;
        }
 
-       public void setStepBeanName(String stepBeanName) {
-               this.stepBeanName = stepBeanName;
+       public void setStepRef(String stepBeanName) {
+               this.stepRef = stepBeanName;
        }
 
 }