tree: bd92cde1f7341541f59dd9fc5a695a8f47e4210e [path history] [tgz]
  1. Android.mk
  2. CMakeLists.txt
  3. main.cpp
  4. README.md
  5. TestPlatform.cpp
  6. TestPlatform.h
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