tree: 4b91e31ef97167372a5a49b68b2f355e1e22eee2 [path history] [tgz]
  1. CMakeLists.txt
  2. main.cpp
  3. README.md
  4. TestPlatform.cpp
  5. TestPlatform.h
upstream/test/test-platform/README.md

test-platform

Test-platform is a little executable that can instantiate a parameter-framework with custom criteria and full control over criteria states. It also serves as an example of a parameter-framework client.

It offers the possibility to :

  • Give the parameter-framework configuration xml
  • Create criteria from a name, a type (exclusive or inclusive), states (the state number or a state name list)
  • Start a parameter-framework instance
  • Change criteria states and apply configurations

Usage

Start it with:

test-platform [-d] </path/to/ParameterFrameworkConfiguration.xml> [port, defaults to 5001]

(The optional -d option daemonizes test-platform).

Then, you may send commands to the test-platform using remote-process; e.g:

remote-process localhost 5001 help
remote-process localhost 5001 start

Known issues

  • The path to the configuration file must contain at least a /. Thus, if you want to refer to a file in the current directory, you should write:

    test-platform ./ParameterFrameworkConfiguration.xml