From ed784d8f11efed77a7ff34f66e8a77c2610b7f4b Mon Sep 17 00:00:00 2001 From: GIlca Date: Tue, 6 Dec 2022 11:06:04 +0200 Subject: [PATCH] Change property for tests --- .../cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/InputsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/LoopsBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java | 2 +- .../lang/runtime/bindings/ParallelLoopBindingTest.java | 2 +- .../io/cloudslang/lang/runtime/bindings/ResultBindingTest.java | 2 +- .../lang/runtime/bindings/scripts/ScriptEvaluatorTest.java | 2 +- .../java/io/cloudslang/lang/systemtests/SystemsTestsParent.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java index ef79eb45d2..02f8349673 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ArgumentsBindingTest.java @@ -88,7 +88,7 @@ public class ArgumentsBindingTest { PythonExecutionNotCachedEngine.class.getSimpleName()); assertNull("python.executor.engine was configured before this test!!!!!!!", provideralAlreadyConfigured); - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @SuppressWarnings("unchecked") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java index a8a5978ec8..d28862b851 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/InputsBindingTest.java @@ -56,7 +56,7 @@ @ContextConfiguration(classes = InputsBindingTest.Config.class) public class InputsBindingTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @Autowired diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/LoopsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/LoopsBindingTest.java index e4ded8607f..626c8a0a33 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/LoopsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/LoopsBindingTest.java @@ -48,7 +48,7 @@ @RunWith(MockitoJUnitRunner.class) public class LoopsBindingTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @SuppressWarnings("unchecked") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java index f34d6ad787..fd272c1e0c 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/OutputsBindingTest.java @@ -58,7 +58,7 @@ @ContextConfiguration(classes = OutputsBindingTest.Config.class) public class OutputsBindingTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } private static final long DEFAULT_TIMEOUT = 10000; diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ParallelLoopBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ParallelLoopBindingTest.java index cff7b8dec1..646f8629f2 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ParallelLoopBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ParallelLoopBindingTest.java @@ -40,7 +40,7 @@ @RunWith(MockitoJUnitRunner.class) public class ParallelLoopBindingTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @SuppressWarnings("unchecked") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java index e000fcb13a..c06e8fda8c 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/ResultBindingTest.java @@ -55,7 +55,7 @@ @ContextConfiguration(classes = ResultBindingTest.Config.class) public class ResultBindingTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @SuppressWarnings("unchecked") diff --git a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java index dc74a881ab..65889b923d 100644 --- a/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java +++ b/cloudslang-runtime/src/test/java/io/cloudslang/lang/runtime/bindings/scripts/ScriptEvaluatorTest.java @@ -66,7 +66,7 @@ @ContextConfiguration(classes = ScriptEvaluatorTest.Config.class) public class ScriptEvaluatorTest { static { - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } private static String LINE_SEPARATOR = "\n"; diff --git a/cloudslang-tests/src/test/java/io/cloudslang/lang/systemtests/SystemsTestsParent.java b/cloudslang-tests/src/test/java/io/cloudslang/lang/systemtests/SystemsTestsParent.java index 29764f2a97..6f94141ee0 100644 --- a/cloudslang-tests/src/test/java/io/cloudslang/lang/systemtests/SystemsTestsParent.java +++ b/cloudslang-tests/src/test/java/io/cloudslang/lang/systemtests/SystemsTestsParent.java @@ -102,7 +102,7 @@ public abstract class SystemsTestsParent { assertNull("python.executor.engine was configured before this test!!!!!!!", provideralAlreadyConfigured); System.setProperty(CSLANG_RUNTIME_EVENTS_VERBOSITY.getValue(), EventVerbosityLevel.DEFAULT.getValue()); - System.setProperty("use.jython.expressions", "true"); + System.setProperty("python.expressionsEval", "jython"); } @Autowired