ctkCmdLineModuleTestBed.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <executable>
  3. <category>Testing</category>
  4. <title>Test Bed</title>
  5. <description>
  6. Configurable behaviour for testing purposes.
  7. </description>
  8. <version>1.0</version>
  9. <documentation-url></documentation-url>
  10. <license></license>
  11. <contributor>Sascha Zelzer</contributor>
  12. <parameters>
  13. <label>Runtime behaviour</label>
  14. <description>Configures the runtime behaviour of this module.</description>
  15. <integer>
  16. <name>runtimeVar</name>
  17. <longflag>runtime</longflag>
  18. <description>An integer without constraints</description>
  19. <label>Runtime (seconds)</label>
  20. <default>1</default>
  21. <constraints>
  22. <minimum>0</minimum>
  23. <maximum>60</maximum>
  24. <step>1</step>
  25. </constraints>
  26. </integer>
  27. <file multiple="true">
  28. <name>fileVar</name>
  29. <index>0</index>
  30. <description>Output files which will be reported as the progress text via a QFutureWatcher.</description>
  31. <label>Output</label>
  32. <channel>output</channel>
  33. </file>
  34. <integer>
  35. <name>exitTimeVar</name>
  36. <longflag>exitTime</longflag>
  37. <description>The exit time of the module (premature finish).</description>
  38. <label>Exit time</label>
  39. <default>0</default>
  40. </integer>
  41. <integer>
  42. <name>exitCodeVar</name>
  43. <longflag>exitCode</longflag>
  44. <description>The exit code of the module.</description>
  45. <label>Exit code</label>
  46. <default>0</default>
  47. </integer>
  48. <string>
  49. <name>errorTextVar</name>
  50. <longflag>errorText</longflag>
  51. <description>Final error message (not displayed if the exit code is 0).</description>
  52. <label>Error text</label>
  53. </string>
  54. </parameters>
  55. </executable>