]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/SimpleTestRun.java
New runtime working end to end
[gpl/argeo-slc.git] / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / SimpleTestRun.java
index e2ab043cfc7a209c189b4e2e432ce4cd0d1e3c9d..bbe5b215cc332d5bfec88249552a4a56002738ac 100644 (file)
@@ -86,10 +86,12 @@ public class SimpleTestRun implements WritableTestRun, ExecutableTestRun {
        }\r
 \r
        public void notifySlcExecution(SlcExecution slcExecution) {\r
-               slcExecutionUuid = slcExecution.getUuid();\r
-               SlcExecutionStep step = slcExecution.currentStep();\r
-               if (step != null) {\r
-                       slcExecutionStepUuid = step.getUuid();\r
+               if (slcExecution != null) {\r
+                       slcExecutionUuid = slcExecution.getUuid();\r
+                       SlcExecutionStep step = slcExecution.currentStep();\r
+                       if (step != null) {\r
+                               slcExecutionStepUuid = step.getUuid();\r
+                       }\r
                }\r
        }\r
 \r