Home | History | Annotate | only in /external/parameter-framework/upstream/test/test-platform
Up to higher level directory
NameDateSize
CMakeLists.txt21-Aug-20181.9K
main.cpp21-Aug-20183.7K
README.md21-Aug-20181K
TestPlatform.cpp21-Aug-201817K
TestPlatform.h21-Aug-20187.5K

README.md

      1 # test-platform
      2 
      3 Test-platform is a little executable that can instantiate a parameter-framework
      4 with custom criteria and full control over criteria states.  It also serves
      5 as an example of a parameter-framework client.
      6 
      7 It offers the possibility to :
      8 
      9 - Give the parameter-framework configuration xml
     10 - Create criteria from a name, a type (exclusive or inclusive), states (the
     11   state number or a state name list)
     12 - Start a parameter-framework instance
     13 - Change criteria states and apply configurations
     14 
     15 ## Usage
     16 
     17 Start it with:
     18 
     19     test-platform [-d] </path/to/ParameterFrameworkConfiguration.xml> [port, defaults to 5001]
     20 
     21 (The optional `-d` option daemonizes test-platform).
     22 
     23 Then, you may send commands to the test-platform using remote-process; e.g:
     24 
     25     remote-process localhost 5001 help
     26     remote-process localhost 5001 start
     27 
     28 ## Known issues
     29 
     30 - The path to the configuration file must contain at least a `/`.  Thus, if you
     31 want to refer to a file in the current directory, you should write:
     32 
     33     test-platform ./ParameterFrameworkConfiguration.xml
     34