test/org/da/
package[1]
test/org/da/pythonRuntime.properties
file.python24=C:/Program Files (x86)/Python24/python.exe python27=L:/WRK/Python27/python.exe python35=L:/WRK/Python35/python.exe
testutils
source root to the test resources directory, you must run the deploy Tests
targets in the ant build.xml
file.
PythonRuntimeSetter
Java utility class, which is present in the test directory, allows to update these properties depending on the Python runtimes present on the development PC. The pythonRuntime.properties
properties file defines the path for the various Python runtimes, for example:python24=C:/Program Files (x86)/Python24/python.exe python27=L:/WRK/Python27/python.exe python35=L:/WRK/Python35/python.exe
PythonModulesSetter
Java utility class, which is present in the test directory, allows to update the Python library in all Unit Tests using these scripts after they have been modified in the Browser source.
Version
manifest property.CheckModulesVersion
Java utility class checks if:Version
manifest propertyVersion
manifest property value is equal to the version
specified for the module project properties used to produce the zip filesmodules.xml
XML file specifying the current modules is located in the same directory as the CheckModulesVersion
source code.
<modules> ... <module path="ScenarioEngine" properties="org/da/protoframework/scenario/scenario.properties"> <manifest path="manifest.mf" /> </module> <module path="UAApplication" properties="core/org/da/protoframework/uaappli/resources/uaappli.properties"> <manifest path="core/manifest.mf" /> </module> <module path="userInput" properties="org/da/protoframework/userinput/resources/userinputs.properties"> <manifest path="manifest.mf" /> </module> </modules>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence