... | ... | @@ -19,41 +19,46 @@ Set the *PATH* variable so that the C++ programs are found: |
|
|
$ export PATH=build:$PATH
|
|
|
```
|
|
|
|
|
|
To run all the tests with 10 iterations for each individual test.
|
|
|
Start all the tests with jzmq:
|
|
|
```
|
|
|
$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml all 10
|
|
|
Select *jzmq*:
|
|
|
```
|
|
|
$ export CLASSPATH=jzmq/target/cameo-tests-jzmq-full.jar
|
|
|
```
|
|
|
|
|
|
Or *jeromq*:
|
|
|
```
|
|
|
Start all the tests with jeromq:
|
|
|
$ export CLASSPATH=jeromq/target/cameo-tests-jeromq-full.jar
|
|
|
```
|
|
|
$ java -jar cameo-tests-jeromq/target/cameo-tests-jeromq-full.jar jeromq-api-config.xml all 10
|
|
|
|
|
|
Run all the tests with 10 iterations for each individual test:
|
|
|
```
|
|
|
$ java fr.ill.ics.cameo.TestSelector all 10
|
|
|
```
|
|
|
Start the java tests with jeromq:
|
|
|
Start only the java tests:
|
|
|
```
|
|
|
$ java -jar cameo-tests-jeromq/target/cameo-tests-jeromq-full.jar jeromq-api-config.xml java 10
|
|
|
$ java fr.ill.ics.cameo.TestSelector java 10
|
|
|
```
|
|
|
Start the C++ tests with jzmq:
|
|
|
Start only the C++ tests:
|
|
|
```
|
|
|
$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml cpp 10
|
|
|
$ java fr.ill.ics.cameo.TestSelector cpp 10
|
|
|
```
|
|
|
Display the available tests:
|
|
|
```
|
|
|
$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml
|
|
|
$ java fr.ill.ics.cameo.TestSelector
|
|
|
```
|
|
|
|
|
|
Start a specific test:
|
|
|
```
|
|
|
$ java -jar cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar jzmq-api-config.xml testsimplejava 100
|
|
|
$ java fr.ill.ics.cameo.TestSelector testsimplejava 100
|
|
|
```
|
|
|
|
|
|
Test the Java unmanaged application:
|
|
|
Start the server in a specific shell
|
|
|
```
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.server.Server jzmq-api-config.xml
|
|
|
$ java fr.ill.ics.cameo.server.Server tests.xml
|
|
|
```
|
|
|
Start the application:
|
|
|
```
|
|
|
$ java -classpath cameo-tests-jzmq/target/cameo-tests-jzmq-full.jar fr.ill.ics.cameo.test.Stop "{\"name\":\"stop\", \"server\":\"tcp://localhost:10000\"}"
|
|
|
$ java fr.ill.ics.cameo.test.Stop "{\"name\":\"stop\", \"server\":\"tcp://localhost:10000\"}"
|
|
|
```
|
|
|
|
|
|
Then kill the application manually that should disappear from the list of applications.
|
... | ... | |